aboutsummaryrefslogtreecommitdiff
path: root/console/console.h
diff options
context:
space:
mode:
Diffstat (limited to 'console/console.h')
-rw-r--r--console/console.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/console/console.h b/console/console.h
index 81940f9e..a6728a26 100644
--- a/console/console.h
+++ b/console/console.h
@@ -62,8 +62,11 @@ typedef union
uint32_t cursor_status : 1;
uint32_t screen_cur_line : 1;
uint32_t screen_scr_lines : 1;
- uint32_t _unused : 27;
+ uint32_t bell_audible : 1;
+ uint32_t bell_visible : 1;
+ uint32_t _unused : 25;
uint32_t not_matrix : 1;
+ /* Here are 32 more unused bits. */
} what;
} cons_change_t;
@@ -106,6 +109,12 @@ struct cons_display
struct
{
+ uint32_t audible; /* Audible bell. */
+ uint32_t visible; /* Visible bell. */
+ } bell;
+
+ struct
+ {
uint32_t buffer; /* Index (in uint32_t) of the beginning of the
changes buffer in this structure. */
uint32_t length; /* Length of buffer. */