TianoCore EDK2 master
|
#include <Base.h>
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Protocol/ArmScmiBaseProtocol.h>
#include <Protocol/ArmScmiClockProtocol.h>
#include <Protocol/ArmScmiPerformanceProtocol.h>
#include "ArmScmiBaseProtocolPrivate.h"
#include "ArmScmiClockProtocolPrivate.h"
#include "ArmScmiPerformanceProtocolPrivate.h"
#include "ScmiDxe.h"
#include "ScmiPrivate.h"
Go to the source code of this file.
Functions | |
EFI_STATUS EFIAPI | ArmScmiDxeEntryPoint (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable) |
Variables | |
STATIC CONST SCMI_PROTOCOL_ENTRY | Protocols [] |
Copyright (c) 2017-2021, Arm Limited. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file ScmiDxe.c.
EFI_STATUS EFIAPI ArmScmiDxeEntryPoint | ( | IN EFI_HANDLE | ImageHandle, |
IN EFI_SYSTEM_TABLE * | SystemTable | ||
) |
ARM SCMI driver entry point function.
This function installs the SCMI Base protocol and a list of other protocols is queried using the Base protocol. If protocol is supported, driver will call each protocol init function to install the protocol on the ImageHandle.
[in] | ImageHandle | Handle to this EFI Image which will be used to install Base, Clock and Performance protocols. |
[in] | SystemTable | A pointer to boot time system table. |
EFI_SUCCESS | Driver initalized successfully. |
EFI_UNSUPPORTED | If SCMI base protocol version is not supported. |
!(EFI_SUCCESS) | Other errors. |
STATIC CONST SCMI_PROTOCOL_ENTRY Protocols[] |