• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #ifndef __VKI_XEN_HVM_H
2 #define __VKI_XEN_HVM_H
3 
4 /* Get/set subcommands: extra argument == pointer to xen_hvm_param struct. */
5 #define VKI_XEN_HVMOP_set_param           0
6 #define VKI_XEN_HVMOP_get_param           1
7 struct vki_xen_hvm_param {
8     vki_xen_domid_t  domid;    /* IN */
9     vki_uint32_t index;    /* IN */
10     vki_uint64_t value;    /* IN/OUT */
11 };
12 
13 #define VKI_XEN_HVMOP_set_isa_irq_level 3
14 struct vki_xen_hvm_set_isa_irq_level {
15     vki_xen_domid_t  domid;
16     vki_uint8_t  isa_irq;
17     vki_uint8_t  level;
18 };
19 typedef struct vki_xen_hvm_set_isa_irq_level vki_xen_hvm_set_isa_irq_level_t;
20 
21 #define VKI_XEN_HVMOP_set_pci_link_route 4
22 struct vki_xen_hvm_set_pci_link_route {
23     vki_xen_domid_t  domid;
24     vki_uint8_t  link;
25     vki_uint8_t  isa_irq;
26 };
27 typedef struct vki_xen_hvm_set_pci_link_route vki_xen_hvm_set_pci_link_route_t;
28 
29 #define VKI_XEN_HVMOP_set_mem_type 8
30 struct vki_xen_hvm_set_mem_type {
31     vki_xen_domid_t  domid;
32     vki_uint16_t hvmmem_type;
33     vki_uint32_t nr;
34     vki_xen_uint64_aligned_t first_pfn;
35 };
36 typedef struct vki_xen_hvm_set_mem_type vki_xen_hvm_set_mem_type_t;
37 
38 #endif // __VKI_XEN_HVM_H
39 
40 /*--------------------------------------------------------------------*/
41 /*--- end                                                          ---*/
42 /*--------------------------------------------------------------------*/
43