diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-07-05 11:27:58 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2006-07-05 11:27:58 +0100 |
commit | 79700a5ce7f1aec65cf219fd53c9532fdd1d2188 (patch) | |
tree | b78a2a29817aa65269f822a8deea407c9a7bb475 /extras/mini-os/xenbus | |
parent | c5f5756de82e6b64d956a85d7b5a8e629b623083 (diff) | |
download | xen-79700a5ce7f1aec65cf219fd53c9532fdd1d2188.tar.gz xen-79700a5ce7f1aec65cf219fd53c9532fdd1d2188.tar.bz2 xen-79700a5ce7f1aec65cf219fd53c9532fdd1d2188.zip |
[MINIOS]Events handling cleaned up. The interface extended to provide
void* pointer to handlers.
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
Diffstat (limited to 'extras/mini-os/xenbus')
-rw-r--r-- | extras/mini-os/xenbus/xenbus.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/extras/mini-os/xenbus/xenbus.c b/extras/mini-os/xenbus/xenbus.c index bf04bac1ce..704ba58104 100644 --- a/extras/mini-os/xenbus/xenbus.c +++ b/extras/mini-os/xenbus/xenbus.c @@ -112,7 +112,7 @@ static void xenbus_thread_func(void *ign) } } -static void xenbus_evtchn_handler(int port, struct pt_regs *regs) +static void xenbus_evtchn_handler(int port, struct pt_regs *regs, void *ign) { wake_up(&xb_waitq); } @@ -174,7 +174,8 @@ void init_xenbus(void) create_thread("xenstore", xenbus_thread_func, NULL); DEBUG("buf at %p.\n", xenstore_buf); err = bind_evtchn(start_info.store_evtchn, - xenbus_evtchn_handler); + xenbus_evtchn_handler, + NULL); DEBUG("xenbus on irq %d\n", err); } |