IA32_IDT_GATE_DESCRIPTOR *IdtEntry;\r
IA32_DESCRIPTOR *IdtDescriptor;\r
UINTN S3DebugBuffer;\r
+ EFI_STATUS Status;\r
\r
//\r
// Restore IDT for debug\r
//\r
// Setup the default CPU exception handlers\r
//\r
- SetupCpuExceptionHandlers ();\r
+ Status = InitializeCpuExceptionHandlers (NULL);\r
+ ASSERT_EFI_ERROR (Status);\r
\r
DEBUG_CODE (\r
//\r