TianoCore EDK2 master
|
#include <PiDxe.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/ArmHvcLib.h>
#include <Library/ArmMonitorLib.h>
#include <Library/ArmSmcLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Protocol/FdtClient.h>
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 |
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.
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.
[in,out] | Args | Arguments for the HVC/SMC. |
Definition at line 84 of file ArmVirtQemuMonitorLib.c.
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.
STATIC UINT32 mArmSmcccMethod |
Definition at line 23 of file ArmVirtQemuMonitorLib.c.