diff options
Diffstat (limited to 'roms/edk2/MdePkg/Library/BaseLib/X64/Monitor.nasm')
-rw-r--r-- | roms/edk2/MdePkg/Library/BaseLib/X64/Monitor.nasm | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/roms/edk2/MdePkg/Library/BaseLib/X64/Monitor.nasm b/roms/edk2/MdePkg/Library/BaseLib/X64/Monitor.nasm new file mode 100644 index 000000000..e1ccb83a8 --- /dev/null +++ b/roms/edk2/MdePkg/Library/BaseLib/X64/Monitor.nasm @@ -0,0 +1,37 @@ +;------------------------------------------------------------------------------
+;
+; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
+; SPDX-License-Identifier: BSD-2-Clause-Patent
+;
+; Module Name:
+;
+; Monitor.Asm
+;
+; Abstract:
+;
+; AsmMonitor function
+;
+; Notes:
+;
+;------------------------------------------------------------------------------
+
+ DEFAULT REL
+ SECTION .text
+
+;------------------------------------------------------------------------------
+; UINT64
+; EFIAPI
+; AsmMonitor (
+; IN UINTN Eax,
+; IN UINTN Ecx,
+; IN UINTN Edx
+; );
+;------------------------------------------------------------------------------
+global ASM_PFX(AsmMonitor)
+ASM_PFX(AsmMonitor):
+ mov eax, ecx
+ mov ecx, edx
+ mov edx, r8d
+ DB 0xf, 1, 0xc8 ; monitor
+ ret
+
|