From a327416eac285f50dcbb04e8ddf89204c66ece02 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Fri, 30 Jun 2017 13:19:18 -0700 Subject: [PATCH] Remove reference to H-mode in ECALL --- riscv/insns/ecall.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/riscv/insns/ecall.h b/riscv/insns/ecall.h index a933e4d..e298ac7 100644 --- a/riscv/insns/ecall.h +++ b/riscv/insns/ecall.h @@ -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(); } -- 2.30.2