From af1a266670d040d2f4083ff309d732d648afba2a Mon Sep 17 00:00:00 2001 From: Angelos Mouzakitis Date: Tue, 10 Oct 2023 14:33:42 +0000 Subject: Add submodule dependency files Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec --- roms/edk2/MdePkg/Library/BaseLib/X64/WriteDr1.nasm | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 roms/edk2/MdePkg/Library/BaseLib/X64/WriteDr1.nasm (limited to 'roms/edk2/MdePkg/Library/BaseLib/X64/WriteDr1.nasm') diff --git a/roms/edk2/MdePkg/Library/BaseLib/X64/WriteDr1.nasm b/roms/edk2/MdePkg/Library/BaseLib/X64/WriteDr1.nasm new file mode 100644 index 000000000..6fcbbfc9e --- /dev/null +++ b/roms/edk2/MdePkg/Library/BaseLib/X64/WriteDr1.nasm @@ -0,0 +1,33 @@ +;------------------------------------------------------------------------------ +; +; Copyright (c) 2006, Intel Corporation. All rights reserved.
+; SPDX-License-Identifier: BSD-2-Clause-Patent +; +; Module Name: +; +; WriteDr1.Asm +; +; Abstract: +; +; AsmWriteDr1 function +; +; Notes: +; +;------------------------------------------------------------------------------ + + DEFAULT REL + SECTION .text + +;------------------------------------------------------------------------------ +; UINTN +; EFIAPI +; AsmWriteDr1 ( +; IN UINTN Value +; ); +;------------------------------------------------------------------------------ +global ASM_PFX(AsmWriteDr1) +ASM_PFX(AsmWriteDr1): + mov dr1, rcx + mov rax, rcx + ret + -- cgit 1.2.3-korg