diff options
author | Andrei Warkentin <andrei.warkentin@intel.com> | 2023-02-28 17:30:19 -0600 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-05-17 23:47:20 +0000 |
commit | 2900e755113c8f923e16a8b5f16258afd25221a0 (patch) | |
tree | 0ede74319d2546a1d747d2984564cb34adca7db1 /MdePkg/Library | |
parent | cafb4f3f36e2101cab2ed6db3ea246a5a3e4708e (diff) | |
download | edk2-2900e755113c8f923e16a8b5f16258afd25221a0.zip edk2-2900e755113c8f923e16a8b5f16258afd25221a0.tar.gz edk2-2900e755113c8f923e16a8b5f16258afd25221a0.tar.bz2 |
MdePkg: BaseRiscVSbiLib: make more useful to consumers
Add a few more definitions and make SbiCall and TranslateError
usable (not static) by library users.
Cc: Daniel Schaefer <git@danielschaefer.me>
Signed-off-by: Andrei Warkentin <andrei.warkentin@intel.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Sunil V L <sunilvl@ventanamicro.com>
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'MdePkg/Library')
-rw-r--r-- | MdePkg/Library/BaseRiscVSbiLib/BaseRiscVSbiLib.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/MdePkg/Library/BaseRiscVSbiLib/BaseRiscVSbiLib.c b/MdePkg/Library/BaseRiscVSbiLib/BaseRiscVSbiLib.c index 2ba8f5e..1141abf 100644 --- a/MdePkg/Library/BaseRiscVSbiLib/BaseRiscVSbiLib.c +++ b/MdePkg/Library/BaseRiscVSbiLib/BaseRiscVSbiLib.c @@ -4,6 +4,7 @@ It allows calling an SBI function via an ecall from S-Mode.
Copyright (c) 2021-2022, Hewlett Packard Development LP. All rights reserved.<BR>
+ Copyright (c) 2023, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
@@ -31,7 +32,6 @@ @retval Returns SBI_RET structure with value and error code.
**/
-STATIC
SBI_RET
EFIAPI
SbiCall (
@@ -88,7 +88,6 @@ SbiCall ( @param[in] SbiError SBI error code
@retval EFI_STATUS
**/
-STATIC
EFI_STATUS
EFIAPI
TranslateError (
|