Implement BlGetSecureBootStatus() and do some refactoring
This commit is contained in:
@@ -82,7 +82,7 @@ BlConsolePrint(IN PUINT16 Format,
|
||||
if(RtlCompareWideString(EfiSystemTable->FirmwareVendor, L"EDK II", 6) != 0)
|
||||
{
|
||||
/* Check if debugging enabled and if EFI serial port is fully initialized */
|
||||
if(DEBUG && (BlpSerialPort.Flags & COMPORT_FLAG_INIT))
|
||||
if(DEBUG && (BlpStatus.SerialPort.Flags & COMPORT_FLAG_INIT))
|
||||
{
|
||||
/* Format and print the string to the serial console */
|
||||
BlpStringPrint(BlpDebugPutChar, Format, Arguments);
|
||||
|
||||
Reference in New Issue
Block a user