diff options
author | Ian Moffett <ian@osmora.org> | 2025-07-01 21:16:58 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-07-01 21:16:58 -0400 |
commit | 5af7b47284b63715e1599b07873ebeb5f9edb257 (patch) | |
tree | 270911a871dc59abe7c7306d5b85ad777e33b9a9 /sys/include/dev/cons | |
parent | 65f1d611cfad98817a2b6d350737f38638a57f96 (diff) |
kernel: console: Introduce cons_screen features
Introduce a 'feat' field in the cons_screen structure to allow certain
console features to be turned on or off.
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/dev/cons')
-rw-r--r-- | sys/include/dev/cons/cons.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/include/dev/cons/cons.h b/sys/include/dev/cons/cons.h index 7599dd5..aa9d8e3 100644 --- a/sys/include/dev/cons/cons.h +++ b/sys/include/dev/cons/cons.h @@ -32,6 +32,7 @@ #include <sys/types.h> #include <sys/spinlock.h> +#include <sys/console.h> #include <dev/video/fbdev.h> #include <dev/cons/consvar.h> #include <dev/cons/ansi.h> @@ -47,6 +48,7 @@ struct cons_char { struct cons_screen { struct fbdev fbdev; struct ansi_state ansi_s; + struct console_feat feat; /* Features */ uint32_t fg; uint32_t bg; |