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

Go to the source code of this file.

Functions

RETURN_STATUS EFIAPI ArmVirtQemuMonitorLibConstructor (VOID)
 
VOID EFIAPI ArmMonitorCall (IN OUT ARM_MONITOR_ARGS *Args)
 

Variables

STATIC UINT32 mArmSmcccMethod
 

Detailed Description

Arm Monitor Library that chooses the conduit based on the PSCI node in the device tree provided by QEMU

Copyright (c) 2022, Arm Limited. All rights reserved.
Copyright (c) 2024, Google LLC. All rights reserved.

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

Definition in file ArmVirtQemuMonitorLib.c.

Function Documentation

◆ ArmMonitorCall()

VOID EFIAPI ArmMonitorCall ( IN OUT ARM_MONITOR_ARGS Args)

Monitor call.

An HyperVisor Call (HVC) or System Monitor Call (SMC) will be issued depending on the default conduit.

Parameters
[in,out]ArgsArguments for the HVC/SMC.

Definition at line 84 of file ArmVirtQemuMonitorLib.c.

◆ ArmVirtQemuMonitorLibConstructor()

RETURN_STATUS EFIAPI ArmVirtQemuMonitorLibConstructor ( VOID  )

Library constructor.

Assign the global variable mArmSmcccMethod based on the PSCI node in the device tree.

Definition at line 32 of file ArmVirtQemuMonitorLib.c.

Variable Documentation

◆ mArmSmcccMethod

STATIC UINT32 mArmSmcccMethod

Definition at line 23 of file ArmVirtQemuMonitorLib.c.