2017-11-05 07:44:57 -05:00
|
|
|
#include "interrupt.h"
|
2017-11-05 04:50:04 -05:00
|
|
|
#include "kprintf.h"
|
|
|
|
|
|
|
|
void syscall_handler(struct IsrRegisters regs)
|
|
|
|
{
|
2017-11-05 08:54:23 -05:00
|
|
|
const unsigned int id = regs.eax & 0xFFFF;
|
2017-11-05 04:50:04 -05:00
|
|
|
|
|
|
|
kprintf("syscall %u\n", id);
|
|
|
|
}
|