aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-01-23 12:59:27 -0700
committerChristian Cunningham <cc@localhost>2022-01-23 12:59:27 -0700
commit5bb02975ac5f541245af9b4f6c0be4ffaa2d8463 (patch)
tree6e101458a5d763cb3fd66d7dc0baeef409a81d47 /include
parentbb09366a7cafeb8ab91b55b98f15934f0f512d47 (diff)
Draw Exception info to screen
Diffstat (limited to 'include')
-rw-r--r--include/graphics/lfb.h3
-rw-r--r--include/sys/schedule.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/include/graphics/lfb.h b/include/graphics/lfb.h
index a151a5f..b21e12b 100644
--- a/include/graphics/lfb.h
+++ b/include/graphics/lfb.h
@@ -9,6 +9,9 @@ void lfb_showpicture(void);
void clear_screen(void);
+void draw_cpixel(unsigned long lx, unsigned long ly, unsigned int c);
+void draw_cbox(unsigned long lx, unsigned long ly, unsigned char dx, unsigned char dy, unsigned int c);
+
void draw_cbyte(unsigned char lx, unsigned char ly, unsigned char letter, unsigned int c);
void draw_byte(unsigned char lx, unsigned char ly, unsigned char letter);
diff --git a/include/sys/schedule.h b/include/sys/schedule.h
index 53475de..d28ea6d 100644
--- a/include/sys/schedule.h
+++ b/include/sys/schedule.h
@@ -53,6 +53,7 @@ struct Scheduler {
void init_scheduler(void);
void add_thread(void* pc, void* arg, unsigned char priority);
+void draw_stacks(void);
void uart_scheduler(void);
struct Thread* next_thread(void);
/// TODO: ENSURE IRQ/ FIQ entry switches