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