WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-ppc-devel

[XenPPC] [linux-ppc-2.6] [POWERPC][LINUX] add DOM0_ALLOC_REAL_MODE_AREA

To: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Subject: [XenPPC] [linux-ppc-2.6] [POWERPC][LINUX] add DOM0_ALLOC_REAL_MODE_AREA support
From: Xen patchbot-linux-ppc-2.6 <patchbot-linux-ppc-2.6@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 28 Aug 2006 23:51:28 +0000
Delivery-date: Mon, 28 Aug 2006 18:20:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-ppc-devel-request@lists.xensource.com?subject=help>
List-id: Xen PPC development <xen-ppc-devel.lists.xensource.com>
List-post: <mailto:xen-ppc-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-ppc-devel>, <mailto:xen-ppc-devel-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-ppc-devel-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [XenPPC] [linux-ppc-2.6] [POWERPC][LINUX] add DOM0_ALLOC_REAL_MODE_AREA support, Xen patchbot-linux-ppc-2 . 6 <=