mirror of https://github.com/acidanthera/audk.git
MdeModulePkg/UefiBootManagerLib: Refine the debug message
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ruiyu Ni <ruiyu.ni@intel.com> Reviewed-by: Eric Dong <eric.dong@intel.com> Reviewed-by: Sunny Wang <sunnywang@hpe.com>
This commit is contained in:
parent
5ce6fb99d4
commit
3fc46b79d8
|
@ -1277,8 +1277,9 @@ EfiBootManagerProcessLoadOption (
|
||||||
// Load and start the load option.
|
// Load and start the load option.
|
||||||
//
|
//
|
||||||
DEBUG ((
|
DEBUG ((
|
||||||
DEBUG_INFO | DEBUG_LOAD, "Process Load Option (%s%04x) ...\n",
|
DEBUG_INFO | DEBUG_LOAD, "Process %s%04x (%s) ...\n",
|
||||||
mBmLoadOptionName[LoadOption->OptionType], LoadOption->OptionNumber
|
mBmLoadOptionName[LoadOption->OptionType], LoadOption->OptionNumber,
|
||||||
|
LoadOption->Description
|
||||||
));
|
));
|
||||||
ImageHandle = NULL;
|
ImageHandle = NULL;
|
||||||
FileBuffer = EfiBootManagerGetLoadOptionBuffer (LoadOption->FilePath, &FilePath, &FileSize);
|
FileBuffer = EfiBootManagerGetLoadOptionBuffer (LoadOption->FilePath, &FilePath, &FileSize);
|
||||||
|
@ -1321,7 +1322,7 @@ EfiBootManagerProcessLoadOption (
|
||||||
|
|
||||||
LoadOption->Status = gBS->StartImage (ImageHandle, &LoadOption->ExitDataSize, &LoadOption->ExitData);
|
LoadOption->Status = gBS->StartImage (ImageHandle, &LoadOption->ExitDataSize, &LoadOption->ExitData);
|
||||||
DEBUG ((
|
DEBUG ((
|
||||||
DEBUG_INFO | DEBUG_LOAD, "Load Option (%s%04x) Return Status = %r\n",
|
DEBUG_INFO | DEBUG_LOAD, "%s%04x Return Status = %r\n",
|
||||||
mBmLoadOptionName[LoadOption->OptionType], LoadOption->OptionNumber, LoadOption->Status
|
mBmLoadOptionName[LoadOption->OptionType], LoadOption->OptionNumber, LoadOption->Status
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue