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

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 []
 

Detailed Description

Copyright (c) 2017-2021, Arm Limited. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Specification Reference:

Definition in file ScmiDxe.c.

Function Documentation

◆ ArmScmiDxeEntryPoint()

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.

Parameters
[in]ImageHandleHandle to this EFI Image which will be used to install Base, Clock and Performance protocols.
[in]SystemTableA pointer to boot time system table.
Return values
EFI_SUCCESSDriver initalized successfully.
EFI_UNSUPPORTEDIf SCMI base protocol version is not supported.
!(EFI_SUCCESS)Other errors.

Definition at line 49 of file ScmiDxe.c.

Variable Documentation

◆ Protocols

Initial value:
= {
{ ScmiProtocolIdBase, ScmiBaseProtocolInit },
{ ScmiProtocolIdPerformance, ScmiPerformanceProtocolInit },
{ ScmiProtocolIdClock, ScmiClockProtocolInit }
}
EFI_STATUS ScmiBaseProtocolInit(IN OUT EFI_HANDLE *Handle)
EFI_STATUS ScmiClockProtocolInit(IN EFI_HANDLE *Handle)
EFI_STATUS ScmiPerformanceProtocolInit(IN EFI_HANDLE *Handle)

Definition at line 26 of file ScmiDxe.c.