Remove reference to H-mode in ECALL
authorAndrew Waterman <andrew@sifive.com>
Fri, 30 Jun 2017 20:19:18 +0000 (13:19 -0700)
committerAndrew Waterman <andrew@sifive.com>
Fri, 30 Jun 2017 20:19:18 +0000 (13:19 -0700)
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();
 }