diff options
author | Julien Grall <julien.grall@citrix.com> | 2015-05-04 15:47:16 +0100 |
---|---|---|
committer | David Vrabel <david.vrabel@citrix.com> | 2015-10-23 14:20:33 +0100 |
commit | 1084b1988d22dc165c9dbbc2b0e057f9248ac4db (patch) | |
tree | 3418ab965863bec947d8abbf56fb2af20f90f558 /drivers/xen | |
parent | 5031612b5eaf15cb6471c6e936a515090810c8f1 (diff) |
xen: Add Xen specific page definition
The Xen hypercall interface is always using 4K page granularity on ARM
and x86 architecture.
With the incoming support of 64K page granularity for ARM64 guest, it
won't be possible to re-use the Linux page definition in Xen drivers.
Introduce Xen page definition helpers based on the Linux page
definition. They have exactly the same name but prefixed with
XEN_/xen_ prefix.
Also modify xen_page_to_gfn to use new Xen page definition.
Signed-off-by: Julien Grall <julien.grall@citrix.com>
Reviewed-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers/xen')
0 files changed, 0 insertions, 0 deletions