mirror of https://github.com/acidanthera/audk.git
UefiCpuPkg/CpuDxe: change level of DEBUG message
BZ#1127: https://bugzilla.tianocore.org/show_bug.cgi?id=1127 It's reported the debug message in CpuDxe driver is quite annoying in boot and shell, and slow down the boot process. To solve this issue, this patch changes the DEBUG_INFO to DEBUG_VERBOSE. On a typical Intel real platform, at least 16s boot time can be saved. Cc: Eric Dong <eric.dong@intel.com> Cc: Laszlo Ersek <lersek@redhat.com> Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Jian J Wang <jian.j.wang@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
parent
09afd9a42a
commit
7c7c8190d3
|
@ -404,7 +404,7 @@ CpuSetMemoryAttributes (
|
|||
// to avoid unnecessary computing.
|
||||
//
|
||||
if (mIsFlushingGCD) {
|
||||
DEBUG((DEBUG_INFO, " Flushing GCD\n"));
|
||||
DEBUG((DEBUG_VERBOSE, " Flushing GCD\n"));
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
||||
|
|
|
@ -542,7 +542,7 @@ SplitPage (
|
|||
ASSERT (SplitAttribute == Page4K);
|
||||
if (SplitAttribute == Page4K) {
|
||||
NewPageEntry = AllocatePagesFunc (1);
|
||||
DEBUG ((DEBUG_INFO, "Split - 0x%x\n", NewPageEntry));
|
||||
DEBUG ((DEBUG_VERBOSE, "Split - 0x%x\n", NewPageEntry));
|
||||
if (NewPageEntry == NULL) {
|
||||
return RETURN_OUT_OF_RESOURCES;
|
||||
}
|
||||
|
@ -563,7 +563,7 @@ SplitPage (
|
|||
ASSERT (SplitAttribute == Page2M || SplitAttribute == Page4K);
|
||||
if ((SplitAttribute == Page2M || SplitAttribute == Page4K)) {
|
||||
NewPageEntry = AllocatePagesFunc (1);
|
||||
DEBUG ((DEBUG_INFO, "Split - 0x%x\n", NewPageEntry));
|
||||
DEBUG ((DEBUG_VERBOSE, "Split - 0x%x\n", NewPageEntry));
|
||||
if (NewPageEntry == NULL) {
|
||||
return RETURN_OUT_OF_RESOURCES;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue