You've already forked slimbootloader
mirror of
https://github.com/Dasharo/slimbootloader.git
synced 2026-03-06 15:26:20 -08:00
e99762353a
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>
29 lines
590 B
C
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
|