armOS  0.1.0
Minimal ARM Operating System for the Raspberry Pi - Documentation generated for Pi 4.
irq.c File Reference

Implementation of interrupt handling functions. More...

#include <stdint.h>
#include <kernel/printk.h>
#include <kernel/mmio.h>
#include <kernel/uart.h>
#include <kernel/timer.h>
#include <peripherals/irq.h>
#include <peripherals/aux.h>
Include dependency graph for irq.c:

Functions

void enable_interrupt_controller ()
 
void show_invalid_entry_message (int type, uint64_t esr, uint64_t address)
 
void handle_irq ()
 

Variables

const char entry_error_messages [16][32]
 

Detailed Description

Implementation of interrupt handling functions.

Function Documentation

◆ show_invalid_entry_message()

void show_invalid_entry_message ( int  type,
uint64_t  esr,
uint64_t  address 
)

Variable Documentation

◆ entry_error_messages

const char entry_error_messages[16][32]
Initial value:
= {
"SYNC_INVALID_EL1t",
"IRQ_INVALID_EL1t",
"FIQ_INVALID_EL1t",
"ERROR_INVALID_EL1T",
"SYNC_INVALID_EL1h",
"IRQ_INVALID_EL1h",
"FIQ_INVALID_EL1h",
"ERROR_INVALID_EL1h",
"SYNC_INVALID_EL0_64",
"IRQ_INVALID_EL0_64",
"FIQ_INVALID_EL0_64",
"ERROR_INVALID_EL0_64",
"SYNC_INVALID_EL0_32",
"IRQ_INVALID_EL0_32",
"FIQ_INVALID_EL0_32",
"ERROR_INVALID_EL0_32"
}

String array, for the invalid exception type messages.