diff options
| author | bigmagic <[email protected]> | 2021-05-21 17:03:30 +0800 |
|---|---|---|
| committer | bigmagic <[email protected]> | 2021-05-21 17:10:07 +0800 |
| commit | b7c7c7f4dec7ec3708ff056b3d12c9750c835f38 (patch) | |
| tree | b06cf2b027a180b9d393a1ac69a08ec4b47b4d40 /libcpu/risc-v/virt64/stack.h | |
| parent | 0dc972bee60ed64032071fa482ee99f4e4c4ef57 (diff) | |
Support for running with M-Mode
Diffstat (limited to 'libcpu/risc-v/virt64/stack.h')
| -rw-r--r-- | libcpu/risc-v/virt64/stack.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/risc-v/virt64/stack.h b/libcpu/risc-v/virt64/stack.h index 27e9cdf9fa..09179238ea 100644 --- a/libcpu/risc-v/virt64/stack.h +++ b/libcpu/risc-v/virt64/stack.h @@ -16,7 +16,7 @@ struct rt_hw_stack_frame { rt_ubase_t epc; /* epc - epc - program counter */ rt_ubase_t ra; /* x1 - ra - return address for jumps */ - rt_ubase_t sstatus; /* - supervisor status register */ + rt_ubase_t xstatus; /* - supervisor/machine/user status register */ rt_ubase_t gp; /* x3 - gp - global pointer */ rt_ubase_t tp; /* x4 - tp - thread pointer */ rt_ubase_t t0; /* x5 - t0 - temporary register 0 */ |
