mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
Propagate the flags parameter of xenevtchn_open() to the OS-specific handlers in order to enable handling them there. Signed-off-by: Juergen Gross <jgross@suse.com> Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
32 lines
607 B
C
32 lines
607 B
C
#ifndef XENEVTCHN_PRIVATE_H
|
|
#define XENEVTCHN_PRIVATE_H
|
|
|
|
#include <xentoollog.h>
|
|
#include <xenevtchn.h>
|
|
|
|
#include <xentoolcore_internal.h>
|
|
|
|
#include <xen/xen.h>
|
|
|
|
struct xenevtchn_handle {
|
|
xentoollog_logger *logger, *logger_tofree;
|
|
int fd;
|
|
Xentoolcore__Active_Handle tc_ah;
|
|
};
|
|
|
|
int osdep_evtchn_open(xenevtchn_handle *xce, unsigned int flags);
|
|
int osdep_evtchn_close(xenevtchn_handle *xce);
|
|
int osdep_evtchn_restrict(xenevtchn_handle *xce, domid_t domid);
|
|
|
|
#endif
|
|
|
|
/*
|
|
* Local variables:
|
|
* mode: C
|
|
* c-file-style: "BSD"
|
|
* c-basic-offset: 4
|
|
* tab-width: 4
|
|
* indent-tabs-mode: nil
|
|
* End:
|
|
*/
|