[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v3 18/39] xen/riscv: implement trap redirection to a guest



> [ ... 54 lines skipped ... ]
> @@ -107,6 +107,11 @@
>  #define SIP_SSIP                     MIP_SSIP
>  #define SIP_STIP                     MIP_STIP
>  
> +/* stvec/vstvec: MODE is bits [1:0], BASE is bits [XLEN-1:2] */
> +#define STVEC_MODE_MASK              _UL(0x3)
> +#define STVEC_MODE_DIRECT            _UL(0x0)
> +#define STVEC_MODE_VECTORED          _UL(0x1)

Nit: STVEC_MODE_MASK needs a third tab for its value to line up with the
other two (and with the surrounding #define-s).

-- 
Baptiste Le Duc <baptiste.le-duc@xxxxxxxxxx>



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.