diff options
Diffstat (limited to 'demo_functionality.c')
-rw-r--r-- | demo_functionality.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/demo_functionality.c b/demo_functionality.c index d4b86db..691cdb1 100644 --- a/demo_functionality.c +++ b/demo_functionality.c @@ -25,11 +25,11 @@ void demo_paging_support(void) uart_puts(paging); } -void demo_mode_to_system(void) +void demo_current_mode(void) { // get content of current program status register to check the current - // processor mode + // processor mode (should be system, as we set it in boot.S) PSR_t CPSR = read_CPSR(); char *mode_name; @@ -50,9 +50,6 @@ void demo_mode_to_system(void) uart_puts("current mode: "); uart_puts(mode_name); - - uart_puts("setting mode to system (PL1)...\r\n"); - set_system_mode(); } extern char |