# Copyright (c) 2007 - 2019, Intel Corporation. All rights reserved.<BR>\r
# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
# Portions copyright (c) 2011 - 2013, ARM Ltd. All rights reserved.<BR>\r
+# Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>\r
#\r
# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
LIBRARY_CLASS = BaseLib\r
\r
#\r
-# VALID_ARCHITECTURES = IA32 X64 EBC ARM AARCH64\r
+# VALID_ARCHITECTURES = IA32 X64 EBC ARM AARCH64 RISCV64\r
#\r
\r
[Sources]\r
AArch64/CpuBreakpoint.asm | MSFT\r
AArch64/SpeculationBarrier.asm | MSFT\r
\r
+[Sources.RISCV64]\r
+ Math64.c\r
+ Unaligned.c\r
+ RiscV64/InternalSwitchStack.c\r
+ RiscV64/CpuBreakpoint.c\r
+ RiscV64/GetInterruptState.c\r
+ RiscV64/DisableInterrupts.c\r
+ RiscV64/EnableInterrupts.c\r
+ RiscV64/CpuPause.c\r
+ RiscV64/RiscVSetJumpLongJump.S | GCC\r
+ RiscV64/RiscVCpuBreakpoint.S | GCC\r
+ RiscV64/RiscVCpuPause.S | GCC\r
+ RiscV64/RiscVInterrupt.S | GCC\r
+ RiscV64/FlushCache.S | GCC\r
+\r
[Packages]\r
MdePkg/MdePkg.dec\r
\r