TianoCore EDK2 master
|
#include <Base.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/PcdLib.h>
#include <Library/UefiLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiRuntimeServicesTableLib.h>
#include <Library/SpiHcPlatformLib.h>
#include <Protocol/SpiHc.h>
#include <IndustryStandard/SpiNorFlashJedecSfdp.h>
#include "SpiHc.h"
Go to the source code of this file.
Functions | |
EFI_STATUS EFIAPI | SpiHcProtocolEntry (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
Variables | |
EFI_HANDLE | mSpiHcHandle = 0 |
SPI Host controller entry point for DXE
Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file SpiHcDxe.c.
EFI_STATUS EFIAPI SpiHcProtocolEntry | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
Entry point of the SPI Host Controller driver. Installs the EFI_SPI_HC_PROTOCOL on mSpiHcHandle. Also installs the EFI_DEVICE_PATH_PROTOCOL corresponding to the SPI Host controller on the same mSpiHcHandle.
[in] | ImageHandle | Image handle of this driver. |
[in] | SystemTable | Pointer to standard EFI system table. |
EFI_SUCCESS | Succeed. |
EFI_OUT_RESOURCES | If the system has run out of memory |
Definition at line 37 of file SpiHcDxe.c.
EFI_HANDLE mSpiHcHandle = 0 |
Definition at line 22 of file SpiHcDxe.c.