/** * PROJECT: ExectOS * COPYRIGHT: See COPYING.md in the top level directory * FILE: xtoskrnl/ar/amd64/traps.c * DESCRIPTION: AMD64 system traps * DEVELOPERS: Rafal Kupiec */ #include XTCDECL VOID ArpHandleSystemCall32() { DebugPrint(L"Handled 32-bit system call!\n"); } XTCDECL VOID ArpHandleSystemCall64() { DebugPrint(L"Handled 64-bit system call!\n"); } /** * Handles a trap. * * @param Registers * Supplies a structure containing the values of all general-purpose registers. * * @return This routine does not return any value. * * @since XT 1.0 */ XTCDECL VOID ArpHandleTrap(EXCEPTION_REGISTERS Registers) { DebugPrint(L"I came, I saw.\n"); DebugPrint(L"Vector: %d\n", Registers.Rip); for(;;); }