Remove reference to H-mode in ECALL
[riscv-isa-sim.git] / riscv / insns / ecall.h
index a933e4d2fa87fc1b5d09030b9ac23fe5b5833ba8..e298ac722bca931646fe052a85448590aae09e78 100644 (file)
@@ -2,6 +2,6 @@ switch (STATE.prv)
 {
   case PRV_U: throw trap_user_ecall();
   case PRV_S: throw trap_supervisor_ecall();
-  case PRV_H: throw trap_hypervisor_ecall();
   case PRV_M: throw trap_machine_ecall();
+  default: abort();
 }