[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [XenPPC] [linux-ppc-2.6] [POWERPC][LINUX] add DOM0_ALLOC_REAL_MODE_AREA support
# HG changeset patch # User Hollis Blanchard <hollisb@xxxxxxxxxx> # Node ID 199b457c43256143561ea7943d40ce72713c73b0 # Parent 0d5ea02d3a16266ea8b69ae1930d15a61f408f94 [POWERPC][LINUX] add DOM0_ALLOC_REAL_MODE_AREA support - no xencomm munging needed - update dom0_ops.h Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx> --- arch/powerpc/platforms/xen/hcall.c | 1 + include/xen/interface/dom0_ops.h | 9 +++++++++ 2 files changed, 10 insertions(+) diff -r 0d5ea02d3a16 -r 199b457c4325 arch/powerpc/platforms/xen/hcall.c --- a/arch/powerpc/platforms/xen/hcall.c Mon Aug 28 16:35:15 2006 -0400 +++ b/arch/powerpc/platforms/xen/hcall.c Mon Aug 28 18:43:52 2006 -0500 @@ -364,6 +364,7 @@ static int xenppc_privcmd_dom0_op(privcm case DOM0_MAX_VCPUS: case DOM0_SETDOMAINHANDLE: case DOM0_SETDEBUGGING: + case DOM0_ALLOC_REAL_MODE_AREA: /* no munging needed */ break; diff -r 0d5ea02d3a16 -r 199b457c4325 include/xen/interface/dom0_ops.h --- a/include/xen/interface/dom0_ops.h Mon Aug 28 16:35:15 2006 -0400 +++ b/include/xen/interface/dom0_ops.h Mon Aug 28 18:43:52 2006 -0500 @@ -534,6 +534,14 @@ struct dom0_settimeoffset { }; typedef struct dom0_settimeoffset dom0_settimeoffset_t; DEFINE_XEN_GUEST_HANDLE(dom0_settimeoffset_t); + +#define DOM0_ALLOC_REAL_MODE_AREA 51 +struct dom0_alloc_real_mode_area { + domid_t domain; + uint32_t order; +}; +typedef struct dom0_alloc_real_mode_area dom0_alloc_real_mode_area_t; +DEFINE_XEN_GUEST_HANDLE(dom0_alloc_real_mode_area_t); struct dom0_op { uint32_t cmd; @@ -578,6 +586,7 @@ struct dom0_op { struct dom0_hypercall_init hypercall_init; struct dom0_domain_setup domain_setup; struct dom0_settimeoffset settimeoffset; + struct dom0_alloc_real_mode_area alloc_real_mode_area; uint8_t pad[128]; } u; }; _______________________________________________ Xen-ppc-devel mailing list Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-ppc-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |