]>
Commit | Line | Data |
---|---|---|
fdf359f3 JJ |
1 | ;------------------------------------------------------------------------------\r |
2 | ;\r | |
3 | ; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r | |
9344f092 | 4 | ; SPDX-License-Identifier: BSD-2-Clause-Patent\r |
fdf359f3 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 | SECTION .text\r | |
19 | \r | |
20 | ;------------------------------------------------------------------------------\r | |
21 | ; UINTN\r | |
22 | ; EFIAPI\r | |
23 | ; AsmMonitor (\r | |
24 | ; IN UINTN Eax,\r | |
25 | ; IN UINTN Ecx,\r | |
26 | ; IN UINTN Edx\r | |
27 | ; );\r | |
28 | ;------------------------------------------------------------------------------\r | |
29 | global ASM_PFX(AsmMonitor)\r | |
30 | ASM_PFX(AsmMonitor):\r | |
31 | mov eax, [esp + 4]\r | |
32 | mov ecx, [esp + 8]\r | |
33 | mov edx, [esp + 12]\r | |
34 | DB 0xf, 1, 0xc8 ; monitor\r | |
35 | ret\r | |
36 | \r |