diff options
author | Bin Meng <bin.meng@windriver.com> | 2022-03-15 14:55:23 +0800 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2022-04-22 10:35:16 +1000 |
commit | 95799e36c15a9ab602a388491c40f6860f6ae8bf (patch) | |
tree | 9f91e8ed27cb9fe2b9cf437341af53daf2c33647 /qobject | |
parent | 33fe584f7026bfaa13bb8a943f85c879e06bbdc6 (diff) | |
download | qemu-95799e36c15a9ab602a388491c40f6860f6ae8bf.zip qemu-95799e36c15a9ab602a388491c40f6860f6ae8bf.tar.gz qemu-95799e36c15a9ab602a388491c40f6860f6ae8bf.tar.bz2 |
target/riscv: Add initial support for the Sdtrig extension
This adds initial support for the Sdtrig extension via the Trigger
Module, as defined in the RISC-V Debug Specification [1].
Only "Address / Data Match" trigger (type 2) is implemented as of now,
which is mainly used for hardware breakpoint and watchpoint. The number
of type 2 triggers implemented is 2, which is the number that we can
find in the SiFive U54/U74 cores.
[1] https://github.com/riscv/riscv-debug-spec/raw/master/riscv-debug-stable.pdf
Signed-off-by: Bin Meng <bin.meng@windriver.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220315065529.62198-2-bmeng.cn@gmail.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'qobject')
0 files changed, 0 insertions, 0 deletions