[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 4/6] syswrap: XEN_HVMOP_set_isa_irq_level
Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx> CC: Ian Campbell <Ian.Campbell@xxxxxxxxxx> --- coregrind/m_syswrap/syswrap-xen.c | 7 +++++++ include/vki/vki-xen-hvm.h | 8 ++++++++ 2 files changed, 15 insertions(+) diff --git a/coregrind/m_syswrap/syswrap-xen.c b/coregrind/m_syswrap/syswrap-xen.c index a53fbf2..cd4f6f5 100644 --- a/coregrind/m_syswrap/syswrap-xen.c +++ b/coregrind/m_syswrap/syswrap-xen.c @@ -807,6 +807,12 @@ PRE(hvm_op) __PRE_XEN_HVMOP_READ(get_param, struct vki_xen_hvm_param, index); break; + case VKI_XEN_HVMOP_set_isa_irq_level: + PRE_XEN_HVMOP_READ(set_isa_irq_level, domid); + PRE_XEN_HVMOP_READ(set_isa_irq_level, isa_irq); + PRE_XEN_HVMOP_READ(set_isa_irq_level, level); + break; + default: bad_subop(tid, layout, arrghs, status, flags, "__HYPERVISOR_hvm_op", op); @@ -1338,6 +1344,7 @@ POST(hvm_op) switch (op) { case VKI_XEN_HVMOP_set_param: + case VKI_XEN_HVMOP_set_isa_irq_level: /* No output paramters */ break; diff --git a/include/vki/vki-xen-hvm.h b/include/vki/vki-xen-hvm.h index a64d4f3..be7f236 100644 --- a/include/vki/vki-xen-hvm.h +++ b/include/vki/vki-xen-hvm.h @@ -10,6 +10,14 @@ struct vki_xen_hvm_param { vki_uint64_t value; /* IN/OUT */ }; +#define VKI_XEN_HVMOP_set_isa_irq_level 3 +struct vki_xen_hvm_set_isa_irq_level { + vki_xen_domid_t domid; + vki_uint8_t isa_irq; + vki_uint8_t level; +}; +typedef struct vki_xen_hvm_set_isa_irq_level vki_xen_hvm_set_isa_irq_level_t; + #endif // __VKI_XEN_HVM_H /*--------------------------------------------------------------------*/ -- 1.7.10.4 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |