aboutsummaryrefslogtreecommitdiffstats
path: root/include/xen/interface/xen.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/xen/interface/xen.h')
-rw-r--r--include/xen/interface/xen.h16
1 files changed, 10 insertions, 6 deletions
diff --git a/include/xen/interface/xen.h b/include/xen/interface/xen.h
index 9b018da48cf..2befa3e2f1b 100644
--- a/include/xen/interface/xen.h
+++ b/include/xen/interface/xen.h
@@ -10,6 +10,7 @@
10#define __XEN_PUBLIC_XEN_H__ 10#define __XEN_PUBLIC_XEN_H__
11 11
12#include <asm/xen/interface.h> 12#include <asm/xen/interface.h>
13#include <asm/pvclock-abi.h>
13 14
14/* 15/*
15 * XEN "SYSTEM CALLS" (a.k.a. HYPERCALLS). 16 * XEN "SYSTEM CALLS" (a.k.a. HYPERCALLS).
@@ -113,9 +114,14 @@
113 * ptr[:2] -- Machine address within the frame whose mapping to modify. 114 * ptr[:2] -- Machine address within the frame whose mapping to modify.
114 * The frame must belong to the FD, if one is specified. 115 * The frame must belong to the FD, if one is specified.
115 * val -- Value to write into the mapping entry. 116 * val -- Value to write into the mapping entry.
117 *
118 * ptr[1:0] == MMU_PT_UPDATE_PRESERVE_AD:
119 * As MMU_NORMAL_PT_UPDATE above, but A/D bits currently in the PTE are ORed
120 * with those in @val.
116 */ 121 */
117#define MMU_NORMAL_PT_UPDATE 0 /* checked '*ptr = val'. ptr is MA. */ 122#define MMU_NORMAL_PT_UPDATE 0 /* checked '*ptr = val'. ptr is MA. */
118#define MMU_MACHPHYS_UPDATE 1 /* ptr = MA of frame to modify entry for */ 123#define MMU_MACHPHYS_UPDATE 1 /* ptr = MA of frame to modify entry for */
124#define MMU_PT_UPDATE_PRESERVE_AD 2 /* atomically: *ptr = val | (*ptr&(A|D)) */
119 125
120/* 126/*
121 * MMU EXTENDED OPERATIONS 127 * MMU EXTENDED OPERATIONS
@@ -336,7 +342,7 @@ struct vcpu_info {
336 uint8_t evtchn_upcall_mask; 342 uint8_t evtchn_upcall_mask;
337 unsigned long evtchn_pending_sel; 343 unsigned long evtchn_pending_sel;
338 struct arch_vcpu_info arch; 344 struct arch_vcpu_info arch;
339 struct vcpu_time_info time; 345 struct pvclock_vcpu_time_info time;
340}; /* 64 bytes (x86) */ 346}; /* 64 bytes (x86) */
341 347
342/* 348/*
@@ -384,9 +390,7 @@ struct shared_info {
384 * Wallclock time: updated only by control software. Guests should base 390 * Wallclock time: updated only by control software. Guests should base
385 * their gettimeofday() syscall on this wallclock-base value. 391 * their gettimeofday() syscall on this wallclock-base value.
386 */ 392 */
387 uint32_t wc_version; /* Version counter: see vcpu_time_info_t. */ 393 struct pvclock_wall_clock wc;
388 uint32_t wc_sec; /* Secs 00:00:00 UTC, Jan 1, 1970. */
389 uint32_t wc_nsec; /* Nsecs 00:00:00 UTC, Jan 1, 1970. */
390 394
391 struct arch_shared_info arch; 395 struct arch_shared_info arch;
392 396