diff options
author | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
---|---|---|
committer | Jonathan Herman <hermanjl@cs.unc.edu> | 2013-01-17 16:15:55 -0500 |
commit | 8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch) | |
tree | a8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /include/xen/interface/hvm | |
parent | 406089d01562f1e2bf9f089fd7637009ebaad589 (diff) |
Patched in Tegra support.
Diffstat (limited to 'include/xen/interface/hvm')
-rw-r--r-- | include/xen/interface/hvm/hvm_op.h | 19 | ||||
-rw-r--r-- | include/xen/interface/hvm/params.h | 8 |
2 files changed, 2 insertions, 25 deletions
diff --git a/include/xen/interface/hvm/hvm_op.h b/include/xen/interface/hvm/hvm_op.h index 956a0468286..a4827f46ee9 100644 --- a/include/xen/interface/hvm/hvm_op.h +++ b/include/xen/interface/hvm/hvm_op.h | |||
@@ -43,23 +43,4 @@ struct xen_hvm_pagetable_dying { | |||
43 | typedef struct xen_hvm_pagetable_dying xen_hvm_pagetable_dying_t; | 43 | typedef struct xen_hvm_pagetable_dying xen_hvm_pagetable_dying_t; |
44 | DEFINE_GUEST_HANDLE_STRUCT(xen_hvm_pagetable_dying_t); | 44 | DEFINE_GUEST_HANDLE_STRUCT(xen_hvm_pagetable_dying_t); |
45 | 45 | ||
46 | enum hvmmem_type_t { | ||
47 | HVMMEM_ram_rw, /* Normal read/write guest RAM */ | ||
48 | HVMMEM_ram_ro, /* Read-only; writes are discarded */ | ||
49 | HVMMEM_mmio_dm, /* Reads and write go to the device model */ | ||
50 | }; | ||
51 | |||
52 | #define HVMOP_get_mem_type 15 | ||
53 | /* Return hvmmem_type_t for the specified pfn. */ | ||
54 | struct xen_hvm_get_mem_type { | ||
55 | /* Domain to be queried. */ | ||
56 | domid_t domid; | ||
57 | /* OUT variable. */ | ||
58 | uint16_t mem_type; | ||
59 | uint16_t pad[2]; /* align next field on 8-byte boundary */ | ||
60 | /* IN variable. */ | ||
61 | uint64_t pfn; | ||
62 | }; | ||
63 | DEFINE_GUEST_HANDLE_STRUCT(xen_hvm_get_mem_type); | ||
64 | |||
65 | #endif /* __XEN_PUBLIC_HVM_HVM_OP_H__ */ | 46 | #endif /* __XEN_PUBLIC_HVM_HVM_OP_H__ */ |
diff --git a/include/xen/interface/hvm/params.h b/include/xen/interface/hvm/params.h index a6c79911e72..1888d8c157e 100644 --- a/include/xen/interface/hvm/params.h +++ b/include/xen/interface/hvm/params.h | |||
@@ -21,7 +21,7 @@ | |||
21 | #ifndef __XEN_PUBLIC_HVM_PARAMS_H__ | 21 | #ifndef __XEN_PUBLIC_HVM_PARAMS_H__ |
22 | #define __XEN_PUBLIC_HVM_PARAMS_H__ | 22 | #define __XEN_PUBLIC_HVM_PARAMS_H__ |
23 | 23 | ||
24 | #include <xen/interface/hvm/hvm_op.h> | 24 | #include "hvm_op.h" |
25 | 25 | ||
26 | /* | 26 | /* |
27 | * Parameter space for HVMOP_{set,get}_param. | 27 | * Parameter space for HVMOP_{set,get}_param. |
@@ -90,10 +90,6 @@ | |||
90 | /* Boolean: Enable aligning all periodic vpts to reduce interrupts */ | 90 | /* Boolean: Enable aligning all periodic vpts to reduce interrupts */ |
91 | #define HVM_PARAM_VPT_ALIGN 16 | 91 | #define HVM_PARAM_VPT_ALIGN 16 |
92 | 92 | ||
93 | /* Console debug shared memory ring and event channel */ | 93 | #define HVM_NR_PARAMS 17 |
94 | #define HVM_PARAM_CONSOLE_PFN 17 | ||
95 | #define HVM_PARAM_CONSOLE_EVTCHN 18 | ||
96 | |||
97 | #define HVM_NR_PARAMS 19 | ||
98 | 94 | ||
99 | #endif /* __XEN_PUBLIC_HVM_PARAMS_H__ */ | 95 | #endif /* __XEN_PUBLIC_HVM_PARAMS_H__ */ |