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

Legend:

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

  • trunk/src/VBox/Devices/EFI/Firmware/StdLib/EfiSocketLib/Service.c

    r48674 r58459  
    3030
    3131  @retval EFI_SUCCESS          This driver is added to Controller.
    32   @retval other                This driver does not support this device.
     32  @retval EFI_OUT_OF_RESOURCES No more memory available.
     33  @retval EFI_UNSUPPORTED      This driver does not support this device.
    3334
    3435**/
     
    4142{
    4243  BOOLEAN bInUse;
     44  EFI_STATUS ExitStatus;
    4345  UINTN LengthInBytes;
    4446  UINT8 * pBuffer;
     
    5759  //  Assume the list is empty
    5860  //
    59   Status = EFI_UNSUPPORTED;
     61  ExitStatus = EFI_UNSUPPORTED;
    6062  bInUse = FALSE;
    6163
     
    172174
    173175              //
    174               //  Determine if the initialization was successful
    175               //
    176               if ( EFI_ERROR ( Status )) {
    177                 DEBUG (( DEBUG_ERROR | DEBUG_POOL | DEBUG_INIT,
    178                           "ERROR - Failed to initialize service %s on 0x%08x, Status: %r\r\n",
    179                           pSocketBinding->pName,
    180                           Controller,
    181                           Status ));
    182 
    183                 //
    184                 //  Free the network service binding if necessary
    185                 //
    186                 gBS->UninstallMultipleProtocolInterfaces (
    187                           Controller,
    188                           pSocketBinding->pTagGuid,
    189                           pService,
    190                           NULL );
    191                 DEBUG (( DEBUG_POOL | DEBUG_INIT | DEBUG_INFO,
    192                             "Removed:   %s TagGuid from 0x%08x\r\n",
    193                             pSocketBinding->pName,
    194                             Controller ));
    195               }
     176              //  At least one service was made available
     177              //
     178              ExitStatus = EFI_SUCCESS;
    196179            }
    197180            else {
     
    242225                    "ERROR - Failed service allocation, Status: %r\r\n",
    243226                    Status ));
     227          ExitStatus = EFI_OUT_OF_RESOURCES;
     228          break;
    244229        }
    245230      }
     
    255240  //  Display the driver start status
    256241  //
    257   DBG_EXIT_STATUS ( Status );
    258   return Status;
     242  DBG_EXIT_STATUS ( ExitStatus );
     243  return ExitStatus;
    259244}
    260245
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