[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH 11/22] x86: add a boot option to enable and disable the direct map
Hi Stefano, On 23/01/2023 21:45, Stefano Stabellini wrote: diff --git a/xen/arch/arm/include/asm/mm.h b/xen/arch/arm/include/asm/mm.h index 68adcac9fa8d..2366928d71aa 100644 --- a/xen/arch/arm/include/asm/mm.h +++ b/xen/arch/arm/include/asm/mm.h @@ -406,6 +406,11 @@ static inline void page_set_xenheap_gfn(struct page_info *p, gfn_t gfn) } while ( (y = cmpxchg(&p->u.inuse.type_info, x, nx)) != x ); }+static inline bool arch_has_directmap(void)+{ + return true;Shoudn't arch_has_directmap return false for arm32? We still have a directmap on Arm32, but it only covers the xenheap. Cheers, -- Julien Grall
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |