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:
15 edited

Legend:

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

  • trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/StatusCodeHandler/Pei/MemoryStausCodeWorker.c

    r48674 r58466  
    9191
    9292  //
    93   // Find GUID'ed HOBs to locate current record buffer. 
     93  // Find GUID'ed HOBs to locate current record buffer.
    9494  //
    9595  Hob.Raw = GetFirstGuidHob (&gMemoryStatusCodeRecordGuid);
  • trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/StatusCodeHandler/Pei/SerialStatusCodeWorker.c

    r58459 r58466  
    9595                  Instance
    9696                  );
    97    
     97
    9898    ASSERT(CharCount > 0);
    99    
     99
    100100    if (CallerId != NULL) {
    101101      CharCount += AsciiSPrint (
  • trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.c

    r48674 r58466  
    1818/**
    1919  Entry point of Status Code PEIM.
    20  
     20
    2121  This function is the entry point of this Status Code PEIM.
    2222  It initializes supported status code devices according to PCD settings,
     
    5555    Status = SerialPortInitialize();
    5656    ASSERT_EFI_ERROR (Status);
    57     Status = RscHandlerPpi->Register (SerialStatusCodeReportWorker);                     
     57    Status = RscHandlerPpi->Register (SerialStatusCodeReportWorker);
    5858    ASSERT_EFI_ERROR (Status);
    5959  }
     
    6161    Status = MemoryStatusCodeInitializeWorker ();
    6262    ASSERT_EFI_ERROR (Status);
    63     Status = RscHandlerPpi->Register (MemoryStatusCodeReportWorker);                     
     63    Status = RscHandlerPpi->Register (MemoryStatusCodeReportWorker);
    6464    ASSERT_EFI_ERROR (Status);
    6565  }
  • trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/StatusCodeHandler/Pei/StatusCodeHandlerPei.inf

    r58459 r58466  
    2020  FILE_GUID                      = 9D225237-FA01-464C-A949-BAABC02D31D0
    2121  MODULE_TYPE                    = PEIM
    22   VERSION_STRING                 = 1.0 
     22  VERSION_STRING                 = 1.0
    2323  ENTRY_POINT                    = StatusCodeHandlerPeiEntry
    2424
     
    4949  DebugLib
    5050  BaseMemoryLib
    51  
     51
    5252[Guids]
    5353  ## SOMETIMES_PRODUCES   ## HOB
     
    5555  gMemoryStatusCodeRecordGuid
    5656  gEfiStatusCodeDataTypeStringGuid              ## SOMETIMES_CONSUMES   ## UNDEFINED
    57  
     57
    5858[Ppis]
    5959  gEfiPeiRscHandlerPpiGuid                      ## CONSUMES
  • trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/MemoryStatusCodeWorker.c

    r48674 r58466  
    33
    44  Copyright (c) 2006 - 2009, 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**/
     
    1919/**
    2020  Initialize runtime memory status code table as initialization for runtime memory status code worker
    21  
     21
    2222  @retval EFI_SUCCESS  Runtime memory status code table successfully initialized.
    2323
     
    3939  mRtMemoryStatusCodeTable->RecordIndex      = 0;
    4040  mRtMemoryStatusCodeTable->NumberOfRecords  = 0;
    41   mRtMemoryStatusCodeTable->MaxRecordsNumber = 
     41  mRtMemoryStatusCodeTable->MaxRecordsNumber =
    4242    (PcdGet16 (PcdStatusCodeMemorySize) * 1024) / sizeof (MEMORY_STATUSCODE_RECORD);
    4343
     
    4747
    4848/**
    49   Report status code into runtime memory. If the runtime pool is full, roll back to the 
     49  Report status code into runtime memory. If the runtime pool is full, roll back to the
    5050  first record and overwrite it.
    51  
     51
    5252  @param  CodeType                Indicates the type of status code being reported.
    5353  @param  Value                   Describes the current status of a hardware or software entity.
     
    6060                                  different callers.
    6161  @param  Data                    This optional parameter may be used to pass additional data.
    62  
     62
    6363  @retval EFI_SUCCESS             Status code successfully recorded in runtime memory status code table.
    6464
  • trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/SerialStatusCodeWorker.c

    r58459 r58466  
    33
    44  Copyright (c) 2006 - 2014, 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**/
     
    1717/**
    1818  Convert status code value and extended data to readable ASCII string, send string to serial I/O device.
    19  
     19
    2020  @param  CodeType         Indicates the type of status code being reported.
    2121  @param  Value            Describes the current status of a hardware or software entity.
     
    7474    //
    7575    CharCount = AsciiBSPrint (
    76                   Buffer, 
    77                   sizeof (Buffer), 
    78                   Format, 
     76                  Buffer,
     77                  sizeof (Buffer),
     78                  Format,
    7979                  Marker
    8080                  );
     
    8484    //
    8585    CharCount = AsciiSPrint (
    86                   Buffer, 
    87                   sizeof (Buffer), 
    88                   "ERROR: C%08x:V%08x I%x", 
    89                   CodeType, 
    90                   Value, 
     86                  Buffer,
     87                  sizeof (Buffer),
     88                  "ERROR: C%08x:V%08x I%x",
     89                  CodeType,
     90                  Value,
    9191                  Instance
    9292                  );
    9393    ASSERT (CharCount > 0);
    94    
     94
    9595    if (CallerId != NULL) {
    9696      CharCount += AsciiSPrint (
     
    121121    //
    122122    CharCount = AsciiSPrint (
    123                   Buffer, 
    124                   sizeof (Buffer), 
    125                   "PROGRESS CODE: V%08x I%x\n\r", 
    126                   Value, 
     123                  Buffer,
     124                  sizeof (Buffer),
     125                  "PROGRESS CODE: V%08x I%x\n\r",
     126                  Value,
    127127                  Instance
    128128                  );
     
    144144    //
    145145    CharCount = AsciiSPrint (
    146                   Buffer, 
    147                   sizeof (Buffer), 
    148                   "Undefined: C%08x:V%08x I%x\n\r", 
    149                   CodeType, 
    150                   Value, 
     146                  Buffer,
     147                  sizeof (Buffer),
     148                  "Undefined: C%08x:V%08x I%x\n\r",
     149                  CodeType,
     150                  Value,
    151151                  Instance
    152152                  );
  • trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.c

    r48674 r58466  
    6767
    6868/**
    69   Dispatch initialization request to sub status code devices based on 
     69  Dispatch initialization request to sub status code devices based on
    7070  customized feature flags.
    71  
     71
    7272**/
    7373VOID
     
    100100
    101101  //
    102   // Replay Status code which saved in GUID'ed HOB to all supported devices. 
     102  // Replay Status code which saved in GUID'ed HOB to all supported devices.
    103103  //
    104104  if (FeaturePcdGet (PcdStatusCodeReplayIn)) {
    105     // 
    106     // Journal GUID'ed HOBs to find all record entry, if found, 
     105    //
     106    // Journal GUID'ed HOBs to find all record entry, if found,
    107107    // then output record to support replay device.
    108108    //
     
    153153  @param  ImageHandle       The firmware allocated handle for the EFI image.
    154154  @param  SystemTable       A pointer to the EFI System Table.
    155  
     155
    156156  @retval EFI_SUCCESS       The entry point is executed successfully.
    157157
  • trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.h

    r58459 r58466  
    5454/**
    5555  Locates Serial I/O Protocol as initialization for serial status code worker.
    56  
     56
    5757  @retval EFI_SUCCESS  Serial I/O Protocol is successfully located.
    5858
     
    6666/**
    6767  Convert status code value and extended data to readable ASCII string, send string to serial I/O device.
    68  
     68
    6969  @param  CodeType         Indicates the type of status code being reported.
    7070  @param  Value            Describes the current status of a hardware or software entity.
     
    9595/**
    9696  Initialize runtime memory status code table as initialization for runtime memory status code worker
    97  
     97
    9898  @retval EFI_SUCCESS  Runtime memory status code table successfully initialized.
    9999
     
    105105
    106106/**
    107   Report status code into runtime memory. If the runtime pool is full, roll back to the 
     107  Report status code into runtime memory. If the runtime pool is full, roll back to the
    108108  first record and overwrite it.
    109  
     109
    110110  @param  CodeType                Indicates the type of status code being reported.
    111111  @param  Value                   Describes the current status of a hardware or software entity.
     
    118118                                  different callers.
    119119  @param  Data                    This optional parameter may be used to pass additional data.
    120  
     120
    121121  @retval EFI_SUCCESS             Status code successfully recorded in runtime memory status code table.
    122122
  • trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf

    r58459 r58466  
    5151  DebugLib
    5252  BaseMemoryLib
    53  
     53
    5454[Guids]
    5555  gMemoryStatusCodeRecordGuid                   ## SOMETIMES_CONSUMES   ## HOB
  • trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/StatusCodeHandler/Smm/MemoryStatusCodeWorker.c

    r48674 r58466  
    33
    44  Copyright (c) 2006 - 2010, 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**/
     
    1919/**
    2020  Initialize SMM memory status code table as initialization for memory status code worker
    21  
     21
    2222  @retval EFI_SUCCESS  SMM memory status code table successfully initialized.
    2323
     
    4040
    4141/**
    42   Report status code into runtime memory. If the runtime pool is full, roll back to the 
     42  Report status code into runtime memory. If the runtime pool is full, roll back to the
    4343  first record and overwrite it.
    44  
     44
    4545  @param  CodeType                Indicates the type of status code being reported.
    4646  @param  Value                   Describes the current status of a hardware or software entity.
     
    5353                                  different callers.
    5454  @param  Data                    This optional parameter may be used to pass additional data.
    55  
     55
    5656  @retval EFI_SUCCESS             Status code successfully recorded in runtime memory status code table.
    5757
  • trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/StatusCodeHandler/Smm/SerialStatusCodeWorker.c

    r58459 r58466  
    33
    44  Copyright (c) 2009 - 2014, 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**/
     
    1717/**
    1818  Convert status code value and extended data to readable ASCII string, send string to serial I/O device.
    19  
     19
    2020  @param  CodeType         Indicates the type of status code being reported.
    2121  @param  Value            Describes the current status of a hardware or software entity.
     
    7474    //
    7575    CharCount = AsciiBSPrint (
    76                   Buffer, 
    77                   sizeof (Buffer), 
    78                   Format, 
     76                  Buffer,
     77                  sizeof (Buffer),
     78                  Format,
    7979                  Marker
    8080                  );
     
    8484    //
    8585    CharCount = AsciiSPrint (
    86                   Buffer, 
    87                   sizeof (Buffer), 
    88                   "ERROR: C%08x:V%08x I%x", 
    89                   CodeType, 
    90                   Value, 
     86                  Buffer,
     87                  sizeof (Buffer),
     88                  "ERROR: C%08x:V%08x I%x",
     89                  CodeType,
     90                  Value,
    9191                  Instance
    9292                  );
    9393    ASSERT (CharCount > 0);
    94    
     94
    9595    if (CallerId != NULL) {
    9696      CharCount += AsciiSPrint (
     
    121121    //
    122122    CharCount = AsciiSPrint (
    123                   Buffer, 
    124                   sizeof (Buffer), 
    125                   "PROGRESS CODE: V%08x I%x\n\r", 
    126                   Value, 
     123                  Buffer,
     124                  sizeof (Buffer),
     125                  "PROGRESS CODE: V%08x I%x\n\r",
     126                  Value,
    127127                  Instance
    128128                  );
     
    144144    //
    145145    CharCount = AsciiSPrint (
    146                   Buffer, 
    147                   sizeof (Buffer), 
    148                   "Undefined: C%08x:V%08x I%x\n\r", 
    149                   CodeType, 
    150                   Value, 
     146                  Buffer,
     147                  sizeof (Buffer),
     148                  "Undefined: C%08x:V%08x I%x\n\r",
     149                  CodeType,
     150                  Value,
    151151                  Instance
    152152                  );
  • trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/StatusCodeHandler/Smm/StatusCodeHandlerSmm.c

    r48674 r58466  
    2020
    2121/**
    22   Dispatch initialization request to sub status code devices based on 
     22  Dispatch initialization request to sub status code devices based on
    2323  customized feature flags.
    24  
     24
    2525**/
    2626VOID
     
    5555  @param  ImageHandle       The firmware allocated handle for the EFI image.
    5656  @param  SystemTable       A pointer to the EFI System Table.
    57  
     57
    5858  @retval EFI_SUCCESS       The entry point is executed successfully.
    5959
  • trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/StatusCodeHandler/Smm/StatusCodeHandlerSmm.h

    r58459 r58466  
    5151/**
    5252  Locates Serial I/O Protocol as initialization for serial status code worker.
    53  
     53
    5454  @retval EFI_SUCCESS  Serial I/O Protocol is successfully located.
    5555
     
    6363/**
    6464  Convert status code value and extended data to readable ASCII string, send string to serial I/O device.
    65  
     65
    6666  @param  CodeType         Indicates the type of status code being reported.
    6767  @param  Value            Describes the current status of a hardware or software entity.
     
    9292/**
    9393  Initialize runtime memory status code table as initialization for runtime memory status code worker
    94  
     94
    9595  @retval EFI_SUCCESS  Runtime memory status code table successfully initialized.
    9696
     
    102102
    103103/**
    104   Report status code into runtime memory. If the runtime pool is full, roll back to the 
     104  Report status code into runtime memory. If the runtime pool is full, roll back to the
    105105  first record and overwrite it.
    106  
     106
    107107  @param  CodeType                Indicates the type of status code being reported.
    108108  @param  Value                   Describes the current status of a hardware or software entity.
     
    115115                                  different callers.
    116116  @param  Data                    This optional parameter may be used to pass additional data.
    117  
     117
    118118  @retval EFI_SUCCESS             Status code successfully recorded in runtime memory status code table.
    119119
  • trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/StatusCodeHandler/Smm/StatusCodeHandlerSmm.inf

    r58459 r58466  
    2121  MODULE_TYPE                    = DXE_SMM_DRIVER
    2222  PI_SPECIFICATION_VERSION       = 0x0001000A
    23   VERSION_STRING                 = 1.0 
     23  VERSION_STRING                 = 1.0
    2424  ENTRY_POINT                    = StatusCodeHandlerSmmEntry
    2525
     
    5050  MemoryAllocationLib
    5151  BaseMemoryLib
    52  
     52
    5353[Guids]
    5454  gEfiStatusCodeDataTypeStringGuid              ## SOMETIMES_CONSUMES   ## UNDEFINED
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