Fix boot script thunk issue that we need dispatch in PEI mode for Framework dispatch function, not in DXE mode.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11189 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -21,9 +21,25 @@
|
||||
#include <Library/BaseLib.h>
|
||||
#include <Library/DebugLib.h>
|
||||
#include <Library/UefiBootServicesTableLib.h>
|
||||
#include <Library/UefiRuntimeServicesTableLib.h>
|
||||
#include <Library/SmbusLib.h>
|
||||
#include <Library/PeCoffLib.h>
|
||||
#include <Library/PcdLib.h>
|
||||
#include <Library/MemoryAllocationLib.h>
|
||||
#include <Library/DxeServicesLib.h>
|
||||
#include <Library/CacheMaintenanceLib.h>
|
||||
|
||||
#include <Guid/BootScriptThunkData.h>
|
||||
|
||||
#include <IndustryStandard/SmBus.h>
|
||||
|
||||
typedef
|
||||
EFI_STATUS
|
||||
(EFIAPI *DISPATCH_ENTRYPOINT_FUNC) (
|
||||
IN EFI_HANDLE ImageHandle,
|
||||
IN VOID *Context
|
||||
);
|
||||
|
||||
/**
|
||||
Adds a record into a specified Framework boot script table.
|
||||
|
||||
|
Reference in New Issue
Block a user