blob: 4c25a0b16be426be87dbec205c0e8e2720ed5573 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
/** @file
Header for SetCacheMtrr library functions.
Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef _SET_CACHE_MTRR_LIB_H_
#define _SET_CACHE_MTRR_LIB_H_
/**
Set Cache Mtrr.
**/
VOID
EFIAPI
SetCacheMtrr (
VOID
);
/**
Update MTRR setting in EndOfPei phase.
This function will clear temporary memory (CAR) phase MTRR settings
and configure MTRR to cover permanent memory.
@retval EFI_SUCCESS The function completes successfully.
@retval Others Some error occurs.
**/
EFI_STATUS
EFIAPI
SetCacheMtrrAfterEndOfPei (
VOID
);
#endif
|