TianoCore EDK2 master
Loading...
Searching...
No Matches
EnableCache.c File Reference

Go to the source code of this file.

Functions

VOID EFIAPI AsmEnableCache (VOID)
 

Detailed Description

AsmEnableCache function

Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file EnableCache.c.

Function Documentation

◆ AsmEnableCache()

VOID EFIAPI AsmEnableCache ( VOID  )

Perform a WBINVD and clear both the CD and NW bits of CR0.

Enables the caches by executing a WBINVD instruction and then clear both the CD and NW bits of CR0 to 0. This function is only available on IA-32 and x64.

Definition at line 18 of file EnableCache.c.