smol-gilbraltar/kernel/interrupt_handler.c

14 lines
245 B
C
Raw Normal View History

2024-12-23 00:46:17 +00:00
#include <log.h>
2024-12-20 22:45:12 +00:00
void gilbraltar_interrupt_handler(void) {
2024-12-23 00:46:17 +00:00
gilbraltar_log(DEBUG, "Interruption.\r\n");
2024-12-20 22:45:12 +00:00
while (1)
__asm__ __volatile("wfi");
}
void gilbraltar_secure_monitor_handler(void) {
while (1)
__asm__ __volatile("wfi");
}