VirtualBox

Ignore:
Timestamp:
Oct 28, 2015 8:17:18 PM (9 years ago)
Author:
vboxsync
Message:

EFI/Firmware: 'svn merge /vendor/edk2/UDK2010.SR1 /vendor/edk2/current .', reverting and removing files+dirs listed in ReadMe.vbox, resolving conflicts with help from ../UDK2014.SP1/. This is a raw untested merge.

Location:
trunk/src/VBox/Devices/EFI/Firmware
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/EFI/Firmware

  • trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Library/UefiDebugLibConOut/DebugLib.c

    r48674 r58459  
    22  UEFI Debug Library that sends messages to the Console Output Device in the EFI System Table.
    33
    4   Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
     4  Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
    55  This program and the accompanying materials                         
    66  are licensed and made available under the terms and conditions of the BSD License         
     
    121121  UnicodeSPrintAsciiFormat (
    122122    Buffer,
    123     MAX_DEBUG_MESSAGE_LENGTH,
     123    sizeof (Buffer),
    124124    "ASSERT %a(%d): %a\n",
    125125    FileName,
     
    258258  return (BOOLEAN) ((PcdGet8(PcdDebugPropertyMask) & DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED) != 0);
    259259}
     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**/
     270BOOLEAN
     271EFIAPI
     272DebugPrintLevelEnabled (
     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  
    44#  Debug Lib that sends messages to the Console Output Device in the EFI System Table.
    55#
    6 #  Copyright (c) 2007 - 2011, Intel Corporation. All rights reserved.<BR>
     6#  Copyright (c) 2007 - 2015, Intel Corporation. All rights reserved.<BR>
    77#
    88#  This program and the accompanying materials
     
    1919  INF_VERSION                    = 0x00010005
    2020  BASE_NAME                      = UefiDebugLibConOut
     21  MODULE_UNI_FILE                = UefiDebugLibConOut.uni
    2122  FILE_GUID                      = 5cddfaf3-e9a7-4d16-bdce-1e002df475bb
    2223  MODULE_TYPE                    = UEFI_DRIVER
     
    4849
    4950[Pcd]
    50   gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue        ## CONSUMES
     51  gEfiMdePkgTokenSpaceGuid.PcdDebugClearMemoryValue        ## SOMETIMES_CONSUMES
    5152  gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask            ## CONSUMES
     53  gEfiMdePkgTokenSpaceGuid.PcdFixedDebugPrintErrorLevel    ## CONSUMES
    5254
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette