diff options
| author | Frank Chang | 2021-09-14 03:37:15 +0200 |
|---|---|---|
| committer | Alistair Francis | 2021-09-21 04:10:22 +0200 |
| commit | c6013547560c33068dca3368ca7cd74b13f1a780 (patch) | |
| tree | 7dfffc33d202017b38b518f74fb16a143c83c93a /include/exec/exec-all.h | |
| parent | docs/system/riscv: sifive_u: Update U-Boot instructions (diff) | |
| download | qemu-c6013547560c33068dca3368ca7cd74b13f1a780.tar.gz qemu-c6013547560c33068dca3368ca7cd74b13f1a780.tar.xz qemu-c6013547560c33068dca3368ca7cd74b13f1a780.zip | |
target/riscv: Backup/restore mstatus.SD bit when virtual register swapped
When virtual registers are swapped, mstatus.SD bit should also be
backed up/restored. Otherwise, mstatus.SD bit will be incorrectly kept
across the world switches.
Signed-off-by: Frank Chang <frank.chang@sifive.com>
Reviewed-by: Vincent Chen <vincent.chen@sifive.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210914013717.881430-1-frank.chang@sifive.com
[ Changes by AF:
- Convert variable to a uint64_t to fix clang error
]
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions
