]> git.proxmox.com Git - mirror_edk2.git/blame - MdePkg/Library/BaseLib/Ia32/WriteMm4.c
MdePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / WriteMm4.c
CommitLineData
e1f414b6 1/** @file\r
2 AsmWriteMm4 function\r
3\r
bb817c56 4 Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>\r
9344f092 5 SPDX-License-Identifier: BSD-2-Clause-Patent\r
e1f414b6 6\r
7**/\r
8\r
1efcc4ae 9\r
f734a10a 10\r
e1f414b6 11\r
42eedea9 12/**\r
13 Writes the current value of 64-bit MMX Register #4 (MM4).\r
14\r
15 Writes the current value of MM4. This function is only available on IA32 and\r
030cd1a2 16 x64.\r
42eedea9 17\r
18 @param Value The 64-bit value to write to MM4.\r
19\r
20**/\r
e1f414b6 21VOID\r
22EFIAPI\r
23AsmWriteMm4 (\r
24 IN UINT64 Value\r
25 )\r
26{\r
27 _asm {\r
28 movq mm4, qword ptr [Value]\r
29 emms\r
30 }\r
31}\r