diff options
author | Ian Moffett <ian@osmora.org> | 2025-03-14 12:02:36 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-03-14 12:02:36 -0400 |
commit | 509942a2f0167032e96b5130aebf95dfa1d14c4c (patch) | |
tree | 4737ad5b9e6675cd17034e3e53d76784287fd415 /sys/include/dev/cons/cons.h | |
parent | 6ceef43179c70852f001f1205ff92ebba4d0d4d7 (diff) | |
parent | f7b53e3e49c428e7cee7ebe51ebcb261c9d4f02a (diff) |
Merge branch 'expt'
Diffstat (limited to 'sys/include/dev/cons/cons.h')
-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; |