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/ArpDxe/ComponentName.c

    r80721 r99404  
    88
    99#include "ArpDriver.h"
    10 
    1110
    1211//
     
    2221// EFI Component Name 2 Protocol
    2322//
    24 GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gArpComponentName2 = {
    25   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) ArpComponentNameGetDriverName,
    26   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) ArpComponentNameGetControllerName,
     23GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL  gArpComponentName2 = {
     24  (EFI_COMPONENT_NAME2_GET_DRIVER_NAME)ArpComponentNameGetDriverName,
     25  (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME)ArpComponentNameGetControllerName,
    2726  "en"
    2827};
    2928
    30 
    31 GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE mArpDriverNameTable[] = {
     29GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE  mArpDriverNameTable[] = {
    3230  { "eng;en", L"ARP Network Service Driver" },
    33   { NULL, NULL }
    34 };
    35 
    36 GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE mArpControllerNameTable[] = {
     31  { NULL,     NULL                          }
     32};
     33
     34GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE  mArpControllerNameTable[] = {
    3735  { "eng;en", L"ARP Controller" },
    38   { NULL, NULL }
     36  { NULL,     NULL              }
    3937};
    4038
     
    166164EFIAPI
    167165ArpComponentNameGetControllerName (
    168   IN  EFI_COMPONENT_NAME_PROTOCOL                     *This,
    169   IN  EFI_HANDLE                                      ControllerHandle,
    170   IN  EFI_HANDLE                                      ChildHandle        OPTIONAL,
    171   IN  CHAR8                                           *Language,
    172   OUT CHAR16                                          **ControllerName
     166  IN  EFI_COMPONENT_NAME_PROTOCOL  *This,
     167  IN  EFI_HANDLE                   ControllerHandle,
     168  IN  EFI_HANDLE                   ChildHandle        OPTIONAL,
     169  IN  CHAR8                        *Language,
     170  OUT CHAR16                       **ControllerName
    173171  )
    174172{
    175   EFI_STATUS                    Status;
    176   EFI_ARP_PROTOCOL              *Arp;
     173  EFI_STATUS        Status;
     174  EFI_ARP_PROTOCOL  *Arp;
    177175
    178176  //
     
    201199                  ChildHandle,
    202200                  &gEfiArpProtocolGuid,
    203                  (VOID **)&Arp,
     201                  (VOID **)&Arp,
    204202                  NULL,
    205203                  NULL,
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