diff options
Diffstat (limited to 'sys/include/dev')
-rw-r--r-- | sys/include/dev/cons/cons.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/include/dev/cons/cons.h b/sys/include/dev/cons/cons.h index fe7eb6d..8e2c2c6 100644 --- a/sys/include/dev/cons/cons.h +++ b/sys/include/dev/cons/cons.h @@ -31,6 +31,7 @@ #define _DEV_CONS_H_ #include <sys/types.h> +#include <sys/spinlock.h> #include <dev/video/fbdev.h> struct cons_char { @@ -53,9 +54,11 @@ struct cons_screen { uint32_t curs_col; /* Cursor col */ uint32_t curs_row; /* Cursor row */ struct cons_char last_chr; + struct spinlock lock; }; void cons_init(void); +void cons_expose(void); int cons_putch(struct cons_screen *scr, char c); extern struct cons_screen g_root_scr; |