aboutsummaryrefslogtreecommitdiff
path: root/kernel/sbi.c
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2024-12-04 14:35:50 +0100
committerMiquel Sabaté Solà <mikisabate@gmail.com>2024-12-04 14:35:50 +0100
commit4c25981400e9d6d7c15df70dac32b6c8819b77a5 (patch)
tree69ffdb0c5548aa2b11b6ba8468b6b34fb9a9eaee /kernel/sbi.c
parentad072dbf39036eaeb2879bd39f5195175d8b1280 (diff)
downloadfbos-4c25981400e9d6d7c15df70dac32b6c8819b77a5.tar.gz
fbos-4c25981400e9d6d7c15df70dac32b6c8819b77a5.zip
Re-use the halting loop also for the main hart
The halting in secondary harts should not be treated too differently as with the (unlikely) scenario that the main function quits. Hence, merge the code in both cases. Moreover, we do not really need to to initialize the values of most registers, as they will be explicitely set when needed anyways. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'kernel/sbi.c')
0 files changed, 0 insertions, 0 deletions