summaryrefslogtreecommitdiff
path: root/sys/include/dev
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-07-01 21:16:58 -0400
committerIan Moffett <ian@osmora.org>2025-07-01 21:16:58 -0400
commit5af7b47284b63715e1599b07873ebeb5f9edb257 (patch)
tree270911a871dc59abe7c7306d5b85ad777e33b9a9 /sys/include/dev
parent65f1d611cfad98817a2b6d350737f38638a57f96 (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')
-rw-r--r--sys/include/dev/cons/cons.h2
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;