diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2007-11-23 16:25:59 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2007-11-23 16:25:59 +0000 |
commit | 9ebc5c7ea6e855d71d75b985c4a9ed6cc9f353e2 (patch) | |
tree | bbdde8340db924fd70540cc7c6d4f41ddfccb3dd /extras/mini-os/include/events.h | |
parent | fd2f80c255acc5edf0cea58053c81f392042bf51 (diff) | |
download | xen-9ebc5c7ea6e855d71d75b985c4a9ed6cc9f353e2.tar.gz xen-9ebc5c7ea6e855d71d75b985c4a9ed6cc9f353e2.tar.bz2 xen-9ebc5c7ea6e855d71d75b985c4a9ed6cc9f353e2.zip |
[Mini-OS] Make bind_virq return the port
Make bind_virq() return the port bound to the irq, which is useful
e.g. for masking/unmasking it.
Signed-off-by: Samuel Thibault <samuel.thibault@citrix.com>
Diffstat (limited to 'extras/mini-os/include/events.h')
-rw-r--r-- | extras/mini-os/include/events.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/mini-os/include/events.h b/extras/mini-os/include/events.h index 5cc9fa8a9f..ff202e38fe 100644 --- a/extras/mini-os/include/events.h +++ b/extras/mini-os/include/events.h @@ -26,7 +26,7 @@ typedef void (*evtchn_handler_t)(evtchn_port_t, struct pt_regs *, void *); /* prototypes */ int do_event(evtchn_port_t port, struct pt_regs *regs); -int bind_virq(uint32_t virq, evtchn_handler_t handler, void *data); +evtchn_port_t bind_virq(uint32_t virq, evtchn_handler_t handler, void *data); evtchn_port_t bind_evtchn(evtchn_port_t port, evtchn_handler_t handler, void *data); void unbind_evtchn(evtchn_port_t port); |