Files
slimbootloader/BootloaderCommonPkg/Include/Library/MtrrLib.h
T
Aiden Park e99762353a Introduce CONSOLE_PRINT macro (#701)
This will allow necessary messages to be printed to consoles.

These macros will redirect debug message to consoles.
  CONSOLE_PRINT
  CONSOLE_PRINT_UNICODE

These conditional macros will redirect debug message to consoles or
DEBUG(). The PrintLevel is valid only when redirected to DEBUG().
  CONSOLE_PRINT_CONDITION
  CONSOLE_PRINT_UNICODE_CONDITION

Signed-off-by: Aiden Park <aiden.park@intel.com>
2020-05-04 14:53:08 -07:00

29 lines
590 B
C

/** @file
This library class defines a set of methods related with MTRR.
Copyright (c) 2020, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef __MTRR_LIB_H__
#define __MTRR_LIB_H__
#include <PiPei.h>
/**
Print MTRR settings.
@param[in] Str A string will be print before MTRR data if it is not NULL.
@param[in] ConsoleOut Redirect to consoles if TRUE. Otherwise, DEBUG()
**/
VOID
EFIAPI
PrintMtrr (
IN CHAR8 *Str,
IN BOOLEAN ConsoleOut
);
#endif