summaryrefslogtreecommitdiffstats
path: root/SourceLevelDebugPkg/Library
diff options
context:
space:
mode:
authorLiming Gao <liming.gao@intel.com>2016-06-14 16:43:58 +0800
committerLiming Gao <liming.gao@intel.com>2016-06-28 09:52:22 +0800
commit3d73842f45818cc400ee1b4ff01c249edadf1af3 (patch)
tree13908b6c987ed13cc29e27e018e7058aa55ca7e1 /SourceLevelDebugPkg/Library
parente46be3494a81781eeafb91dbf76da42a6a9cd05e (diff)
downloadedk2-3d73842f45818cc400ee1b4ff01c249edadf1af3.tar.gz
edk2-3d73842f45818cc400ee1b4ff01c249edadf1af3.tar.bz2
edk2-3d73842f45818cc400ee1b4ff01c249edadf1af3.zip
SourceLevelDebugPkg PeCoffExtraActionLibDebug: Convert Ia32/IntHandler.asm
The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert Ia32/IntHandler.asm to Ia32/IntHandler.nasm. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'SourceLevelDebugPkg/Library')
-rw-r--r--SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/Ia32/IntHandler.nasm28
1 files changed, 28 insertions, 0 deletions
diff --git a/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/Ia32/IntHandler.nasm b/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/Ia32/IntHandler.nasm
new file mode 100644
index 0000000000..9d7d2a2560
--- /dev/null
+++ b/SourceLevelDebugPkg/Library/PeCoffExtraActionLibDebug/Ia32/IntHandler.nasm
@@ -0,0 +1,28 @@
+;------------------------------------------------------------------------------
+;
+; Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
+; 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.nasm
+;
+; Abstract:
+;
+; Assembly interrupt handler function.
+;
+;------------------------------------------------------------------------------
+
+global ASM_PFX(AsmInterruptHandle)
+
+SECTION .text
+ASM_PFX(AsmInterruptHandle):
+ cli
+ mov al, 1
+ iretd