TianoCore EDK2 master
|
Go to the source code of this file.
Functions | |
VOID EFIAPI | AsmDisableCache (VOID) |
AsmDisableCache function
Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file DisableCache.c.
VOID EFIAPI AsmDisableCache | ( | VOID | ) |
Set CD bit and clear NW bit of CR0 followed by a WBINVD.
Disables the caches by setting the CD bit of CR0 to 1, clearing the NW bit of CR0 to 0, and executing a WBINVD instruction. This function is only available on IA-32 and x64.
Definition at line 18 of file DisableCache.c.