console.c (225343) | console.c (228631) |
---|---|
1#include <sys/cdefs.h> | 1#include <sys/cdefs.h> |
2__FBSDID("$FreeBSD: head/sys/dev/xen/console/console.c 225343 2011-09-02 17:36:01Z rwatson $"); | 2__FBSDID("$FreeBSD: head/sys/dev/xen/console/console.c 228631 2011-12-17 15:08:43Z avg $"); |
3 4#include <sys/param.h> 5#include <sys/module.h> 6#include <sys/systm.h> 7#include <sys/consio.h> 8#include <sys/priv.h> 9#include <sys/proc.h> 10#include <sys/uio.h> --- 34 unchanged lines hidden (view full) --- 45static void xcons_force_flush(void); 46static void xencons_priv_interrupt(void *); 47 48static cn_probe_t xc_cnprobe; 49static cn_init_t xc_cninit; 50static cn_term_t xc_cnterm; 51static cn_getc_t xc_cngetc; 52static cn_putc_t xc_cnputc; | 3 4#include <sys/param.h> 5#include <sys/module.h> 6#include <sys/systm.h> 7#include <sys/consio.h> 8#include <sys/priv.h> 9#include <sys/proc.h> 10#include <sys/uio.h> --- 34 unchanged lines hidden (view full) --- 45static void xcons_force_flush(void); 46static void xencons_priv_interrupt(void *); 47 48static cn_probe_t xc_cnprobe; 49static cn_init_t xc_cninit; 50static cn_term_t xc_cnterm; 51static cn_getc_t xc_cngetc; 52static cn_putc_t xc_cnputc; |
53static cn_grab_t xc_cngrab; 54static cn_ungrab_t xc_cnungrab; |
|
53 54#define XC_POLLTIME (hz/10) 55 56CONSOLE_DRIVER(xc); 57 58static int xen_console_up; 59static boolean_t xc_start_needed; 60static struct callout xc_callout; --- 60 unchanged lines hidden (view full) --- 121 122} 123 124static void 125xc_cnterm(struct consdev *cp) 126{ 127} 128 | 55 56#define XC_POLLTIME (hz/10) 57 58CONSOLE_DRIVER(xc); 59 60static int xen_console_up; 61static boolean_t xc_start_needed; 62static struct callout xc_callout; --- 60 unchanged lines hidden (view full) --- 123 124} 125 126static void 127xc_cnterm(struct consdev *cp) 128{ 129} 130 |
131static void 132xc_cngrab(struct consdev *cp) 133{ 134} 135 136static void 137xc_cnungrab(struct consdev *cp) 138{ 139} 140 |
|
129static int 130xc_cngetc(struct consdev *dev) 131{ 132 int ret; 133 134 if (xencons_has_input()) 135 xencons_handle_input(NULL); 136 --- 295 unchanged lines hidden --- | 141static int 142xc_cngetc(struct consdev *dev) 143{ 144 int ret; 145 146 if (xencons_has_input()) 147 xencons_handle_input(NULL); 148 --- 295 unchanged lines hidden --- |