diff options
author | Ian Moffett <ian@osmora.org> | 2025-04-18 21:57:44 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-04-18 21:57:44 -0400 |
commit | 9906547712a88cf4dc012a6f6bd6e2ad04c5e3f3 (patch) | |
tree | 41b40ec97f5082793b08a495f6a935bc3c1ed25f /sys/include/dev/cons/cons.h | |
parent | 0b5adaff02190dad76d845381a41b998696d9e97 (diff) | |
parent | 92d4f9dae64ab5325feca1f39e5955415e8275b9 (diff) |
Merge branch 'expt' into aarch64
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/dev/cons/cons.h')
-rw-r--r-- | sys/include/dev/cons/cons.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/include/dev/cons/cons.h b/sys/include/dev/cons/cons.h index 8e2c2c6..3569c52 100644 --- a/sys/include/dev/cons/cons.h +++ b/sys/include/dev/cons/cons.h @@ -33,11 +33,14 @@ #include <sys/types.h> #include <sys/spinlock.h> #include <dev/video/fbdev.h> +#include <dev/cons/consvar.h> struct cons_char { char c; uint32_t fg; uint32_t bg; + uint32_t x; + uint32_t y; }; struct cons_screen { @@ -53,6 +56,8 @@ struct cons_screen { uint32_t ch_row; /* Current row */ uint32_t curs_col; /* Cursor col */ uint32_t curs_row; /* Cursor row */ + struct cons_buf *ib; /* Input buffer */ + struct cons_buf **ob; /* Output buffers */ struct cons_char last_chr; struct spinlock lock; }; |