aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-02-01 18:26:33 -0700
committerChristian Cunningham <cc@localhost>2022-02-01 18:26:33 -0700
commitc7169a96c46be8580613c67801ffb48e21231c8b (patch)
tree584b4f8ae8744113aa8c4b19a4d960b9010ce72d /include
parente71ca9d94c38d61096e587e1fa17a8b79cd89397 (diff)
Preserve CPSR
Fixed syscall bug
Diffstat (limited to 'include')
-rw-r--r--include/sys/schedule.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/schedule.h b/include/sys/schedule.h
index 8a68e05..4d331a6 100644
--- a/include/sys/schedule.h
+++ b/include/sys/schedule.h
@@ -32,6 +32,7 @@ struct Thread {
unsigned char priority;
unsigned char preempt;
unsigned short status;
+ unsigned long cpsr;
};
struct ThreadRotBuffer {