VirtualBox

Ignore:
Timestamp:
Oct 29, 2015 4:30:44 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
103777
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:
11 edited

Legend:

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

  • trunk/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/StatusCode/DatahubStatusCodeHandlerDxe/DataHubStatusCodeWorker.c

    r48674 r58466  
    6363      //
    6464      // Memory management should work at <=TPL_NOTIFY
    65       // 
     65      //
    6666      gBS->RestoreTPL (CurrentTpl);
    6767      return NULL;
     
    133133/**
    134134  Release given record and return it to free record buffer.
    135  
     135
    136136  @param RecordData  Pointer to the record to release.
    137137
     
    349349
    350350  Status = gBS->LocateProtocol (
    351                   &gEfiDataHubProtocolGuid, 
    352                   NULL, 
     351                  &gEfiDataHubProtocolGuid,
     352                  NULL,
    353353                  (VOID **) &mDataHubProtocol
    354354                  );
  • trunk/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/StatusCode/DatahubStatusCodeHandlerDxe/DatahubStatusCodeHandlerDxe.c

    r48674 r58466  
    4646  @param  ImageHandle       The firmware allocated handle for the EFI image.
    4747  @param  SystemTable       A pointer to the EFI System Table.
    48  
     48
    4949  @retval EFI_SUCCESS       The entry point is executed successfully.
    5050
  • trunk/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/StatusCode/DatahubStatusCodeHandlerDxe/DatahubStatusCodeHandlerDxe.inf

    r58459 r58466  
    2020  FILE_GUID                      = 863D214F-0920-437B-8CAD-88EA83A24E97
    2121  MODULE_TYPE                    = DXE_DRIVER
    22   VERSION_STRING                 = 1.0 
     22  VERSION_STRING                 = 1.0
    2323  ENTRY_POINT                    = DatahubStatusCodeHandlerDxeEntry
    2424
     
    3333  DatahubStatusCodeHandlerDxe.c
    3434  DataHubStatusCodeWorker.c
    35  
     35
    3636[Packages]
    3737  MdePkg/MdePkg.dec
     
    3939  IntelFrameworkPkg/IntelFrameworkPkg.dec
    4040  IntelFrameworkModulePkg/IntelFrameworkModulePkg.dec
    41  
     41
    4242[LibraryClasses]
    4343  BaseLib
     
    5151  SynchronizationLib
    5252  BaseMemoryLib
    53  
     53
    5454[Guids]
    5555  gEfiEventExitBootServicesGuid                 ## CONSUMES ## Event
    5656  gEfiDataHubStatusCodeRecordGuid               ## PRODUCES ## UNDEFINED # DataRecord Guid
    5757  gEfiStatusCodeDataTypeDebugGuid               ## SOMETIMES_PRODUCES ## UNDEFINED # Record data type
    58  
     58
    5959[Protocols]
    6060  gEfiRscHandlerProtocolGuid                    ## CONSUMES
  • trunk/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/StatusCode/Pei/MemoryStausCodeWorker.c

    r48674 r58466  
    8282
    8383  //
    84   // Find GUID'ed HOBs to locate current record buffer. 
     84  // Find GUID'ed HOBs to locate current record buffer.
    8585  //
    8686  Hob.Raw = GetFirstGuidHob (&gMemoryStatusCodeRecordGuid);
  • trunk/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/StatusCode/Pei/StatusCodePei.c

    r48674 r58466  
    9696/**
    9797  Entry point of Status Code PEIM.
    98  
     98
    9999  This function is the entry point of this Status Code PEIM.
    100100  It initializes supported status code devices according to PCD settings,
  • trunk/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/DataHubStatusCodeWorker.c

    r48674 r58466  
    6363      //
    6464      // Memory management should work at <=TPL_NOTIFY
    65       // 
     65      //
    6666      gBS->RestoreTPL (CurrentTpl);
    6767      return NULL;
     
    133133/**
    134134  Release given record and return it to free record buffer.
    135  
     135
    136136  @param RecordData  Pointer to the record to release.
    137137
     
    213213    }
    214214  }
    215  
     215
    216216  Record = AcquireRecordBuffer ();
    217217  if (Record == NULL) {
     
    363363
    364364  Status = gBS->LocateProtocol (
    365                   &gEfiDataHubProtocolGuid, 
    366                   NULL, 
     365                  &gEfiDataHubProtocolGuid,
     366                  NULL,
    367367                  (VOID **) &mDataHubProtocol
    368368                  );
  • trunk/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/RtMemoryStatusCodeWorker.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.
     
    5656  @param  Instance                The enumeration of a hardware or software entity within
    5757                                  the system. Valid instance numbers start with 1.
    58  
     58
    5959  @retval EFI_SUCCESS             Status code successfully recorded in runtime memory status code table.
    6060
  • trunk/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/StatusCode/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.
     
    7373    //
    7474    CharCount = AsciiBSPrint (
    75                   Buffer, 
    76                   sizeof (Buffer), 
    77                   Format, 
     75                  Buffer,
     76                  sizeof (Buffer),
     77                  Format,
    7878                  Marker
    7979                  );
     
    8383    //
    8484    CharCount = AsciiSPrint (
    85                   Buffer, 
    86                   sizeof (Buffer), 
    87                   "ERROR: C%08x:V%08x I%x", 
    88                   CodeType, 
    89                   Value, 
     85                  Buffer,
     86                  sizeof (Buffer),
     87                  "ERROR: C%08x:V%08x I%x",
     88                  CodeType,
     89                  Value,
    9090                  Instance
    9191                  );
    92    
     92
    9393    if (CallerId != NULL) {
    9494      CharCount += AsciiSPrint (
     
    119119    //
    120120    CharCount = AsciiSPrint (
    121                   Buffer, 
    122                   sizeof (Buffer), 
    123                   "PROGRESS CODE: V%08x I%x\n\r", 
    124                   Value, 
     121                  Buffer,
     122                  sizeof (Buffer),
     123                  "PROGRESS CODE: V%08x I%x\n\r",
     124                  Value,
    125125                  Instance
    126126                  );
     
    142142    //
    143143    CharCount = AsciiSPrint (
    144                   Buffer, 
    145                   sizeof (Buffer), 
    146                   "Undefined: C%08x:V%08x I%x\n\r", 
    147                   CodeType, 
    148                   Value, 
     144                  Buffer,
     145                  sizeof (Buffer),
     146                  "Undefined: C%08x:V%08x I%x\n\r",
     147                  CodeType,
     148                  Value,
    149149                  Instance
    150150                  );
  • trunk/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.c

    r48674 r58466  
    3939  @param  ImageHandle       The firmware allocated handle for the EFI image.
    4040  @param  SystemTable       A pointer to the EFI System Table.
    41  
     41
    4242  @retval EFI_SUCCESS       The entry point is executed successfully.
    4343
     
    193193
    194194/**
    195   Dispatch initialization request to sub status code devices based on 
     195  Dispatch initialization request to sub status code devices based on
    196196  customized feature flags.
    197  
     197
    198198**/
    199199VOID
     
    237237
    238238  //
    239   // Replay Status code which saved in GUID'ed HOB to all supported devices. 
     239  // Replay Status code which saved in GUID'ed HOB to all supported devices.
    240240  //
    241241  if (FeaturePcdGet (PcdStatusCodeReplayIn)) {
    242     // 
    243     // Journal GUID'ed HOBs to find all record entry, if found, 
     242    //
     243    // Journal GUID'ed HOBs to find all record entry, if found,
    244244    // then output record to support replay device.
    245245    //
  • trunk/src/VBox/Devices/EFI/Firmware/IntelFrameworkModulePkg/Universal/StatusCode/RuntimeDxe/StatusCodeRuntimeDxe.h

    r48674 r58466  
    9797
    9898/**
    99   Dispatch initialization request to sub status code devices based on 
     99  Dispatch initialization request to sub status code devices based on
    100100  customized feature flags.
    101  
     101
    102102**/
    103103VOID
     
    109109/**
    110110  Locates Serial I/O Protocol as initialization for serial status code worker.
    111  
     111
    112112  @retval EFI_SUCCESS  Serial I/O Protocol is successfully located.
    113113
     
    121121/**
    122122  Convert status code value and extended data to readable ASCII string, send string to serial I/O device.
    123  
     123
    124124  @param  CodeType         Indicates the type of status code being reported.
    125125  @param  Value            Describes the current status of a hardware or software entity.
     
    149149/**
    150150  Initialize runtime memory status code table as initialization for runtime memory status code worker
    151  
     151
    152152  @retval EFI_SUCCESS  Runtime memory status code table successfully initialized.
    153153
     
    159159
    160160/**
    161   Report status code into runtime memory. If the runtime pool is full, roll back to the 
     161  Report status code into runtime memory. If the runtime pool is full, roll back to the
    162162  first record and overwrite it.
    163  
     163
    164164  @param  CodeType                Indicates the type of status code being reported.
    165165  @param  Value                   Describes the current status of a hardware or software entity.
     
    168168  @param  Instance                The enumeration of a hardware or software entity within
    169169                                  the system. Valid instance numbers start with 1.
    170  
     170
    171171  @retval EFI_SUCCESS             Status code successfully recorded in runtime memory status code table.
    172172
Note: See TracChangeset for help on using the changeset viewer.

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