You've already forked edk2-platforms
mirror of
https://github.com/Dasharo/edk2-platforms.git
synced 2026-03-06 14:51:43 -08:00
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2314 MinPlatformPkg should contain the library class header (API) and the NULL library class instance. Cc: Michael Kubacki <michael.a.kubacki@intel.com> Cc: Nate DeSimone <nathaniel.l.desimone@intel.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Chasel Chiu <chasel.chiu@intel.com> Reviewed-by: Nate DeSimone <nathaniel.l.desimone@intel.com> Reviewed-by: Michael Kubacki <michael.a.kubacki@intel.com>
40 lines
683 B
C
40 lines
683 B
C
/** @file
|
|
|
|
NULL instances of SetCacheMtrr library functions.
|
|
|
|
Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
**/
|
|
#include <Uefi.h>
|
|
#include <Library/PcdLib.h>
|
|
#include <Library/DebugLib.h>
|
|
|
|
/**
|
|
Set Cache Mtrr.
|
|
**/
|
|
VOID
|
|
EFIAPI
|
|
SetCacheMtrr (
|
|
VOID
|
|
)
|
|
{
|
|
return;
|
|
}
|
|
|
|
/**
|
|
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.
|
|
**/
|
|
EFI_STATUS
|
|
EFIAPI
|
|
SetCacheMtrrAfterEndOfPei (
|
|
VOID
|
|
)
|
|
{
|
|
return EFI_SUCCESS;
|
|
}
|