From fb5c9ed8439b44ab35ff4fd1f997a40f49bc2f89 Mon Sep 17 00:00:00 2001 From: Shenglei Zhang Date: Mon, 1 Apr 2019 10:17:55 +0800 Subject: [PATCH] SourceLevelDebugPkg/PeCoffExtraActionLibDebug: Remove .S files .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 Cc: Hao Wu Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Shenglei Zhang Reviewed-by: Hao Wu --- .../Ia32/IntHandler.S | 28 ------------------- .../PeCoffExtraActionLibDebug.inf | 2 -- .../X64/IntHandler.S | 28 ------------------- 3 files changed, 58 deletions(-) delete mode 100644 SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/Ia32/IntHandler.S delete mode 100644 SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/X64/IntHandler.S diff --git a/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/Ia32/IntHandler.S b/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/Ia32/IntHandler.S deleted file mode 100644 index 69c903788c..0000000000 --- a/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/Ia32/IntHandler.S +++ /dev/null @@ -1,28 +0,0 @@ -#------------------------------------------------------------------------------ -# -# Copyright (c) 2013, Intel Corporation. All rights reserved.
-# This program and the accompanying materials -# are licensed and made available under the terms and conditions of the BSD License -# which accompanies this distribution. The full text of the license may be found at -# http://opensource.org/licenses/bsd-license.php. -# -# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. -# -# Module Name: -# -# IntHandler.S -# -# Abstract: -# -# Assembly interrupt handler function. -# -#------------------------------------------------------------------------------ - -ASM_GLOBAL ASM_PFX(AsmInterruptHandle) - -.text -ASM_PFX(AsmInterruptHandle): - cli - movb $1, %al - iretl diff --git a/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf b/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf index 1c52a000b0..fd56b8c94a 100644 --- a/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf +++ b/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/PeCoffExtraActionLibDebug.inf @@ -35,12 +35,10 @@ [Sources.IA32] Ia32/IntHandlerFuncs.c Ia32/IntHandler.nasm - Ia32/IntHandler.S [Sources.X64] X64/IntHandlerFuncs.c X64/IntHandler.nasm - X64/IntHandler.S [Packages] MdePkg/MdePkg.dec diff --git a/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/X64/IntHandler.S b/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/X64/IntHandler.S deleted file mode 100644 index 108b40cf6d..0000000000 --- a/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/X64/IntHandler.S +++ /dev/null @@ -1,28 +0,0 @@ -#------------------------------------------------------------------------------ -# -# Copyright (c) 2013, Intel Corporation. All rights reserved.
-# This program and the accompanying materials -# are licensed and made available under the terms and conditions of the BSD License -# which accompanies this distribution. The full text of the license may be found at -# http://opensource.org/licenses/bsd-license.php. -# -# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. -# -# Module Name: -# -# IntHandler.S -# -# Abstract: -# -# Assembly interrupt handler function. -# -#------------------------------------------------------------------------------ - -ASM_GLOBAL ASM_PFX(AsmInterruptHandle) - -.text -ASM_PFX(AsmInterruptHandle): - cli - movb $1, %al - iretq -- 2.39.2