From 7231f5a8582019ca5eb0037ba05ceed8c44f35a8 Mon Sep 17 00:00:00 2001 From: Chih-Min Chao Date: Tue, 14 Jul 2020 23:19:39 -0700 Subject: hyperviosr: add csr mask and interrupt macro name This part copy the implementation which has been merged in spike Signed-off-by: Chih-Min Chao --- parse_opcodes | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'parse_opcodes') diff --git a/parse_opcodes b/parse_opcodes index 4fd7489..56833be 100755 --- a/parse_opcodes +++ b/parse_opcodes @@ -60,11 +60,15 @@ causes = [ (0x07, 'store access'), (0x08, 'user_ecall'), (0x09, 'supervisor_ecall'), - (0x0A, 'hypervisor_ecall'), + (0x0A, 'virtual_supervisor_ecall'), (0x0B, 'machine_ecall'), (0x0C, 'fetch page fault'), (0x0D, 'load page fault'), (0x0F, 'store page fault'), + (0x14, 'fetch guest page fault'), + (0x15, 'load guest page fault'), + (0x16, 'virtual instruction'), + (0x17, 'store guest page fault'), ] csrs = [ -- cgit v1.1