]>
git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseLib/Ia32/WriteDr4.c
32815b28ff44bfd8846cb74ab8307d8acddc6341
4 Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
10 Writes a value to Debug Register 4 (DR4).
12 Writes and returns a new value to DR4. This function is only available on
13 IA-32 and x64. This writes a 32-bit value on IA-32 and a 64-bit value on x64.
15 @param Value The value to write to Dr4.
17 @return The value written to Debug Register 4 (DR4).
28 _emit
0x0f // mov dr4, eax