]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/BaseLib/X64/Monitor.nasm
MdePkg: Replace Opcode with the corresponding instructions.
[mirror_edk2.git] / MdePkg / Library / BaseLib / X64 / Monitor.nasm
CommitLineData
4a9ae789
JJ
1;------------------------------------------------------------------------------\r
2;\r
d3febfd9 3; Copyright (c) 2006 - 2022, Intel Corporation. All rights reserved.<BR>\r
9344f092 4; SPDX-License-Identifier: BSD-2-Clause-Patent\r
4a9ae789
JJ
5;\r
6; Module Name:\r
7;\r
8; Monitor.Asm\r
9;\r
10; Abstract:\r
11;\r
12; AsmMonitor function\r
13;\r
14; Notes:\r
15;\r
16;------------------------------------------------------------------------------\r
17\r
18 DEFAULT REL\r
19 SECTION .text\r
20\r
21;------------------------------------------------------------------------------\r
22; UINT64\r
23; EFIAPI\r
24; AsmMonitor (\r
25; IN UINTN Eax,\r
26; IN UINTN Ecx,\r
27; IN UINTN Edx\r
28; );\r
29;------------------------------------------------------------------------------\r
30global ASM_PFX(AsmMonitor)\r
31ASM_PFX(AsmMonitor):\r
32 mov eax, ecx\r
33 mov ecx, edx\r
34 mov edx, r8d\r
d3febfd9 35 monitor\r
4a9ae789
JJ
36 ret\r
37\r