VirtualBox

Ignore:
Timestamp:
Oct 29, 2015 4:30:44 AM (9 years ago)
Author:
vboxsync
Message:

EFI/Firmware: Merged in the svn:eol-style, svn:mime-type and trailing whitespace cleanup that was done after the initial UDK2014.SP1 import: svn merge /vendor/edk2/UDK2014.SP1 /vendor/edk2/current .

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

    r58459 r58466  
    33
    44  Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
    5   This program and the accompanying materials                         
    6   are licensed and made available under the terms and conditions of the BSD License         
    7   which accompanies this distribution.  The full text of the license may be found at       
    8   http://opensource.org/licenses/bsd-license.php.                                           
    9 
    10   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     
    11   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             
     5  This program and the accompanying materials
     6  are licensed and made available under the terms and conditions of the BSD License
     7  which accompanies this distribution.  The full text of the license may be found at
     8  http://opensource.org/licenses/bsd-license.php.
     9
     10  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
     11  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
    1212
    1313**/
     
    2424
    2525//
    26 // Define the maximum debug and assert message length that this library supports 
     26// Define the maximum debug and assert message length that this library supports
    2727//
    2828#define MAX_DEBUG_MESSAGE_LENGTH  0x100
     
    3131  Prints a debug message to the debug output device if the specified error level is enabled.
    3232
    33   If any bit in ErrorLevel is also set in DebugPrintErrorLevelLib function 
    34   GetDebugPrintErrorLevel (), then print the message specified by Format and the 
     33  If any bit in ErrorLevel is also set in DebugPrintErrorLevelLib function
     34  GetDebugPrintErrorLevel (), then print the message specified by Format and the
    3535  associated variable argument list to the debug output device.
    3636
     
    3939  @param  ErrorLevel  The error level of the debug message.
    4040  @param  Format      Format string for the debug message to print.
    41   @param  ...         A variable argument list whose contents are accessed 
     41  @param  ...         A variable argument list whose contents are accessed
    4242                      based on the format string specified by Format.
    4343
     
    8484
    8585/**
    86   Prints an assert message containing a filename, line number, and description. 
     86  Prints an assert message containing a filename, line number, and description.
    8787  This may be followed by a breakpoint or a dead loop.
    8888
    8989  Print a message of the form "ASSERT <FileName>(<LineNumber>): <Description>\n"
    90   to the debug output device.  If DEBUG_PROPERTY_ASSERT_BREAKPOINT_ENABLED bit of 
    91   PcdDebugProperyMask is set then CpuBreakpoint() is called. Otherwise, if 
    92   DEBUG_PROPERTY_ASSERT_DEADLOOP_ENABLED bit of PcdDebugProperyMask is set then 
    93   CpuDeadLoop() is called.  If neither of these bits are set, then this function 
     90  to the debug output device.  If DEBUG_PROPERTY_ASSERT_BREAKPOINT_ENABLED bit of
     91  PcdDebugProperyMask is set then CpuBreakpoint() is called. Otherwise, if
     92  DEBUG_PROPERTY_ASSERT_DEADLOOP_ENABLED bit of PcdDebugProperyMask is set then
     93  CpuDeadLoop() is called.  If neither of these bits are set, then this function
    9494  returns immediately after the message is printed to the debug output device.
    9595  DebugAssert() must actively prevent recursion.  If DebugAssert() is called while
     
    9999  If Description is NULL, then a <Description> string of "(NULL) Description" is printed.
    100100
    101   @param  FileName     The pointer to the name of the source file that generated 
     101  @param  FileName     The pointer to the name of the source file that generated
    102102                       the assert condition.
    103   @param  LineNumber   The line number in the source file that generated the 
     103  @param  LineNumber   The line number in the source file that generated the
    104104                       assert condition
    105105  @param  Description  The pointer to the description of the assert condition.
     
    120120  //
    121121  UnicodeSPrintAsciiFormat (
    122     Buffer, 
    123     sizeof (Buffer), 
    124     "ASSERT %a(%d): %a\n", 
    125     FileName, 
    126     LineNumber, 
     122    Buffer,
     123    sizeof (Buffer),
     124    "ASSERT %a(%d): %a\n",
     125    FileName,
     126    LineNumber,
    127127    Description
    128128    );
    129    
     129
    130130  //
    131131  // Send the print string to the Console Output device
     
    149149  Fills a target buffer with PcdDebugClearMemoryValue, and returns the target buffer.
    150150
    151   This function fills Length bytes of Buffer with the value specified by 
     151  This function fills Length bytes of Buffer with the value specified by
    152152  PcdDebugClearMemoryValue, and returns Buffer.
    153153
    154154  If Buffer is NULL, then ASSERT().
    155   If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). 
     155  If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
    156156
    157157  @param   Buffer  The pointer to the target buffer to be filled with PcdDebugClearMemoryValue.
    158   @param   Length  The number of bytes in Buffer to fill with zeros PcdDebugClearMemoryValue. 
     158  @param   Length  The number of bytes in Buffer to fill with zeros PcdDebugClearMemoryValue.
    159159
    160160  @return  Buffer  The pointer to the target buffer filled with PcdDebugClearMemoryValue.
     
    183183  Returns TRUE if ASSERT() macros are enabled.
    184184
    185   This function returns TRUE if the DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of 
     185  This function returns TRUE if the DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of
    186186  PcdDebugProperyMask is set.  Otherwise FALSE is returned.
    187187
     
    200200
    201201
    202 /** 
     202/**
    203203  Returns TRUE if DEBUG() macros are enabled.
    204204
    205   This function returns TRUE if the DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of 
     205  This function returns TRUE if the DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of
    206206  PcdDebugProperyMask is set.  Otherwise FALSE is returned.
    207207
     
    220220
    221221
    222 /** 
     222/**
    223223  Returns TRUE if DEBUG_CODE() macros are enabled.
    224224
    225   This function returns TRUE if the DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of 
     225  This function returns TRUE if the DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of
    226226  PcdDebugProperyMask is set.  Otherwise FALSE is returned.
    227227
     
    240240
    241241
    242 /** 
     242/**
    243243  Returns TRUE if DEBUG_CLEAR_MEMORY() macro is enabled.
    244244
    245   This function returns TRUE if the DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of 
     245  This function returns TRUE if the DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of
    246246  PcdDebugProperyMask is set.  Otherwise FALSE is returned.
    247247
  • trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf

    r58459 r58466  
    2323  MODULE_TYPE                    = UEFI_DRIVER
    2424  VERSION_STRING                 = 1.0
    25   LIBRARY_CLASS                  = DebugLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER 
     25  LIBRARY_CLASS                  = DebugLib|DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SAL_DRIVER DXE_SMM_DRIVER UEFI_APPLICATION UEFI_DRIVER
    2626
    2727
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