VirtualBox

Ignore:
Timestamp:
Apr 14, 2023 3:17:44 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
156854
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/OvmfPkg/Bhyve/BhyveRfbDxe/ComponentName.c

    r89983 r99404  
    3131EFIAPI
    3232EmuGopComponentNameGetControllerName (
    33   IN  EFI_COMPONENT_NAME_PROTOCOL                     *This,
    34   IN  EFI_HANDLE                                      ControllerHandle,
    35   IN  EFI_HANDLE                                      ChildHandle        OPTIONAL,
    36   IN  CHAR8                                           *Language,
    37   OUT CHAR16                                          **ControllerName
     33  IN  EFI_COMPONENT_NAME_PROTOCOL  *This,
     34  IN  EFI_HANDLE                   ControllerHandle,
     35  IN  EFI_HANDLE                   ChildHandle        OPTIONAL,
     36  IN  CHAR8                        *Language,
     37  OUT CHAR16                       **ControllerName
    3838  );
    3939
     
    4141// EFI Component Name Protocol
    4242//
    43 EFI_COMPONENT_NAME_PROTOCOL     gEmuGopComponentName = {
     43EFI_COMPONENT_NAME_PROTOCOL  gEmuGopComponentName = {
    4444  EmuGopComponentNameGetDriverName,
    4545  EmuGopComponentNameGetControllerName,
     
    5050// EFI Component Name 2 Protocol
    5151//
    52 GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gEmuGopComponentName2 = {
    53   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) EmuGopComponentNameGetDriverName,
    54   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) EmuGopComponentNameGetControllerName,
     52GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL  gEmuGopComponentName2 = {
     53  (EFI_COMPONENT_NAME2_GET_DRIVER_NAME)EmuGopComponentNameGetDriverName,
     54  (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME)EmuGopComponentNameGetControllerName,
    5555  "en"
    5656};
    5757
    58 
    59 EFI_UNICODE_STRING_TABLE mEmuGopDriverNameTable[] = {
     58EFI_UNICODE_STRING_TABLE  mEmuGopDriverNameTable[] = {
    6059  { "eng", L"Emulator GOP Driver" },
    61   { NULL , NULL }
     60  { NULL,  NULL                  }
    6261};
    63 
    6462
    6563/**
     
    118116           );
    119117}
    120 
    121118
    122119/**
     
    191188EFIAPI
    192189EmuGopComponentNameGetControllerName (
    193   IN  EFI_COMPONENT_NAME_PROTOCOL                     *This,
    194   IN  EFI_HANDLE                                      ControllerHandle,
    195   IN  EFI_HANDLE                                      ChildHandle        OPTIONAL,
    196   IN  CHAR8                                           *Language,
    197   OUT CHAR16                                          **ControllerName
     190  IN  EFI_COMPONENT_NAME_PROTOCOL  *This,
     191  IN  EFI_HANDLE                   ControllerHandle,
     192  IN  EFI_HANDLE                   ChildHandle        OPTIONAL,
     193  IN  CHAR8                        *Language,
     194  OUT CHAR16                       **ControllerName
    198195  )
    199196{
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