]> git.proxmox.com Git - mirror_edk2.git/commitdiff
MdePkg/BaseCpuLib: Remove .S files for IA32 and X64 arch
authorShenglei Zhang <shenglei.zhang@intel.com>
Thu, 7 Mar 2019 00:51:17 +0000 (08:51 +0800)
committerLiming Gao <liming.gao@intel.com>
Wed, 3 Apr 2019 05:27:43 +0000 (13:27 +0800)
.nasm file has been added for X86 arch. .S assembly code
is not required any more.
https://bugzilla.tianocore.org/show_bug.cgi?id=1594

v2: Remove CpuSleep.nasm| GCC and CpuFlushTlb.nasm| GCC in X64 arch
    in BaseCpuLib.inf.

Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
MdePkg/Library/BaseCpuLib/BaseCpuLib.inf
MdePkg/Library/BaseCpuLib/X64/CpuFlushTlb.S [deleted file]
MdePkg/Library/BaseCpuLib/X64/CpuSleep.S [deleted file]

index af2f09617a80ef8b080520d634ff61eca5666aac..a734cac377108e3e0bf793d1883ed44c9151e552 100644 (file)
   X64/CpuFlushTlb.nasm\r
   X64/CpuSleep.nasm\r
 \r
-  X64/CpuSleep.nasm| GCC\r
-  X64/CpuSleep.S | GCC\r
-  X64/CpuFlushTlb.nasm| GCC\r
-  X64/CpuFlushTlb.S | GCC\r
 \r
 [Sources.EBC]\r
   Ebc/CpuSleepFlushTlb.c\r
diff --git a/MdePkg/Library/BaseCpuLib/X64/CpuFlushTlb.S b/MdePkg/Library/BaseCpuLib/X64/CpuFlushTlb.S
deleted file mode 100644 (file)
index 05d916a..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-#------------------------------------------------------------------------------\r
-# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\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
-#\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
-#\r
-# Module Name:\r
-#\r
-#   CpuFlushTlb.Asm\r
-#\r
-# Abstract:\r
-#\r
-#   CpuFlushTlb function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-ASM_GLOBAL ASM_PFX(CpuFlushTlb)\r
-\r
-#------------------------------------------------------------------------------\r
-# VOID\r
-# EFIAPI\r
-# CpuFlushTlb (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-ASM_PFX(CpuFlushTlb):\r
-    mov     %cr3, %rax\r
-    mov     %rax, %cr3\r
-    ret\r
diff --git a/MdePkg/Library/BaseCpuLib/X64/CpuSleep.S b/MdePkg/Library/BaseCpuLib/X64/CpuSleep.S
deleted file mode 100644 (file)
index cf76368..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-#------------------------------------------------------------------------------ ;\r
-# Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\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
-#\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
-#\r
-# Module Name:\r
-#\r
-#   CpuSleep.S\r
-#\r
-# Abstract:\r
-#\r
-#   CpuSleep function\r
-#\r
-# Notes:\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-\r
-#------------------------------------------------------------------------------\r
-# VOID\r
-# EFIAPI\r
-# CpuSleep (\r
-#   VOID\r
-#   );\r
-#------------------------------------------------------------------------------\r
-ASM_GLOBAL ASM_PFX(CpuSleep)\r
-ASM_PFX(CpuSleep):\r
-    hlt\r
-    ret\r