## @file
|
# RISC-V OpenSBI Platform Library
|
# This is the the library which provides platform
|
# level opensbi functions follow RISC-V OpenSBI implementation.
|
#
|
# Copyright (c) 2019, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
|
#
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
#
|
##
|
|
[Defines]
|
INF_VERSION = 0x0001001b
|
BASE_NAME = RiscVOpensbiPlatformLib
|
FILE_GUID = 80C09428-44DD-437F-8252-F7AB64711AA5
|
MODULE_TYPE = SEC
|
VERSION_STRING = 1.0
|
LIBRARY_CLASS = RiscVOpensbiPlatformLib
|
|
#
|
# The following information is for reference only and not required by the build tools.
|
#
|
# VALID_ARCHITECTURES = RISCV64
|
#
|
|
[Sources]
|
Platform.c
|
|
[Packages]
|
EmbeddedPkg/EmbeddedPkg.dec
|
MdeModulePkg/MdeModulePkg.dec
|
MdePkg/MdePkg.dec
|
Platform/SiFive/U5SeriesPkg/U5SeriesPkg.dec
|
Platform/RISC-V/PlatformPkg/RiscVPlatformPkg.dec
|
Silicon/RISC-V/ProcessorPkg/RiscVProcessorPkg.dec
|
|
[LibraryClasses]
|
BaseLib
|
BaseMemoryLib
|
DebugLib
|
DebugAgentLib
|
FdtLib
|
PcdLib
|
PrintLib
|
RiscVCpuLib
|
|
[FixedPcd]
|
gUefiRiscVPlatformPkgTokenSpaceGuid.PcdBootHartId
|
gUefiRiscVPlatformPkgTokenSpaceGuid.PcdHartCount
|
gUefiRiscVPlatformPkgTokenSpaceGuid.PcdBootableHartNumber
|
gUefiRiscVPlatformPkgTokenSpaceGuid.PcdOpenSbiStackSize
|
|
gSiFiveU5SeriesPlatformsPkgTokenSpaceGuid.PcdU5UartBase
|
gSiFiveU5SeriesPlatformsPkgTokenSpaceGuid.PcdU5PlatformSystemClock
|