TianoCore EDK2 master
Loading...
Searching...
No Matches
ArmSmcLibNull.c
1//
2// Copyright (c) 2021, NUVIA Inc. All rights reserved.
3// Copyright (c) 2016, Linaro Limited. All rights reserved.
4//
5// SPDX-License-Identifier: BSD-2-Clause-Patent
6//
7//
8
9#include <Base.h>
10#include <Library/ArmSmcLib.h>
12
13VOID
15 IN OUT ARM_SMC_ARGS *Args
16 )
17{
18}
19
31 IN UINTN Function,
32 IN OUT UINTN *Arg1 OPTIONAL,
33 IN OUT UINTN *Arg2 OPTIONAL,
34 IN OUT UINTN *Arg3 OPTIONAL
35 )
36{
37 return SMC_ARCH_CALL_NOT_SUPPORTED;
38}
39
52 IN UINTN Function,
53 IN OUT UINTN *Arg1 OPTIONAL,
54 IN OUT UINTN *Arg2 OPTIONAL,
55 OUT UINTN *Arg3 OPTIONAL
56 )
57{
58 return SMC_ARCH_CALL_NOT_SUPPORTED;
59}
60
73 IN UINTN Function,
74 IN OUT UINTN *Arg1 OPTIONAL,
75 OUT UINTN *Arg2 OPTIONAL,
76 OUT UINTN *Arg3 OPTIONAL
77 )
78{
79 return SMC_ARCH_CALL_NOT_SUPPORTED;
80}
81
94 IN UINTN Function,
95 OUT UINTN *Arg1 OPTIONAL,
96 OUT UINTN *Arg2 OPTIONAL,
97 OUT UINTN *Arg3 OPTIONAL
98 )
99{
100 return SMC_ARCH_CALL_NOT_SUPPORTED;
101}
UINT64 UINTN
UINTN ArmCallSmc3(IN UINTN Function, IN OUT UINTN *Arg1 OPTIONAL, IN OUT UINTN *Arg2 OPTIONAL, IN OUT UINTN *Arg3 OPTIONAL)
Definition: ArmSmc.c:23
VOID ArmCallSmc(IN OUT ARM_SMC_ARGS *Args)
Definition: ArmSmcLibNull.c:14
UINTN ArmCallSmc2(IN UINTN Function, IN OUT UINTN *Arg1 OPTIONAL, IN OUT UINTN *Arg2 OPTIONAL, OUT UINTN *Arg3 OPTIONAL)
Definition: ArmSmc.c:79
UINTN ArmCallSmc1(IN UINTN Function, IN OUT UINTN *Arg1 OPTIONAL, OUT UINTN *Arg2 OPTIONAL, OUT UINTN *Arg3 OPTIONAL)
Definition: ArmSmc.c:100
UINTN ArmCallSmc0(IN UINTN Function, OUT UINTN *Arg1 OPTIONAL, OUT UINTN *Arg2 OPTIONAL, OUT UINTN *Arg3 OPTIONAL)
Definition: ArmSmc.c:121
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284