ReactOS
0.4.15-dev-4594-g505ac65
|
Go to the source code of this file.
Functions | |
void | HandleDoubleFault (FRAME *ptr) |
__asm__ (" \ NewDblFltHandler:\n\t \ pushfl\n\t \ cli;\n\t \ cld;\n\t \ pushal;\n\t \ pushl %ds;\n\t \ \n\t \ // setup default data selectors\n\t \ movw %ss,%ax\n\t \ movw %ax,%ds\n\t \ \n\t \ // get frame ptr\n\t \ lea 40(%esp),%eax\n\t \ pushl %eax\n\t \ call _HandleDoubleFault\n\t \ addl $4,%esp\n\t \ \n\t \ popl %ds\n\t \ popal\n\t \ popfl\n\t \ // remove error code from stack and replace with reason code\n\t \ movl $" STR(REASON_DOUBLE_FAULT) ",(%esp)\n\t \ // call debugger loop\n\t \ jmp NewInt31Handler\n\t") | |
void | InstallDblFltHook (void) |
void | DeInstallDblFltHook (void) |
Variables | |
ULONG | OldDblFltHandler = 0 |
__asm__ | ( | " \NewDblFltHandler:\n\t \ pushfl\n\t \ cli;\n\t \ cld;\n\t \ pushal;\n\t \ pushl %ds;\n\t \\n\t \ // setup default data selectors\n\t \ movw % | ss, |
%ax\n\t \ movw % | ax, | ||
%ds\n\t \\n\t \//get frame ptr\n\t \ lea | 40%esp, | ||
%eax\n\t \ pushl %eax\n\t \ call _HandleDoubleFault\n\t \ addl | $4, | ||
%esp\n\t \\n\t \ popl %ds\n\t \ popal\n\t \ popfl\n\t \//remove error code from stack and replace with reason code\n\t \ movl $" STR(REASON_DOUBLE_FAULT) " | , | ||
(%esp)\n\t \//call debugger loop\n\t \ jmp NewInt31Handler\n\t" | |||
) |
Referenced by InstallDblFltHook().
Definition at line 93 of file dblflt.c.
Referenced by InitPICE().
ULONG OldDblFltHandler = 0 |
Definition at line 42 of file dblflt.c.
Referenced by DeInstallDblFltHook(), and InstallDblFltHook().