diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-11-25 22:26:16 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2024-11-25 22:26:16 +0100 |
| commit | 035da8e4499b0ef3b0417b3bbf9bd82c566ea220 (patch) | |
| tree | 9182879dba20688e5b152e4fa2dbbe2c7ec53f34 /kernel/sbi.c | |
| parent | 226c5c2e070b9831e3cbc81e9894b8048f8a932d (diff) | |
| download | fbos-035da8e4499b0ef3b0417b3bbf9bd82c566ea220.tar.gz fbos-035da8e4499b0ef3b0417b3bbf9bd82c566ea220.zip | |
kernel: Don't tamper the 'ra' register on switch
As part of a shameful hack I was tampering with the 'ra' register as
well as with the 'sepc' CSR. Since in the end we just assume 'sret' is
in place at the end, let's be cleaner and leave 'ra' alone.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'kernel/sbi.c')
0 files changed, 0 insertions, 0 deletions
