From a2e4c24d4ee35ca21c97fd36c2796562b6d0c157 Mon Sep 17 00:00:00 2001 From: Jordan Justen Date: Mon, 30 May 2016 18:52:05 -0700 Subject: [PATCH] MdePkg BaseLib: Convert X64/CpuBreakpoint.asm to NASM The BaseTools/Scripts/ConvertMasmToNasm.py script was used to convert X64/CpuBreakpoint.asm to X64/CpuBreakpoint.nasm Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen --- MdePkg/Library/BaseLib/BaseLib.inf | 1 + MdePkg/Library/BaseLib/X64/CpuBreakpoint.nasm | 37 +++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 MdePkg/Library/BaseLib/X64/CpuBreakpoint.nasm diff --git a/MdePkg/Library/BaseLib/BaseLib.inf b/MdePkg/Library/BaseLib/BaseLib.inf index 5d53ffba4a..55b332a399 100644 --- a/MdePkg/Library/BaseLib/BaseLib.inf +++ b/MdePkg/Library/BaseLib/BaseLib.inf @@ -586,6 +586,7 @@ X64/ReadEflags.nasm| MSFT X64/ReadEflags.asm | MSFT + X64/CpuBreakpoint.nasm| INTEL X64/CpuBreakpoint.asm | INTEL X64/WriteMsr64.asm | INTEL X64/ReadMsr64.asm | INTEL diff --git a/MdePkg/Library/BaseLib/X64/CpuBreakpoint.nasm b/MdePkg/Library/BaseLib/X64/CpuBreakpoint.nasm new file mode 100644 index 0000000000..2d5ade8cae --- /dev/null +++ b/MdePkg/Library/BaseLib/X64/CpuBreakpoint.nasm @@ -0,0 +1,37 @@ +;------------------------------------------------------------------------------ ; +; Copyright (c) 2006, 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: +; +; CpuBreakpoint.Asm +; +; Abstract: +; +; CpuBreakpoint function +; +; Notes: +; +;------------------------------------------------------------------------------ + + DEFAULT REL + SECTION .text + +;------------------------------------------------------------------------------ +; VOID +; EFIAPI +; CpuBreakpoint ( +; VOID +; ); +;------------------------------------------------------------------------------ +global ASM_PFX(CpuBreakpoint) +ASM_PFX(CpuBreakpoint): + int 3 + ret + -- 2.39.2