From 401bf03070458cf3a5ee6947bd01a8f397fe2909 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Mon, 2 Dec 2019 16:37:22 +0100 Subject: create a separate library for kernel code that should run in PL0 mode --- PL0_test.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'PL0_test.c') diff --git a/PL0_test.c b/PL0_test.c index 2216436..1b93024 100644 --- a/PL0_test.c +++ b/PL0_test.c @@ -5,9 +5,6 @@ void PL0_main(void) { uart_puts("hello PL0! Switching to user mode!\n\r"); - asm("cps #0b10000\n\r" - "isb" ::: "memory"); - // if all went correct, Success! gets printed uart_puts("Success!\n\r"); -- cgit v1.2.3