File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,13 @@ static void riscv32_regs_write(target_s *target, const void *data);
7171static int riscv32_breakwatch_set (target_s * target , breakwatch_s * breakwatch );
7272static int riscv32_breakwatch_clear (target_s * target , breakwatch_s * breakwatch );
7373
74+ bool hazard3_probe (target_s * const target )
75+ {
76+ target -> driver = "Hazard3" ;
77+ target_add_ram32 (target , 0x0 , 131072 );
78+ return true;
79+ }
80+
7481bool riscv32_probe (target_s * const target )
7582{
7683 /* 'E' base ISA has 16 GPRs + PC, 'I' base ISA has 32 GPRs + PC */
@@ -95,6 +102,9 @@ bool riscv32_probe(target_s *const target)
95102 case JEP106_MANUFACTURER_RASPBERRY :
96103 PROBE (rp2350_probe );
97104 break ;
105+ case 0xe77 :
106+ PROBE (hazard3_probe );
107+ break ;
98108 default :
99109 break ;
100110 }
You can’t perform that action at this time.
0 commit comments