From 79700a5ce7f1aec65cf219fd53c9532fdd1d2188 Mon Sep 17 00:00:00 2001 From: "kfraser@localhost.localdomain" Date: Wed, 5 Jul 2006 11:27:58 +0100 Subject: [MINIOS]Events handling cleaned up. The interface extended to provide void* pointer to handlers. Signed-off-by: Steven Smith Signed-off-by: Grzegorz Milos --- extras/mini-os/console/xencons_ring.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'extras/mini-os/console') diff --git a/extras/mini-os/console/xencons_ring.c b/extras/mini-os/console/xencons_ring.c index ff1bf519df..7693235ff0 100644 --- a/extras/mini-os/console/xencons_ring.c +++ b/extras/mini-os/console/xencons_ring.c @@ -53,7 +53,7 @@ int xencons_ring_send(const char *data, unsigned len) -static void handle_input(int port, struct pt_regs *regs) +static void handle_input(int port, struct pt_regs *regs, void *ign) { struct xencons_interface *intf = xencons_interface(); XENCONS_RING_IDX cons, prod; @@ -83,7 +83,8 @@ int xencons_ring_init(void) if (!start_info.console_evtchn) return 0; - err = bind_evtchn(start_info.console_evtchn, handle_input); + err = bind_evtchn(start_info.console_evtchn, handle_input, + NULL); if (err <= 0) { printk("XEN console request chn bind failed %i\n", err); return err; -- cgit v1.2.3