TianoCore EDK2 master
Loading...
Searching...
No Matches
ArmCrashDumpDxe.c
Go to the documentation of this file.
1
9#include <PiDxe.h>
10#include <Library/DebugLib.h>
13#include <Protocol/Cpu.h>
14
16
18EFIAPI
19ArmCrashDumpDxeInitialize (
20 IN EFI_HANDLE ImageHandle,
21 IN EFI_SYSTEM_TABLE *SystemTable
22 )
23{
24 EFI_STATUS Status;
25
26 Status = gBS->LocateProtocol (&gEfiCpuArchProtocolGuid, NULL, (VOID **)&mCpu);
27 ASSERT_EFI_ERROR (Status);
28
29 return mCpu->RegisterInterruptHandler (
30 mCpu,
33 );
34}
VOID DefaultExceptionHandler(IN EFI_EXCEPTION_TYPE ExceptionType, IN OUT EFI_SYSTEM_CONTEXT SystemContext)
#define NULL
Definition: Base.h:319
#define STATIC
Definition: Base.h:264
#define IN
Definition: Base.h:279
#define ASSERT_EFI_ERROR(StatusParameter)
Definition: DebugLib.h:462
#define EXCEPT_AARCH64_SYNCHRONOUS_EXCEPTIONS
Definition: DebugSupport.h:517
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33
EFI_BOOT_SERVICES * gBS