]> git.proxmox.com Git - mirror_edk2.git/blob - ArmPkg/Library/ArmHvcLibNull/ArmHvcLibNull.c
ArmPkg/ArmHvcLibNull: Add NULL instance of ArmHvcLib
[mirror_edk2.git] / ArmPkg / Library / ArmHvcLibNull / ArmHvcLibNull.c
1 /** @file
2 Arm HyperVisor Call (HVC) Null Library.
3
4 Copyright (c) 2022, Arm Limited. All rights reserved.<BR>
5
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8 **/
9
10 #include <Library/ArmHvcLib.h>
11 #include <Library/DebugLib.h>
12
13 /**
14 Trigger an HVC call
15
16 HVC calls can take up to 8 arguments and return up to 4 return values.
17 Therefore, the 4 first fields in the ARM_HVC_ARGS structure are used
18 for both input and output values.
19
20 @param [in,out] Args Arguments for the HVC call.
21 **/
22 VOID
23 ArmCallHvc (
24 IN OUT ARM_HVC_ARGS *Args
25 )
26 {
27 ASSERT (FALSE);
28 return;
29 }