From 49bd4c133fc83de1cb1761ff089a2de03699d991 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Thu, 24 Mar 2022 16:44:51 -0700 Subject: IRQ Subscription --- kernel/globals.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kernel/globals.c') diff --git a/kernel/globals.c b/kernel/globals.c index 5118e96..5cdab01 100644 --- a/kernel/globals.c +++ b/kernel/globals.c @@ -1,4 +1,5 @@ #define GLOBALS_C +#include #include #include char* os_name = "Jobbed"; @@ -18,6 +19,7 @@ __attribute__((section(".bss"))) unsigned int gwidth; __attribute__((section(".bss"))) unsigned int gheight; __attribute__((section(".bss"))) unsigned int gpitch; __attribute__((section(".bss"))) unsigned int gisrgb; +__attribute__((section(".bss"))) struct IrqEntry irqs[MAX_IRQS]; __attribute__((section(".bss.mutexs"))) struct Mutex mutexs[MAX_MUTEXS]; __attribute__((section(".bss.mutexe"))) struct Entry mutex_entries[MAX_MUTEXS]; __attribute__((section(".bss.threads"))) struct Thread threads[MAX_THREADS]; -- cgit v1.2.1