TianoCore EDK2 master
Loading...
Searching...
No Matches
SpiHcDxe.c File Reference

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
 

Detailed Description

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.

Function Documentation

◆ SpiHcProtocolEntry()

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.

Parameters
[in]ImageHandleImage handle of this driver.
[in]SystemTablePointer to standard EFI system table.
Return values
EFI_SUCCESSSucceed.
EFI_OUT_RESOURCESIf the system has run out of memory

Definition at line 37 of file SpiHcDxe.c.

Variable Documentation

◆ mSpiHcHandle

EFI_HANDLE mSpiHcHandle = 0

Definition at line 22 of file SpiHcDxe.c.