Changeset 99404 in vbox for trunk/src/VBox/Devices/EFI/FirmwareNew/NetworkPkg/ArpDxe/ComponentName.c
- Timestamp:
- Apr 14, 2023 3:17:44 PM (22 months ago)
- Location:
- trunk/src/VBox/Devices/EFI/FirmwareNew
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/EFI/FirmwareNew
-
Property svn:mergeinfo
changed from (toggle deleted branches)
to (toggle deleted branches)/vendor/edk2/current 103735-103757,103769-103776,129194-145445 /vendor/edk2/current 103735-103757,103769-103776,129194-156846
-
Property svn:mergeinfo
changed from (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/FirmwareNew/NetworkPkg/ArpDxe/ComponentName.c
r80721 r99404 8 8 9 9 #include "ArpDriver.h" 10 11 10 12 11 // … … 22 21 // EFI Component Name 2 Protocol 23 22 // 24 GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gArpComponentName2 = {25 (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) 26 (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) 23 GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gArpComponentName2 = { 24 (EFI_COMPONENT_NAME2_GET_DRIVER_NAME)ArpComponentNameGetDriverName, 25 (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME)ArpComponentNameGetControllerName, 27 26 "en" 28 27 }; 29 28 30 31 GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE mArpDriverNameTable[] = { 29 GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE mArpDriverNameTable[] = { 32 30 { "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 34 GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE mArpControllerNameTable[] = { 37 35 { "eng;en", L"ARP Controller" }, 38 { NULL, NULL}36 { NULL, NULL } 39 37 }; 40 38 … … 166 164 EFIAPI 167 165 ArpComponentNameGetControllerName ( 168 IN EFI_COMPONENT_NAME_PROTOCOL 169 IN EFI_HANDLE 170 IN EFI_HANDLE 171 IN CHAR8 172 OUT CHAR16 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 173 171 ) 174 172 { 175 EFI_STATUS 176 EFI_ARP_PROTOCOL 173 EFI_STATUS Status; 174 EFI_ARP_PROTOCOL *Arp; 177 175 178 176 // … … 201 199 ChildHandle, 202 200 &gEfiArpProtocolGuid, 203 (VOID **)&Arp,201 (VOID **)&Arp, 204 202 NULL, 205 203 NULL,
Note:
See TracChangeset
for help on using the changeset viewer.