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 60b0bfa..3375550 100644 --- a/demo_functionality.c +++ b/demo_functionality.c @@ -26,11 +26,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; @@ -51,9 +51,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(); } #define TRANSLATION_TABLE \ |