Mirror von
https://github.com/riscv-software-src/opensbi.git
synchronisiert 2026-09-10 19:11:43 +01:00
lib: sbi: Detect support of debug triggers
Detect if debug triggers, sdtrig extension, is supported by the CPU. The support is detected by access traps and ISA string parsing. Signed-off-by: Himanshu Chauhan <hchauhan@ventanamicro.com> Reviewed-by: Anup Patel <anup@brainfault.org>
Dieser Commit ist enthalten in:
committet von
Anup Patel
Ursprung
24997697ae
Commit
40dac6bcfe
@@ -53,6 +53,8 @@ enum sbi_hart_extensions {
|
||||
SBI_HART_EXT_ZICBOM,
|
||||
/** Hart has Svpbmt extension */
|
||||
SBI_HART_EXT_SVPBMT,
|
||||
/** Hart has debug trigger extension */
|
||||
SBI_HART_EXT_SDTRIG,
|
||||
|
||||
/** Maximum index of Hart extension */
|
||||
SBI_HART_EXT_MAX,
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren