Once more... Less sloppy this time.
Change-Id: I4a24e777af3a0d8e072bc1bce0b314738393aa86riscv-compliance-dev
parent
0c05aafbf8
commit
224e7b4f16
|
@ -2329,7 +2329,7 @@ int riscv_init_registers(struct target *target)
|
|||
* U-mode but without U-mode trap support, the medeleg and
|
||||
* mideleg registers should not exist." */
|
||||
r->exist = riscv_supports_extension(target, 'S') ||
|
||||
!riscv_supports_extension(target, 'N');
|
||||
riscv_supports_extension(target, 'N');
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue