From 0ff3f3c6f0773c7023b86bc829ff607e934bc2dc Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Fri, 21 Jan 2022 11:37:15 -0700 Subject: Renamed --- README.md | 2 +- include/globals.h | 3 +-- src/globals.c | 3 +-- src/util/status.c | 2 +- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8419564..91adff0 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# DendritOS +# Jobbed ## Supplemental Links - https://www.raspberrypi.com/documentation/computers/processors.html diff --git a/include/globals.h b/include/globals.h index 0b3eaed..b33ebc7 100644 --- a/include/globals.h +++ b/include/globals.h @@ -8,6 +8,7 @@ extern unsigned long cntfrq; extern unsigned long cmdidx; extern char cmd[2048]; +extern char* os_name; extern char* os_info_v; extern unsigned long exe_cnt; extern struct Mutex exe_cnt_m; @@ -18,8 +19,6 @@ 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 diff --git a/src/globals.c b/src/globals.c index d14103d..99aa48f 100644 --- a/src/globals.c +++ b/src/globals.c @@ -3,6 +3,7 @@ #include #include #include +char* os_name = "Jobbed"; #ifndef VERSION char* os_info_v = "?"; #else @@ -18,8 +19,6 @@ __attribute__((section(".bss"))) unsigned long stimel; __attribute__((section(".bss"))) unsigned long stimeh; __attribute__((section(".bss"))) struct Drawer g_Drawer; __attribute__((section(".bss"))) struct Scheduler scheduler; -__attribute__((section(".bss"))) unsigned long svcsp; -__attribute__((section(".bss"))) struct cpu_context svccpu; __attribute__((section(".bss"))) unsigned int gwidth; __attribute__((section(".bss"))) unsigned int gheight; __attribute__((section(".bss"))) unsigned int gpitch; diff --git a/src/util/status.c b/src/util/status.c index d07bf0a..460e3b0 100644 --- a/src/util/status.c +++ b/src/util/status.c @@ -60,7 +60,7 @@ void status(void) g_Drawer.x = 0; g_Drawer.y = 0; // OS Info - write_cstring(&g_Drawer, "DendritOS", 0xFF0000); + write_cstring(&g_Drawer, os_name, 0xFF0000); write_cstring(&g_Drawer, " v", 0x00FFFF); write_cstring(&g_Drawer, os_info_v, 0x00FFFF); write_string(&g_Drawer, " #"); -- cgit v1.2.1