aboutsummaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2024-11-25 22:26:16 +0100
committerMiquel Sabaté Solà <mikisabate@gmail.com>2024-11-25 22:26:16 +0100
commit035da8e4499b0ef3b0417b3bbf9bd82c566ea220 (patch)
tree9182879dba20688e5b152e4fa2dbbe2c7ec53f34 /usr
parent226c5c2e070b9831e3cbc81e9894b8048f8a932d (diff)
downloadfbos-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 'usr')
0 files changed, 0 insertions, 0 deletions