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/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf

    r58459 r58466  
    2222  MODULE_TYPE                    = BASE
    2323  VERSION_STRING                 = 1.0
    24   LIBRARY_CLASS                  = DebugLib 
     24  LIBRARY_CLASS                  = DebugLib
    2525  CONSTRUCTOR                    = BaseDebugLibSerialPortConstructor
    2626
  • trunk/src/VBox/Devices/EFI/Firmware/MdePkg/Library/BaseDebugLibSerialPort/DebugLib.c

    r58459 r58466  
    22  Base Debug library instance base on Serial Port library.
    33  It uses PrintLib to send debug messages to serial port device.
    4  
    5   NOTE: If the Serial Port library enables hardware flow control, then a call 
    6   to DebugPrint() or DebugAssert() may hang if writes to the serial port are 
     4
     5  NOTE: If the Serial Port library enables hardware flow control, then a call
     6  to DebugPrint() or DebugAssert() may hang if writes to the serial port are
    77  being blocked.  This may occur if a key(s) are pressed in a terminal emulator
    8   used to monitor the DEBUG() and ASSERT() messages. 
     8  used to monitor the DEBUG() and ASSERT() messages.
    99
    1010  Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>
    11   This program and the accompanying materials                         
    12   are licensed and made available under the terms and conditions of the BSD License         
    13   which accompanies this distribution.  The full text of the license may be found at       
    14   http://opensource.org/licenses/bsd-license.php.                                           
    15 
    16   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     
    17   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             
     11  This program and the accompanying materials
     12  are licensed and made available under the terms and conditions of the BSD License
     13  which accompanies this distribution.  The full text of the license may be found at
     14  http://opensource.org/licenses/bsd-license.php.
     15
     16  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
     17  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
    1818
    1919**/
     
    2929
    3030//
    31 // Define the maximum debug and assert message length that this library supports 
     31// Define the maximum debug and assert message length that this library supports
    3232//
    3333#define MAX_DEBUG_MESSAGE_LENGTH  0x100
     
    5151  Prints a debug message to the debug output device if the specified error level is enabled.
    5252
    53   If any bit in ErrorLevel is also set in DebugPrintErrorLevelLib function 
    54   GetDebugPrintErrorLevel (), then print the message specified by Format and the 
     53  If any bit in ErrorLevel is also set in DebugPrintErrorLevelLib function
     54  GetDebugPrintErrorLevel (), then print the message specified by Format and the
    5555  associated variable argument list to the debug output device.
    5656
     
    5959  @param  ErrorLevel  The error level of the debug message.
    6060  @param  Format      Format string for the debug message to print.
    61   @param  ...         Variable argument list whose contents are accessed 
     61  @param  ...         Variable argument list whose contents are accessed
    6262                      based on the format string specified by Format.
    6363
     
    9494
    9595  //
    96   // Send the print string to a Serial Port 
     96  // Send the print string to a Serial Port
    9797  //
    9898  SerialPortWrite ((UINT8 *)Buffer, AsciiStrLen (Buffer));
     
    101101
    102102/**
    103   Prints an assert message containing a filename, line number, and description. 
     103  Prints an assert message containing a filename, line number, and description.
    104104  This may be followed by a breakpoint or a dead loop.
    105105
    106106  Print a message of the form "ASSERT <FileName>(<LineNumber>): <Description>\n"
    107   to the debug output device.  If DEBUG_PROPERTY_ASSERT_BREAKPOINT_ENABLED bit of 
    108   PcdDebugProperyMask is set then CpuBreakpoint() is called. Otherwise, if 
    109   DEBUG_PROPERTY_ASSERT_DEADLOOP_ENABLED bit of PcdDebugProperyMask is set then 
    110   CpuDeadLoop() is called.  If neither of these bits are set, then this function 
     107  to the debug output device.  If DEBUG_PROPERTY_ASSERT_BREAKPOINT_ENABLED bit of
     108  PcdDebugProperyMask is set then CpuBreakpoint() is called. Otherwise, if
     109  DEBUG_PROPERTY_ASSERT_DEADLOOP_ENABLED bit of PcdDebugProperyMask is set then
     110  CpuDeadLoop() is called.  If neither of these bits are set, then this function
    111111  returns immediately after the message is printed to the debug output device.
    112112  DebugAssert() must actively prevent recursion.  If DebugAssert() is called while
     
    155155  Fills a target buffer with PcdDebugClearMemoryValue, and returns the target buffer.
    156156
    157   This function fills Length bytes of Buffer with the value specified by 
     157  This function fills Length bytes of Buffer with the value specified by
    158158  PcdDebugClearMemoryValue, and returns Buffer.
    159159
    160160  If Buffer is NULL, then ASSERT().
    161   If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT(). 
     161  If Length is greater than (MAX_ADDRESS - Buffer + 1), then ASSERT().
    162162
    163163  @param   Buffer  The pointer to the target buffer to be filled with PcdDebugClearMemoryValue.
    164   @param   Length  The number of bytes in Buffer to fill with zeros PcdDebugClearMemoryValue. 
     164  @param   Length  The number of bytes in Buffer to fill with zeros PcdDebugClearMemoryValue.
    165165
    166166  @return  Buffer  The pointer to the target buffer filled with PcdDebugClearMemoryValue.
     
    189189  Returns TRUE if ASSERT() macros are enabled.
    190190
    191   This function returns TRUE if the DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of 
     191  This function returns TRUE if the DEBUG_PROPERTY_DEBUG_ASSERT_ENABLED bit of
    192192  PcdDebugProperyMask is set.  Otherwise FALSE is returned.
    193193
     
    206206
    207207
    208 /** 
     208/**
    209209  Returns TRUE if DEBUG() macros are enabled.
    210210
    211   This function returns TRUE if the DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of 
     211  This function returns TRUE if the DEBUG_PROPERTY_DEBUG_PRINT_ENABLED bit of
    212212  PcdDebugProperyMask is set.  Otherwise FALSE is returned.
    213213
     
    226226
    227227
    228 /** 
     228/**
    229229  Returns TRUE if DEBUG_CODE() macros are enabled.
    230230
    231   This function returns TRUE if the DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of 
     231  This function returns TRUE if the DEBUG_PROPERTY_DEBUG_CODE_ENABLED bit of
    232232  PcdDebugProperyMask is set.  Otherwise FALSE is returned.
    233233
     
    246246
    247247
    248 /** 
     248/**
    249249  Returns TRUE if DEBUG_CLEAR_MEMORY() macro is enabled.
    250250
    251   This function returns TRUE if the DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of 
     251  This function returns TRUE if the DEBUG_PROPERTY_CLEAR_MEMORY_ENABLED bit of
    252252  PcdDebugProperyMask is set.  Otherwise FALSE is returned.
    253253
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