On 24.11.2023 11:30, Oleksii Kurochko wrote: > Signed-off-by: Oleksii Kurochko <[email protected]>
Acked-by: Jan Beulich <[email protected]> I wonder though ... > --- a/xen/arch/riscv/include/asm/page.h > +++ b/xen/arch/riscv/include/asm/page.h > @@ -6,6 +6,7 @@ > #ifndef __ASSEMBLY__ > > #include <xen/const.h> > +#include <xen/bug.h> > #include <xen/types.h> > > #include <asm/mm.h> > @@ -32,6 +33,9 @@ > #define PTE_LEAF_DEFAULT (PTE_VALID | PTE_READABLE | PTE_WRITABLE) > #define PTE_TABLE (PTE_VALID) > > +/* TODO */ > +#define PAGE_HYPERVISOR 0 ... whether this couldn't be defined properly right away. Jan
