diff options
author | Alec Roelke <ar4jc@virginia.edu> | 2018-02-18 22:28:44 -0500 |
---|---|---|
committer | Alec Roelke <ar4jc@virginia.edu> | 2018-07-28 18:42:43 +0000 |
commit | 2595fe6b2834fa0af15baf6f5ad4a8f523c838a6 (patch) | |
tree | 95b61f9c62b0ed8c05f8829daaf303cf6f7d61ad /src/kern/freebsd/events.hh | |
parent | 0a7193c1712ceba021732e4ad2b4dfb0a10394cc (diff) | |
download | gem5-2595fe6b2834fa0af15baf6f5ad4a8f523c838a6.tar.xz |
arch-riscv: Add support for fault handling
This patch adds support for handling RISC-V faults, including tracking
current and previous execution privilege, correctly switching to
the privilege mode specified by CSRs, and setting/storing the PC. It
also includes changes introduced by patch #9821, which disables
interrupts during handling of a fault.
Change-Id: Ie9c0f29719620c20783540d3bdb2db44f6114fc9
Reviewed-on: https://gem5-review.googlesource.com/9161
Maintainer: Alec Roelke <ar4jc@virginia.edu>
Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src/kern/freebsd/events.hh')
0 files changed, 0 insertions, 0 deletions