Re: [PATCH v1 08/14] xen/riscv: introduce decode_cause() stuff

2023-01-23 Thread Andrew Cooper
On 20/01/2023 2:59 pm, Oleksii Kurochko wrote: > diff --git a/xen/arch/riscv/traps.c b/xen/arch/riscv/traps.c > index 3201b851ef..dd64f053a5 100644 > --- a/xen/arch/riscv/traps.c > +++ b/xen/arch/riscv/traps.c > @@ -4,8 +4,96 @@ > * > * RISC-V Trap handlers > */ > +#include > +#include > #

Re: [PATCH v1 08/14] xen/riscv: introduce decode_cause() stuff

2023-01-22 Thread Alistair Francis
On Sat, Jan 21, 2023 at 1:00 AM Oleksii Kurochko wrote: > > The patch introduces stuff needed to decode a reason of an > exception. > > Signed-off-by: Oleksii Kurochko Reviewed-by: Alistair Francis Alistair > --- > xen/arch/riscv/traps.c | 88 ++ > 1 f

[PATCH v1 08/14] xen/riscv: introduce decode_cause() stuff

2023-01-20 Thread Oleksii Kurochko
The patch introduces stuff needed to decode a reason of an exception. Signed-off-by: Oleksii Kurochko --- xen/arch/riscv/traps.c | 88 ++ 1 file changed, 88 insertions(+) diff --git a/xen/arch/riscv/traps.c b/xen/arch/riscv/traps.c index 3201b851ef..dd64f