]>
Commit | Line | Data |
---|---|---|
1 | /** @file\r | |
2 | AsmWriteMm6 function\r | |
3 | \r | |
4 | Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r | |
5 | SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
6 | \r | |
7 | **/\r | |
8 | \r | |
9 | /**\r | |
10 | Writes the current value of 64-bit MMX Register #6 (MM6).\r | |
11 | \r | |
12 | Writes the current value of MM6. This function is only available on IA32 and\r | |
13 | x64.\r | |
14 | \r | |
15 | @param Value The 64-bit value to write to MM6.\r | |
16 | \r | |
17 | **/\r | |
18 | VOID\r | |
19 | EFIAPI\r | |
20 | AsmWriteMm6 (\r | |
21 | IN UINT64 Value\r | |
22 | )\r | |
23 | {\r | |
24 | _asm {\r | |
25 | movq mm6, qword ptr [Value]\r | |
26 | emms\r | |
27 | }\r | |
28 | }\r |