Re: [PATCH v3 1/2] xen/arm: Add macro XEN_VM_MAPPING

2023-09-14 Thread Julien Grall
Hi, On 14/09/2023 03:17, Leo Yan wrote: Xen maps the virtual memory space starting from L0 slot 4, so it's open coded for macros with the offset '4'. For more readable, add a new macro XEN_VM_MAPPING which defines the start slot for Xen virtual memory mapping, and all virtual memory regions are

[PATCH v3 1/2] xen/arm: Add macro XEN_VM_MAPPING

2023-09-13 Thread Leo Yan
Xen maps the virtual memory space starting from L0 slot 4, so it's open coded for macros with the offset '4'. For more readable, add a new macro XEN_VM_MAPPING which defines the start slot for Xen virtual memory mapping, and all virtual memory regions are defined based on it. Signed-off-by: Leo Y