TianoCore EDK2 master
|
#include <Base.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/MmServicesTableLib.h>
#include <Protocol/SpiSmmConfiguration.h>
#include <Protocol/SpiSmmHc.h>
#include <Protocol/SpiIo.h>
#include "SpiBus.h"
Go to the source code of this file.
Functions | |
EFI_STATUS EFIAPI | SpiBusEntry (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
SPI bus SMM driver
Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file SpiBusSmm.c.
EFI_STATUS EFIAPI SpiBusEntry | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
Entry point of the Spi Bus layer
[in] | ImageHandle | Image handle of this driver. |
[in] | SystemTable | Pointer to standard EFI system table. |
EFI_SUCCESS | Succeed. |
EFI_DEVICE_ERROR | Fail to install EFI_SPI_HC_PROTOCOL protocol. |
EFI_NOT_FOUND | fail to locate SpiHcProtocol or SpiIoConfigurationProtocol |
EFI_OUT_OF_RESOURCES | Failed to allocate SpiIoChip |
Definition at line 32 of file SpiBusSmm.c.