]>
git.proxmox.com Git - mirror_edk2.git/blob - MdePkg/Library/BaseLib/Ia32/DisableCache.c
2 AsmDisableCache function
4 Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
10 Set CD bit and clear NW bit of CR0 followed by a WBINVD.
12 Disables the caches by setting the CD bit of CR0 to 1, clearing the NW bit of CR0 to 0,
13 and executing a WBINVD instruction. This function is only available on IA-32 and x64.