#ifndef GLOBALS_H #define GLOBALS_H #include #include #ifndef GLOBALS_C extern unsigned long cntfrq; extern unsigned long cmdidx; extern char cmd[2048]; extern char* os_info_v; extern unsigned long exe_cnt; extern struct Mutex exe_cnt_m; extern unsigned char rpi_heap[MAX_MM]; extern void* rpi_heap_top; extern unsigned long nextpid; extern unsigned long stimel; extern unsigned long stimeh; extern struct Drawer g_Drawer; extern struct Scheduler scheduler; extern unsigned long svcsp; extern struct cpu_context svccpu; extern unsigned int gwidth, gheight, gpitch, gisrgb; extern unsigned char stacks_table[MAX_THREADS]; #endif #endif