Add context switching and basic scheduler

This commit is contained in:
2020-01-20 09:14:13 +01:00
parent a93f257f2e
commit 26f05b04d7
13 changed files with 410 additions and 27 deletions
+1
View File
@@ -62,6 +62,7 @@
#define DISABLE_IRQS_2 (PERIPHERAL_BASE + 0x0000B220)
#define DISABLE_BASIC_IRQS (PERIPHERAL_BASE + 0x0000B224)
#define LOCAL_TIMER_IRQ 0
/* SYSTEM TIMER */
#define SYSTEM_TIMER_IRQ_0 (1 << 0)
#define SYSTEM_TIMER_IRQ_1 (1 << 1)