TianoCore EDK2 master
|
#include <Uefi.h>
#include <Protocol/LoadedImage.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/QemuFwCfgSimpleParserLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiDriverEntryPoint.h>
Go to the source code of this file.
Functions | |
STATIC EFI_STATUS EFIAPI | _DriverUnloadHandler (EFI_HANDLE ImageHandle) |
EFI_STATUS EFIAPI | _ModuleEntryPoint (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
Entry point to a EFI/DXE driver. This version is specific to QEMU, and ties dispatch of the driver in question on the value of a QEMU fw_cfg boolean variable which is referenced by name via a fixed pointer PCD.
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
Copyright (c) 2022, Google LLC. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file UefiDriverEntryPointFwCfgOverrideLib.c.
STATIC EFI_STATUS EFIAPI _DriverUnloadHandler | ( | EFI_HANDLE | ImageHandle | ) |
Unloads an image from memory.
This function is a callback that a driver registers to do cleanup when the UnloadImage boot service function is called.
ImageHandle | The handle to the image to unload. |
Definition at line 36 of file UefiDriverEntryPointFwCfgOverrideLib.c.
EFI_STATUS EFIAPI _ModuleEntryPoint | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
The entry point of PE/COFF Image for a DXE Driver, DXE Runtime Driver, or UEFI Driver.
ImageHandle | The image handle of the DXE Driver, DXE Runtime Driver, or UEFI Driver. |
SystemTable | A pointer to the EFI System Table. |
EFI_SUCCESS | The DXE Driver, DXE Runtime Driver, or UEFI Driver exited normally. |
EFI_INCOMPATIBLE_VERSION | _gUefiDriverRevision is greater than SystemTable->Hdr.Revision. |
Other | Return value from ProcessModuleEntryPointList(). |
Definition at line 81 of file UefiDriverEntryPointFwCfgOverrideLib.c.