Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/syscons/syscons.c
Show First 20 Lines • Show All 193 Lines • ▼ Show 20 Lines | |||||
static void scresume(void *); | static void scresume(void *); | ||||
static u_int scgetc(sc_softc_t *sc, u_int flags, struct sc_cnstate *sp); | static u_int scgetc(sc_softc_t *sc, u_int flags, struct sc_cnstate *sp); | ||||
static void sc_puts(scr_stat *scp, u_char *buf, int len); | static void sc_puts(scr_stat *scp, u_char *buf, int len); | ||||
#define SCGETC_CN 1 | #define SCGETC_CN 1 | ||||
#define SCGETC_NONBLOCK 2 | #define SCGETC_NONBLOCK 2 | ||||
static void sccnupdate(scr_stat *scp); | static void sccnupdate(scr_stat *scp); | ||||
static scr_stat *alloc_scp(sc_softc_t *sc, int vty); | static scr_stat *alloc_scp(sc_softc_t *sc, int vty); | ||||
static void init_scp(sc_softc_t *sc, int vty, scr_stat *scp); | static void init_scp(sc_softc_t *sc, int vty, scr_stat *scp); | ||||
static timeout_t scrn_timer; | static callout_func_t scrn_timer; | ||||
static int and_region(int *s1, int *e1, int s2, int e2); | static int and_region(int *s1, int *e1, int s2, int e2); | ||||
static void scrn_update(scr_stat *scp, int show_cursor); | static void scrn_update(scr_stat *scp, int show_cursor); | ||||
#ifdef DEV_SPLASH | #ifdef DEV_SPLASH | ||||
static int scsplash_callback(int event, void *arg); | static int scsplash_callback(int event, void *arg); | ||||
static void scsplash_saver(sc_softc_t *sc, int show); | static void scsplash_saver(sc_softc_t *sc, int show); | ||||
static int add_scrn_saver(void (*this_saver)(sc_softc_t *, int)); | static int add_scrn_saver(void (*this_saver)(sc_softc_t *, int)); | ||||
static int remove_scrn_saver(void (*this_saver)(sc_softc_t *, int)); | static int remove_scrn_saver(void (*this_saver)(sc_softc_t *, int)); | ||||
Show All 16 Lines | |||||
static void exchange_scr(sc_softc_t *sc); | static void exchange_scr(sc_softc_t *sc); | ||||
static void update_cursor_image(scr_stat *scp); | static void update_cursor_image(scr_stat *scp); | ||||
static void change_cursor_shape(scr_stat *scp, int flags, int base, int height); | static void change_cursor_shape(scr_stat *scp, int flags, int base, int height); | ||||
static void update_font(scr_stat *); | static void update_font(scr_stat *); | ||||
static int save_kbd_state(scr_stat *scp); | static int save_kbd_state(scr_stat *scp); | ||||
static int update_kbd_state(scr_stat *scp, int state, int mask); | static int update_kbd_state(scr_stat *scp, int state, int mask); | ||||
static int update_kbd_leds(scr_stat *scp, int which); | static int update_kbd_leds(scr_stat *scp, int which); | ||||
static int sc_kattr(void); | static int sc_kattr(void); | ||||
static timeout_t blink_screen; | static callout_func_t blink_screen; | ||||
static struct tty *sc_alloc_tty(int, int); | static struct tty *sc_alloc_tty(int, int); | ||||
static cn_probe_t sc_cnprobe; | static cn_probe_t sc_cnprobe; | ||||
static cn_init_t sc_cninit; | static cn_init_t sc_cninit; | ||||
static cn_term_t sc_cnterm; | static cn_term_t sc_cnterm; | ||||
static cn_getc_t sc_cngetc; | static cn_getc_t sc_cngetc; | ||||
static cn_putc_t sc_cnputc; | static cn_putc_t sc_cnputc; | ||||
static cn_grab_t sc_cngrab; | static cn_grab_t sc_cngrab; | ||||
▲ Show 20 Lines • Show All 4,144 Lines • Show Last 20 Lines |