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
>
10
#include <
Library/CacheAsRamLib.h
>
11
18
VOID
19
EFIAPI
20
DisableCacheAsRam
(
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
}
BaseLib.h
CacheAsRamLib.h
DisableCacheAsRam
VOID EFIAPI DisableCacheAsRam(IN BOOLEAN DisableCar)
Definition:
DisableCacheAsRamNull.c:20
AsmInvd
VOID EFIAPI AsmInvd(VOID)
Definition:
GccInlinePriv.c:1095
AsmWbinvd
VOID EFIAPI AsmWbinvd(VOID)
Definition:
GccInlinePriv.c:1079
IN
#define IN
Definition:
Base.h:279
Uefi.h
IntelFsp2Pkg
Library
BaseCacheAsRamLibNull
DisableCacheAsRamNull.c
Generated on Fri Nov 15 2024 18:01:08 for TianoCore EDK2 by
1.9.6