From 13b9cd86924ae109e8a274d1c7bd91dc4fd33491 Mon Sep 17 00:00:00 2001 From: Rodrigo Arias Mallo Date: Thu, 29 Aug 2024 15:06:30 +0200 Subject: [PATCH] Don't enable machine interrupts in delegation test --- opensbi-test-plic.patch | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/opensbi-test-plic.patch b/opensbi-test-plic.patch index 427072d..ac25326 100644 --- a/opensbi-test-plic.patch +++ b/opensbi-test-plic.patch @@ -175,10 +175,10 @@ index 0ae604a..7b1d95e 100644 + csr_write(CSR_MIP, 0); + + /* Enable external timer interrupts */ -+ sbi_printf("Enabling MEIE in MIE register\n"); -+ csr_set(CSR_MIE, MIE_MEIE); /* Needed? */ -+ sbi_printf("Enabling MIE in MSTATUS register\n"); -+ csr_set(CSR_MSTATUS, MSTATUS_MIE); /* Needed? */ ++ //sbi_printf("Enabling MEIE in MIE register\n"); ++ //csr_set(CSR_MIE, MIE_MEIE); /* Needed? */ ++ //sbi_printf("Enabling MIE in MSTATUS register\n"); ++ //csr_set(CSR_MSTATUS, MSTATUS_MIE); /* Needed? */ + + sbi_printf("Switching to supervisor\n"); +