aboutsummaryrefslogtreecommitdiff
path: root/src/sys
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys')
-rw-r--r--src/sys/core.c6
-rw-r--r--src/sys/kernel.S2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/sys/core.c b/src/sys/core.c
index d84770d..39eaffd 100644
--- a/src/sys/core.c
+++ b/src/sys/core.c
@@ -61,9 +61,9 @@ void sysinit(void)
// Start Scheduler
init_scheduler();
- // Enable IRQ & FIQ
- enableirq();
- enablefiq();
+ //// // Enable IRQ & FIQ
+ //// enableirq();
+ //// enablefiq();
add_thread(testlocal, 0, 0);
add_thread(testlocal, 0, 1);
diff --git a/src/sys/kernel.S b/src/sys/kernel.S
index b76df62..93074b6 100644
--- a/src/sys/kernel.S
+++ b/src/sys/kernel.S
@@ -17,7 +17,7 @@ kernel_main:
// svc #1
// mrs r0, cpsr
// bl uart_hexn
- cps #0x10
+ cpsie aif, #0x10
svc #2 // Start scheduling!
1:
wfe