\r
AsmReadIdtr (&IdtDescriptor);\r
IdtTable = (IA32_IDT_GATE_DESCRIPTOR *)IdtDescriptor.Base;\r
- \r
+\r
Exception0StubHeader = (EXCEPTION0_STUB_HEADER *)ArchGetIdtHandler (&IdtTable[0]);\r
return Exception0StubHeader->ExceptionHandlerData;\r
}\r
exception handler data. The new allocated memory layout follows structure EXCEPTION0_STUB_HEADER.\r
The code assumes that all processors uses the same exception handler for #0 exception.\r
\r
- @param pointer to exception handler data.\r
+ @param ExceptionHandlerData pointer to exception handler data.\r
**/\r
VOID\r
SetExceptionHandlerData (\r
//\r
AsmReadIdtr (&IdtDescriptor);\r
IdtTable = (IA32_IDT_GATE_DESCRIPTOR *)IdtDescriptor.Base;\r
- \r
+\r
Exception0StubHeader = AllocatePool (sizeof (*Exception0StubHeader));\r
ASSERT (Exception0StubHeader != NULL);\r
CopyMem (\r