From 93bf62580a68533dc8252b9a2a055c02f34ecb67 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Thu, 24 Mar 2022 09:38:08 -0700 Subject: Modularized --- src/globals.c | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 src/globals.c (limited to 'src/globals.c') diff --git a/src/globals.c b/src/globals.c deleted file mode 100644 index 5118e96..0000000 --- a/src/globals.c +++ /dev/null @@ -1,24 +0,0 @@ -#define GLOBALS_C -#include -#include -char* os_name = "Jobbed"; -#ifndef VERSION -char* os_info_v = "?"; -#else -char* os_info_v = VERSION; -#endif - -__attribute__((section(".bss"))) unsigned long nextpid; -__attribute__((section(".bss"))) unsigned long stimel; -__attribute__((section(".bss"))) unsigned long stimeh; -__attribute__((section(".bss"))) struct Scheduler scheduler; -__attribute__((section(".bss"))) struct MutexManager mutex_manager; -__attribute__((section(".bss"))) struct Thread usrloopthread; -__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.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]; -__attribute__((section(".bss.threade"))) struct Entry thread_entries[MAX_THREADS]; -- cgit v1.2.1