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