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>
This commit is contained in:
committed by
mergify[bot]
parent
cafb4f3f36
commit
2900e75511
@@ -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 (
|
||||
|
Reference in New Issue
Block a user