diff --git a/machine/minit.c b/machine/minit.c index b8c9eac..903a382 100644 --- a/machine/minit.c +++ b/machine/minit.c @@ -133,7 +133,7 @@ static void hart_plic_init() for (size_t i = 0; i < ie_words; i++) { if (HLS()->plic_s_ie) { // Supervisor not always present - HLS()->plic_s_ie[i] = ULONG_MAX; + HLS()->plic_s_ie[i] = 0; } } *HLS()->plic_m_thresh = 1;