diff options
author | Christian Cunningham <cc@localhost> | 2022-02-01 18:26:33 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-02-01 18:26:33 -0700 |
commit | c7169a96c46be8580613c67801ffb48e21231c8b (patch) | |
tree | 584b4f8ae8744113aa8c4b19a4d960b9010ce72d /include/sys | |
parent | e71ca9d94c38d61096e587e1fa17a8b79cd89397 (diff) |
Preserve CPSR
Fixed syscall bug
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/schedule.h | 1 |
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 { |