diff options
author | Christian Cunningham <cc@localhost> | 2022-01-19 12:05:16 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-01-19 12:05:16 -0700 |
commit | 572b5f4df1117b95f4a90a74da43da190750c089 (patch) | |
tree | fe0723425ddc6478f9b84627b2fdbe0c90f4c8be /src/util | |
parent | 466ef472e5d0e2a83600b07da0229d41e78f9d9c (diff) |
Output user stack pointer
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/status.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/util/status.c b/src/util/status.c index be19287..ac801d1 100644 --- a/src/util/status.c +++ b/src/util/status.c @@ -139,6 +139,9 @@ void status(void) write_char(&g_Drawer, ' '); sp = (unsigned long)getfiqstack(); write_hex32(&g_Drawer, sp); + write_char(&g_Drawer, ' '); + sp = (unsigned long)getsysstack(); + write_hex32(&g_Drawer, sp); write_char(&g_Drawer, '\n'); for(unsigned long i = 1; i <= 14; i++) { write_hex32(&g_Drawer, *(unsigned long*)(0x4000 - i*4)); |