TianoCore EDK2 master
Loading...
Searching...
No Matches
DisableCacheAsRamNull.c
Go to the documentation of this file.
1
8#include <Uefi.h>
9#include <Library/BaseLib.h>
11
18VOID
19EFIAPI
21 IN BOOLEAN DisableCar
22 )
23{
24 //
25 // Disable CAR
26 //
27
28 if (DisableCar) {
29 AsmInvd ();
30 } else {
31 AsmWbinvd ();
32 }
33
34 return;
35}
VOID EFIAPI DisableCacheAsRam(IN BOOLEAN DisableCar)
VOID EFIAPI AsmInvd(VOID)
VOID EFIAPI AsmWbinvd(VOID)
#define IN
Definition: Base.h:279