]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/X64/Mwait.asm
Maintainers.txt: Remove EdkCompatibilityPkg information
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / EdkIIGlueLib / Library / BaseLib / X64 / Mwait.asm
CommitLineData
2c7e5c2f
HT
1; Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>\r
2; This program and the accompanying materials \r
3eb9473e 3; are licensed and made available under the terms and conditions of the BSD License \r
4; which accompanies this distribution. The full text of the license may be found at \r
5; http://opensource.org/licenses/bsd-license.php \r
6; \r
7; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
8; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
9;\r
10; Module Name:\r
11;\r
12; Mwait.Asm\r
13;\r
14; Abstract:\r
15;\r
16; AsmMwait function\r
17;\r
18; Notes:\r
19;\r
20;------------------------------------------------------------------------------\r
21\r
22 .code\r
23\r
24;------------------------------------------------------------------------------\r
25; UINT64\r
26; EFIAPI\r
27; AsmMwait (\r
28; IN UINTN Eax,\r
29; IN UINTN Ecx\r
30; );\r
31;------------------------------------------------------------------------------\r
32AsmMwait PROC\r
33 mov eax, ecx\r
34 mov ecx, edx\r
35 DB 0fh, 1, 0c9h ; mwait\r
36 ret\r
37AsmMwait ENDP\r
38\r
39 END\r