VirtualBox

Ignore:
Timestamp:
Apr 14, 2023 3:17:44 PM (22 months ago)
Author:
vboxsync
Message:

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

Location:
trunk/src/VBox/Devices/EFI/FirmwareNew
Files:
2 edited

Legend:

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

  • trunk/src/VBox/Devices/EFI/FirmwareNew/NetworkPkg/MnpDxe/ComponentName.c

    r80721 r99404  
    1212// EFI Component Name Protocol
    1313//
    14 GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL   gMnpComponentName = {
     14GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL  gMnpComponentName = {
    1515  MnpComponentNameGetDriverName,
    1616  MnpComponentNameGetControllerName,
     
    2222//
    2323GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL  gMnpComponentName2 = {
    24   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) MnpComponentNameGetDriverName,
    25   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) MnpComponentNameGetControllerName,
     24  (EFI_COMPONENT_NAME2_GET_DRIVER_NAME)MnpComponentNameGetDriverName,
     25  (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME)MnpComponentNameGetControllerName,
    2626  "en"
    2727};
    2828
    29 GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE      mMnpDriverNameTable[] = {
     29GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE  mMnpDriverNameTable[] = {
    3030  {
    3131    "eng;en",
     
    3838};
    3939
    40 GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE    *gMnpControllerNameTable = NULL;
     40GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE  *gMnpControllerNameTable = NULL;
    4141
    4242/**
     
    8282EFIAPI
    8383MnpComponentNameGetDriverName (
    84   IN     EFI_COMPONENT_NAME_PROTOCOL   *This,
    85   IN     CHAR8                         *Language,
    86      OUT CHAR16                        **DriverName
     84  IN     EFI_COMPONENT_NAME_PROTOCOL  *This,
     85  IN     CHAR8                        *Language,
     86  OUT CHAR16                          **DriverName
    8787  )
    8888{
     
    9292           mMnpDriverNameTable,
    9393           DriverName,
    94            (BOOLEAN) (This == &gMnpComponentName)
     94           (BOOLEAN)(This == &gMnpComponentName)
    9595           );
    9696}
     
    108108EFI_STATUS
    109109UpdateName (
    110   IN   EFI_MANAGED_NETWORK_PROTOCOL     *Mnp
     110  IN   EFI_MANAGED_NETWORK_PROTOCOL  *Mnp
    111111  )
    112112{
     
    147147                  );
    148148    }
     149
    149150    ASSERT (OffSet > 0);
    150151    //
     
    268269EFIAPI
    269270MnpComponentNameGetControllerName (
    270   IN     EFI_COMPONENT_NAME_PROTOCOL   *This,
    271   IN     EFI_HANDLE                    ControllerHandle,
    272   IN     EFI_HANDLE                    ChildHandle        OPTIONAL,
    273   IN     CHAR8                         *Language,
    274      OUT CHAR16                        **ControllerName
     271  IN     EFI_COMPONENT_NAME_PROTOCOL  *This,
     272  IN     EFI_HANDLE                   ControllerHandle,
     273  IN     EFI_HANDLE                   ChildHandle        OPTIONAL,
     274  IN     CHAR8                        *Language,
     275  OUT CHAR16                          **ControllerName
    275276  )
    276277{
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