Changeset 58459 in vbox for trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Library/UefiDebugLibConOut
- Timestamp:
- Oct 28, 2015 8:17:18 PM (9 years ago)
- Location:
- trunk/src/VBox/Devices/EFI/Firmware
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/Firmware
-
Property svn:mergeinfo
set to (toggle deleted branches)
/vendor/edk2/current 103735-103757
-
Property svn:mergeinfo
set to (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Library/UefiDebugLibConOut/DebugLib.c
r48674 r58459 2 2 UEFI Debug Library that sends messages to the Console Output Device in the EFI System Table. 3 3 4 Copyright (c) 2006 - 201 1, Intel Corporation. All rights reserved.<BR>4 Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR> 5 5 This program and the accompanying materials 6 6 are licensed and made available under the terms and conditions of the BSD License … … 121 121 UnicodeSPrintAsciiFormat ( 122 122 Buffer, 123 MAX_DEBUG_MESSAGE_LENGTH,123 sizeof (Buffer), 124 124 "ASSERT %a(%d): %a\n", 125 125 FileName, … … 258 258 return (BOOLEAN) ((PcdGet8(PcdDebugPropertyMask) & DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED) != 0); 259 259 } 260 261 /** 262 Returns TRUE if any one of the bit is set both in ErrorLevel and PcdFixedDebugPrintErrorLevel. 263 264 This function compares the bit mask of ErrorLevel and PcdFixedDebugPrintErrorLevel. 265 266 @retval TRUE Current ErrorLevel is supported. 267 @retval FALSE Current ErrorLevel is not supported. 268 269 **/ 270 BOOLEAN 271 EFIAPI 272 DebugPrintLevelEnabled ( 273 IN CONST UINTN ErrorLevel 274 ) 275 { 276 return (BOOLEAN) ((ErrorLevel & PcdGet32(PcdFixedDebugPrintErrorLevel)) != 0); 277 } -
trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf
r48674 r58459 4 4 # Debug Lib that sends messages to the Console Output Device in the EFI System Table. 5 5 # 6 # Copyright (c) 2007 - 201 1, Intel Corporation. All rights reserved.<BR>6 # Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR> 7 7 # 8 8 # This program and the accompanying materials … … 19 19 INF_VERSION = 0x00010005 20 20 BASE_NAME = UefiDebugLibConOut 21 MODULE_UNI_FILE = UefiDebugLibConOut.uni 21 22 FILE_GUID = 5cddfaf3-e9a7-4d16-bdce-1e002df475bb 22 23 MODULE_TYPE = UEFI_DRIVER … … 48 49 49 50 [Pcd] 50 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue ## CONSUMES51 gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue ## SOMETIMES_CONSUMES 51 52 gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask ## CONSUMES 53 gEfiMdePkgTokenSpaceGuid.PcdFixedDebugPrintErrorLevel ## CONSUMES 52 54
Note:
See TracChangeset
for help on using the changeset viewer.