aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-01-21 11:37:15 -0700
committerChristian Cunningham <cc@localhost>2022-01-21 11:37:15 -0700
commit0ff3f3c6f0773c7023b86bc829ff607e934bc2dc (patch)
treedd099e8d8b8c0db18362eeaba40e43d7e964713c
parent9a9331a96509771d7d80e65039021613ba7b3601 (diff)
Renamed
-rw-r--r--README.md2
-rw-r--r--include/globals.h3
-rw-r--r--src/globals.c3
-rw-r--r--src/util/status.c2
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 <util/mutex.h>
#include <graphics/drawer.h>
#include <sys/schedule.h>
+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, " #");