Re: [Xen-devel] [RFC 11/22] xen/arm: p2m: Introduce p2m_get_root_pointer and use it in __p2m_lookup

2016-08-22 Thread Stefano Stabellini
On Thu, 28 Jul 2016, Julien Grall wrote: > Mapping the root table is always done the same way. To avoid duplicating > the code in a later patch, move the code in a separate helper. > > Signed-off-by: Julien Grall Reviewed-by: Stefano Stabellini >

[Xen-devel] [RFC 11/22] xen/arm: p2m: Introduce p2m_get_root_pointer and use it in __p2m_lookup

2016-07-28 Thread Julien Grall
Mapping the root table is always done the same way. To avoid duplicating the code in a later patch, move the code in a separate helper. Signed-off-by: Julien Grall --- xen/arch/arm/p2m.c | 53 +++-- 1 file changed, 35