[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH 3/8] mini-os: eliminate console/console.h
console/console.h contains only a single prototype. Move that to include/console.h and remove console/console.h. Signed-off-by: Juergen Gross <jgross@xxxxxxxx> --- console/console.h | 2 -- console/xenbus.c | 2 +- console/xencons_ring.c | 2 +- include/console.h | 1 + 4 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 console/console.h diff --git a/console/console.h b/console/console.h deleted file mode 100644 index e85147a4..00000000 --- a/console/console.h +++ /dev/null @@ -1,2 +0,0 @@ - -void console_handle_input(evtchn_port_t port, struct pt_regs *regs, void *data); diff --git a/console/xenbus.c b/console/xenbus.c index d8950454..73659656 100644 --- a/console/xenbus.c +++ b/console/xenbus.c @@ -5,13 +5,13 @@ #include <mini-os/events.h> #include <mini-os/os.h> #include <mini-os/lib.h> +#include <mini-os/console.h> #include <mini-os/xenbus.h> #include <xen/io/console.h> #include <xen/io/protocols.h> #include <xen/io/ring.h> #include <mini-os/xmalloc.h> #include <mini-os/gnttab.h> -#include "console.h" void free_consfront(struct consfront_dev *dev) { diff --git a/console/xencons_ring.c b/console/xencons_ring.c index efedf46b..495f0a19 100644 --- a/console/xencons_ring.c +++ b/console/xencons_ring.c @@ -5,6 +5,7 @@ #include <mini-os/events.h> #include <mini-os/os.h> #include <mini-os/lib.h> +#include <mini-os/console.h> #include <mini-os/xenbus.h> #include <xen/io/console.h> #include <xen/io/protocols.h> @@ -12,7 +13,6 @@ #include <xen/hvm/params.h> #include <mini-os/xmalloc.h> #include <mini-os/gnttab.h> -#include "console.h" DECLARE_WAIT_QUEUE_HEAD(console_queue); diff --git a/include/console.h b/include/console.h index e76e4234..d216d247 100644 --- a/include/console.h +++ b/include/console.h @@ -98,5 +98,6 @@ void free_consfront(struct consfront_dev *dev); extern const struct file_ops console_ops; int open_consfront(char *nodename); #endif +void console_handle_input(evtchn_port_t port, struct pt_regs *regs, void *data); #endif /* _LIB_CONSOLE_H_ */ -- 2.35.3
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |