## @file\r
# Instance of CPU Library for various architecture.\r
#\r
-# CPU Library implemented using ASM functions for IA-32 and X64,\r
+# CPU Library implemented using ASM functions for IA32, X64, ARM, AARCH64,\r
# PAL CALLs for IPF, and empty functions for EBC.\r
#\r
-# Copyright (c) 2007 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2007 - 2018, 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
-# This program and the accompanying materials\r
-# are licensed and made available under the terms and conditions of the BSD License\r
-# which accompanies this distribution. The full text of the license may be found at\r
-# http://opensource.org/licenses/bsd-license.php.\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
#\r
##\r
FILE_GUID = 4FBD2538-249C-4b50-8F4A-A9E66609CBF6\r
MODULE_TYPE = BASE\r
VERSION_STRING = 1.0\r
- LIBRARY_CLASS = CpuLib \r
+ LIBRARY_CLASS = CpuLib\r
\r
\r
#\r
-# VALID_ARCHITECTURES = IA32 X64 IPF EBC ARM AARCH64\r
+# VALID_ARCHITECTURES = IA32 X64 EBC ARM AARCH64 RISCV64\r
#\r
\r
[Sources.IA32]\r
- Ia32/CpuSleep.c | MSFT \r
- Ia32/CpuFlushTlb.c | MSFT \r
+ Ia32/CpuSleep.c | MSFT\r
+ Ia32/CpuFlushTlb.c | MSFT\r
\r
- Ia32/CpuSleep.asm | INTEL \r
- Ia32/CpuFlushTlb.asm | INTEL \r
+ Ia32/CpuSleep.nasm| INTEL\r
+ Ia32/CpuFlushTlb.nasm| INTEL\r
\r
- Ia32/CpuSleepGcc.c | GCC \r
- Ia32/CpuFlushTlbGcc.c | GCC \r
+ Ia32/CpuSleepGcc.c | GCC\r
+ Ia32/CpuFlushTlbGcc.c | GCC\r
\r
[Sources.X64]\r
- X64/CpuFlushTlb.asm \r
- X64/CpuSleep.asm\r
+ X64/CpuFlushTlb.nasm\r
+ X64/CpuSleep.nasm\r
\r
- X64/CpuSleep.S | GCC \r
- X64/CpuFlushTlb.S | GCC \r
-\r
-[Sources.IPF]\r
- Ipf/CpuFlushTlb.s\r
- Ipf/CpuSleep.c\r
\r
[Sources.EBC]\r
Ebc/CpuSleepFlushTlb.c\r
\r
[Sources.ARM]\r
Arm/CpuFlushTlb.asm | RVCT\r
- Arm/CpuSleep.asm | RVCT \r
+ Arm/CpuSleep.asm | RVCT\r
+ Arm/CpuFlushTlb.asm | MSFT\r
+ Arm/CpuSleep.asm | MSFT\r
Arm/CpuFlushTlb.S | GCC\r
- Arm/CpuSleep.S | GCC \r
+ Arm/CpuSleep.S | GCC\r
\r
[Sources.AARCH64]\r
- AArch64/CpuFlushTlb.S | GCC\r
- AArch64/CpuSleep.S | GCC\r
+ AArch64/CpuFlushTlb.S | GCC\r
+ AArch64/CpuSleep.S | GCC\r
+ AArch64/CpuFlushTlb.asm | MSFT\r
+ AArch64/CpuSleep.asm | MSFT\r
+\r
+[Sources.RISCV64]\r
+ RiscV/Cpu.S\r
\r
[Packages]\r
MdePkg/MdePkg.dec\r
\r
\r
-[LibraryClasses.IPF]\r
- PalLib\r
- BaseLib\r
-\r