Changeset 99404 in vbox for trunk/src/VBox/Devices/EFI/FirmwareNew/NetworkPkg/Dhcp4Dxe/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/Dhcp4Dxe/ComponentName.c
r80721 r99404 6 6 **/ 7 7 8 9 8 #include "Dhcp4Impl.h" 10 9 … … 12 11 // EFI Component Name Functions 13 12 // 13 14 14 /** 15 15 Retrieves a Unicode string that is the user readable name of the driver. … … 59 59 ); 60 60 61 62 61 /** 63 62 Retrieves a Unicode string that is the user readable name of the controller … … 131 130 EFIAPI 132 131 DhcpComponentNameGetControllerName ( 133 IN EFI_COMPONENT_NAME_PROTOCOL 134 IN EFI_HANDLE 135 IN EFI_HANDLE 136 IN CHAR8 137 OUT CHAR16 132 IN EFI_COMPONENT_NAME_PROTOCOL *This, 133 IN EFI_HANDLE ControllerHandle, 134 IN EFI_HANDLE ChildHandle OPTIONAL, 135 IN CHAR8 *Language, 136 OUT CHAR16 **ControllerName 138 137 ); 139 140 138 141 139 // … … 151 149 // EFI Component Name 2 Protocol 152 150 // 153 GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gDhcp4ComponentName2 = {154 (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) 155 (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) 151 GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL gDhcp4ComponentName2 = { 152 (EFI_COMPONENT_NAME2_GET_DRIVER_NAME)DhcpComponentNameGetDriverName, 153 (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME)DhcpComponentNameGetControllerName, 156 154 "en" 157 155 }; 158 156 159 160 GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE mDhcpDriverNameTable[] = { 157 GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE mDhcpDriverNameTable[] = { 161 158 { 162 159 "eng;en", … … 169 166 }; 170 167 171 GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE 172 173 CHAR16 *mDhcp4ControllerName[] = {168 GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE *gDhcpControllerNameTable = NULL; 169 170 CHAR16 *mDhcp4ControllerName[] = { 174 171 L"DHCPv4 (State=0, Stopped)", 175 172 L"DHCPv4 (State=1, Init)", … … 252 249 EFI_STATUS 253 250 UpdateName ( 254 IN EFI_DHCP4_PROTOCOL 251 IN EFI_DHCP4_PROTOCOL *Dhcp4 255 252 ) 256 253 { 257 EFI_STATUS 258 EFI_DHCP4_MODE_DATA 254 EFI_STATUS Status; 255 EFI_DHCP4_MODE_DATA Dhcp4ModeData; 259 256 260 257 if (Dhcp4 == NULL) { … … 370 367 EFIAPI 371 368 DhcpComponentNameGetControllerName ( 372 IN EFI_COMPONENT_NAME_PROTOCOL 373 IN EFI_HANDLE 374 IN EFI_HANDLE 375 IN CHAR8 376 OUT CHAR16 369 IN EFI_COMPONENT_NAME_PROTOCOL *This, 370 IN EFI_HANDLE ControllerHandle, 371 IN EFI_HANDLE ChildHandle OPTIONAL, 372 IN CHAR8 *Language, 373 OUT CHAR16 **ControllerName 377 374 ) 378 375 { 379 EFI_STATUS 380 EFI_DHCP4_PROTOCOL 376 EFI_STATUS Status; 377 EFI_DHCP4_PROTOCOL *Dhcp4; 381 378 382 379 //
Note:
See TracChangeset
for help on using the changeset viewer.