1 /* 2 * Copyright (c) 2021 Henrik Brix Andersen <henrik@brixandersen.dk> 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <zephyr/irq.h> 8 #include <soc.h> 9 10 #if defined(CONFIG_RISCV_SOC_INTERRUPT_INIT) soc_interrupt_init(void)11void soc_interrupt_init(void) 12 { 13 (void)arch_irq_lock(); 14 15 csr_write(mie, 0); 16 } 17 #endif 18