From 2900e755113c8f923e16a8b5f16258afd25221a0 Mon Sep 17 00:00:00 2001 From: Andrei Warkentin Date: Tue, 28 Feb 2023 17:30:19 -0600 Subject: 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 Signed-off-by: Andrei Warkentin Acked-by: Gerd Hoffmann Reviewed-by: Sunil V L Reviewed-by: Michael D Kinney --- MdePkg/Library/BaseRiscVSbiLib/BaseRiscVSbiLib.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'MdePkg/Library') diff --git a/MdePkg/Library/BaseRiscVSbiLib/BaseRiscVSbiLib.c b/MdePkg/Library/BaseRiscVSbiLib/BaseRiscVSbiLib.c index 2ba8f5ed36..1141abfab9 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.
+ Copyright (c) 2023, Intel Corporation. All rights reserved.
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 ( -- cgit v1.2.3