|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xen-ia64-devel
[Xen-devel] [PATCH 04/11] xen: add missing definitions in	include/xen/in
 
| 
To:  | 
linux-kernel@xxxxxxxxxxxxxxx,	virtualization@xxxxxxxxxxxxxxxxxxxxxxxxxx | 
 
| 
Subject:  | 
[Xen-devel] [PATCH 04/11] xen: add missing definitions in	include/xen/interface/vcpu.h which ia64/xen needs | 
 
| 
From:  | 
yamahata@xxxxxxxxxxxxx | 
 
| 
Date:  | 
Thu, 21 Feb 2008 17:45:34 +0900 | 
 
| 
Cc:  | 
Jeremy Fitzhardinge <jeremy@xxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx,	linux-ia64@xxxxxxxxxxxxxxx, "Stephen C. Tweedie" <sct@xxxxxxxxxx>,	Chris Wright <chrisw@xxxxxxxxxxxx>, yamahata@xxxxxxxxxxxxx,	xen-ia64-devel@xxxxxxxxxxxxxxxxxxx | 
 
| 
Delivery-date:  | 
Thu, 21 Feb 2008 01:12:51 -0800 | 
 
| 
Envelope-to:  | 
www-data@xxxxxxxxxxxxxxxxxx | 
 
| 
List-help:  | 
<mailto:xen-devel-request@lists.xensource.com?subject=help> | 
 
| 
List-id:  | 
Xen developer discussion <xen-devel.lists.xensource.com> | 
 
| 
List-post:  | 
<mailto:xen-devel@lists.xensource.com> | 
 
| 
List-subscribe:  | 
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>,	<mailto:xen-devel-request@lists.xensource.com?subject=subscribe> | 
 
| 
List-unsubscribe:  | 
<http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>,	<mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe> | 
 
| 
References:  | 
<20080221084530.470680000@xxxxxxxxxxxxxxxxxxxxxx> | 
 
| 
Sender:  | 
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx | 
 
| 
User-agent:  | 
quilt/0.46-1 | 
 
 
 
Signed-off-by: Isaku Yamahata <yamahata@xxxxxxxxxxxxx>
---
 include/xen/interface/vcpu.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/xen/interface/vcpu.h b/include/xen/interface/vcpu.h
index b05d8a6..87e6f8a 100644
--- a/include/xen/interface/vcpu.h
+++ b/include/xen/interface/vcpu.h
@@ -85,6 +85,7 @@ struct vcpu_runstate_info {
                 */
                uint64_t time[4];
 };
+DEFINE_GUEST_HANDLE_STRUCT(vcpu_runstate_info);
 
 /* VCPU is currently running on a physical CPU. */
 #define RUNSTATE_running  0
@@ -119,6 +120,7 @@ struct vcpu_runstate_info {
 #define VCPUOP_register_runstate_memory_area 5
 struct vcpu_register_runstate_memory_area {
                union {
+                               GUEST_HANDLE(vcpu_runstate_info) h;
                                struct vcpu_runstate_info *v;
                                uint64_t p;
                } addr;
@@ -134,6 +136,7 @@ struct vcpu_register_runstate_memory_area {
 struct vcpu_set_periodic_timer {
                uint64_t period_ns;
 };
+DEFINE_GUEST_HANDLE_STRUCT(vcpu_set_periodic_timer);
 
 /*
  * Set or stop a VCPU's single-shot timer. Every VCPU has one single-shot
@@ -145,6 +148,7 @@ struct vcpu_set_singleshot_timer {
                uint64_t timeout_abs_ns;
                uint32_t flags;                    /* VCPU_SSHOTTMR_??? */
 };
+DEFINE_GUEST_HANDLE_STRUCT(vcpu_set_singleshot_timer);
 
 /* Flags to VCPUOP_set_singleshot_timer. */
  /* Require the timeout to be in the future (return -ETIME if it's passed). */
@@ -164,5 +168,6 @@ struct vcpu_register_vcpu_info {
     uint32_t offset; /* offset within page */
     uint32_t rsvd;   /* unused */
 };
+DEFINE_GUEST_HANDLE_STRUCT(vcpu_register_vcpu_info);
 
 #endif /* __XEN_PUBLIC_VCPU_H__ */
-- 
1.5.3
-- 
yamahata
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 |   
 
| <Prev in Thread] | 
Current Thread | 
[Next in Thread>
 |  
- [Xen-devel] [PATCH 00/11] Xen arch portability patches, yamahata
- [Xen-devel] [PATCH 02/11] xen: add missing VIRQ_ARCH_definitions	which ia64/xen needs., yamahata
 
- [Xen-devel] [PATCH 01/11] xen: add missing	__HYPERVISOR_arch_definisions which ia64 needs., yamahata
 
- [Xen-devel] [PATCH 04/11] xen: add missing definitions in	include/xen/interface/vcpu.h which ia64/xen needs,
yamahata <=
 
- [Xen-devel] [PATCH 03/11] xen: add missing definitions for xen	grant table which ia64/xen needs., yamahata
 
- [Xen-devel] [PATCH 07/11] xen: make include/xen/page.h portable	moving those definitions under asm dir., yamahata
 
- [Xen-devel] [PATCH 05/11] xen: move features.c from	arch/x86/xen/features.c to drivers/xen., yamahata
 
- [Xen-devel] [PATCH 06/11] xen: move arch/x86/xen/events.c undedr	drivers/xen and split out arch specific part., yamahata
 
- [Xen-devel] [PATCH 08/11] xen: replace callers of	alloc_vm_area()/free_vm_area() with xen_ prefixed one., yamahata
 
- [Xen-devel] [PATCH 10/11] xen: import	include/xen/interface/callback.h which ia64/xen needs., yamahata
 
- [Xen-devel] [PATCH 09/11] xen: make grant table arch portable., yamahata
 
 
 
 
 |  
  
 | 
    | 
  
  
    |   | 
    |