1
0
Fork 0
mirror of https://github.com/tailix/kernel.git synced 2024-10-30 12:03:52 -04:00
kernel/src/isr.c

15 lines
491 B
C
Raw Normal View History

2017-11-01 02:07:03 -04:00
#include "logger.h"
2017-11-01 02:29:53 -04:00
struct IsrRegisters {
unsigned int ds; // Data segment selector
unsigned int edi, esi, ebp, esp, ebx, edx, ecx, eax; // Pushed by pusha.
unsigned int int_no, err_code; // Interrupt number and error code (if applicable)
unsigned int eip, cs, eflags, useresp, ss; // Pushed by the processor automatically.
};
// void isr(struct IsrRegisters regs)
2017-11-01 02:07:03 -04:00
void isr()
{
logger_warn("ISR.");
}