aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/sys/kernel.S4
-rw-r--r--src/util/status.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/src/sys/kernel.S b/src/sys/kernel.S
index 23bf6a7..cdfc40c 100644
--- a/src/sys/kernel.S
+++ b/src/sys/kernel.S
@@ -10,8 +10,8 @@ kernel_main:
bl sysinit
bl status
ldr r2, =ttbr_msg
- mov r0, #0
- mov r1, #0
+ mov r0, #41
+ mov r1, #1
mov r3, #0xFF00
bl draw_cstring
diff --git a/src/util/status.c b/src/util/status.c
index 7e173b8..5aef915 100644
--- a/src/util/status.c
+++ b/src/util/status.c
@@ -43,6 +43,8 @@ void output_irq_status(void)
// Check UART IRQ
if (i1_val & (1<<0)) {
draw_cstring(5, 2, "STIMERCMP", 0x00FF00);
+ } else if (f_val == 1) {
+ draw_cstring(5, 2, "STIMERCMP", 0xFFA500);
} else {
draw_cstring(5, 2, "STIMERCMP", 0xFF0000);
}
@@ -59,7 +61,7 @@ void output_irq_status(void)
void status(void)
{
// OS Info
- draw_cstring(0, 0, " v ", 0x00FFFF);
+ draw_cstring(9, 0, "v", 0x00FFFF);
draw_cstring(0, 0, os_name, 0xFF0000);
draw_cstring(10, 0, os_info_v, 0x00FFFF);
draw_cstring(16, 0, "# TStacks:", 0xFFDF00);