TianoCore EDK2 master
|
#include <PiDxe.h>
#include <Protocol/PciEnumerationComplete.h>
#include <Library/UefiDriverEntryPoint.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/DebugLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/UefiLib.h>
#include <Library/FspWrapperApiLib.h>
#include <Library/FspWrapperPlatformLib.h>
#include <Library/PerformanceLib.h>
#include <Library/HobLib.h>
#include <FspStatusCode.h>
Go to the source code of this file.
Data Structures | |
struct | _ADD_PERFORMANCE_RECORD_PROTOCOL |
Macros | |
#define | FSP_API_NOTIFY_PHASE_AFTER_PCI_ENUMERATION BIT16 |
Typedefs | |
typedef EFI_STATUS(EFIAPI * | ADD_PERFORMANCE_RECORDS) (IN CONST VOID *HobStart) |
typedef struct _ADD_PERFORMANCE_RECORD_PROTOCOL | ADD_PERFORMANCE_RECORD_PROTOCOL |
Functions | |
EFI_STATUS | RelocateImageUnder4GIfNeeded (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
VOID EFIAPI | OnPciEnumerationComplete (IN EFI_EVENT Event, IN VOID *Context) |
VOID EFIAPI | OnReadyToBoot (IN EFI_EVENT Event, IN VOID *Context) |
VOID EFIAPI | OnEndOfFirmware (IN EFI_EVENT Event, IN VOID *Context) |
EFI_STATUS EFIAPI | FspWrapperNotifyDxeEntryPoint (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
Variables | |
EFI_GUID | gAddPerfRecordProtocolGuid |
EFI_GUID | gFspHobGuid |
EFI_GUID | gFspApiPerformanceGuid |
This driver will register two callbacks to call fsp's notifies.
Copyright (c) 2014 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file FspWrapperNotifyDxe.c.
#define FSP_API_NOTIFY_PHASE_AFTER_PCI_ENUMERATION BIT16 |
Definition at line 24 of file FspWrapperNotifyDxe.c.
typedef struct _ADD_PERFORMANCE_RECORD_PROTOCOL ADD_PERFORMANCE_RECORD_PROTOCOL |
Definition at line 36 of file FspWrapperNotifyDxe.c.
typedef EFI_STATUS(EFIAPI * ADD_PERFORMANCE_RECORDS) (IN CONST VOID *HobStart) |
Definition at line 27 of file FspWrapperNotifyDxe.c.
EFI_STATUS EFIAPI FspWrapperNotifyDxeEntryPoint | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
Main entry for the FSP DXE module.
This routine registers two callbacks to call fsp's notifies.
[in] | ImageHandle | The firmware allocated handle for the EFI image. |
[in] | SystemTable | A pointer to the EFI System Table. |
EFI_SUCCESS | The entry point is executed successfully. |
other | Some error occurs when executing this entry point. |
Definition at line 227 of file FspWrapperNotifyDxe.c.
This stage is notified just before the firmware/Preboot environment transfers management of all system resources to the OS or next level execution environment.
Event | Event whose notification function is being invoked. |
Context | Pointer to the notification function's context, which is always zero in current implementation. |
Definition at line 164 of file FspWrapperNotifyDxe.c.
PciEnumerationComplete Protocol notification event handler.
[in] | Event | Event whose notification function is being invoked. |
[in] | Context | Pointer to the notification function's context. |
Definition at line 68 of file FspWrapperNotifyDxe.c.
Notification function of EVT_GROUP_READY_TO_BOOT event group.
This is a notification function registered on EVT_GROUP_READY_TO_BOOT event group. When the Boot Manager is about to load and execute a boot option, it reclaims variable storage if free size is below the threshold.
[in] | Event | Event whose notification function is being invoked. |
[in] | Context | Pointer to the notification function's context. |
Definition at line 123 of file FspWrapperNotifyDxe.c.
EFI_STATUS RelocateImageUnder4GIfNeeded | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
Relocate this image under 4G memory.
ImageHandle | Handle of driver image. |
SystemTable | Pointer to system table. |
EFI_SUCCESS | Image successfully relocated. |
EFI_ABORTED | Failed to relocate image. |
Definition at line 31 of file LoadBelow4G.c.