diff options
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/status.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/util/status.c b/src/util/status.c index 8837e5d..5e8a355 100644 --- a/src/util/status.c +++ b/src/util/status.c @@ -147,21 +147,10 @@ void status(void) sp = (unsigned long)getsysstack(); write_hex32(&g_Drawer, sp); write_char(&g_Drawer, '\n'); - /* WRITE Stack Values - for(unsigned long i = 1; i <= 14; i++) { - write_hex32(&g_Drawer, *(unsigned long*)(0x2000 - i*4)); - if(i % 6 == 0) { - write_char(&g_Drawer, '\n'); - } else { - write_char(&g_Drawer, ' '); - } - } - write_char(&g_Drawer, '\n'); - */ unsigned long coren; asm volatile ( - "mrc p15, #0, %0, c0, c0, #5\n" - "and %0, %0, #3" : "=r"(coren) :: "cc"); + "mrc p15, #0, %0, c0, c0, #5\n" + "and %0, %0, #3" : "=r"(coren) :: "cc"); write_string(&g_Drawer, "Status Updated by Core #"); write_10(&g_Drawer, coren); write_string(&g_Drawer, "\nSys Timer Status "); |