On 30.05.2025 15:17, Sergii Dmytruk wrote: > --- a/xen/arch/x86/include/asm/mm.h > +++ b/xen/arch/x86/include/asm/mm.h > @@ -106,6 +106,9 @@ > #define _PGC_need_scrub _PGC_allocated > #define PGC_need_scrub PGC_allocated > > +/* How much of the directmap is prebuilt at compile time. */ > +#define PREBUILT_MAP_LIMIT (1 << L2_PAGETABLE_SHIFT)
Oh, also - I don't think mm.h is a good place for this. Please consider putting into setup.h. Jan