2010-02-10 23:24:59 +00:00
|
|
|
/*
|
2015-11-04 13:30:52 +00:00
|
|
|
* FILE: hal/halx86/generic/trap.S
|
2010-02-10 23:24:59 +00:00
|
|
|
* COPYRIGHT: See COPYING in the top level directory
|
|
|
|
* PURPOSE: System Traps, Entrypoints and Exitpoints
|
|
|
|
* PROGRAMMER: Timo Kreuzer (timo.kreuzer@reactos.org)
|
|
|
|
* NOTE: See asmmacro.S for the shared entry/exit code.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* INCLUDES ******************************************************************/
|
|
|
|
|
2010-11-27 22:12:15 +00:00
|
|
|
#include <asm.inc>
|
|
|
|
|
|
|
|
#include <ks386.inc>
|
2010-02-10 23:24:59 +00:00
|
|
|
#include <internal/i386/asmmacro.S>
|
|
|
|
|
2010-11-27 22:12:15 +00:00
|
|
|
.code
|
2010-02-10 23:24:59 +00:00
|
|
|
|
|
|
|
TRAP_ENTRY HalpTrap0D, 0
|
|
|
|
TRAP_ENTRY HalpApcInterrupt, KI_SOFTWARE_TRAP
|
|
|
|
TRAP_ENTRY HalpClockInterrupt, KI_PUSH_FAKE_ERROR_CODE
|
|
|
|
TRAP_ENTRY HalpProfileInterrupt, KI_PUSH_FAKE_ERROR_CODE
|
|
|
|
|
2010-11-27 22:12:15 +00:00
|
|
|
END
|