Changeset 101291 in vbox for trunk/src/VBox/Devices/EFI/FirmwareNew/PrmPkg
- Timestamp:
- Sep 27, 2023 1:34:02 PM (17 months ago)
- svn:sync-xref-src-repo-rev:
- 159276
- Location:
- trunk/src/VBox/Devices/EFI/FirmwareNew
- Files:
-
- 11 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-156846 /vendor/edk2/current 103735-103757,103769-103776,129194-159268
-
Property svn:mergeinfo
changed from (toggle deleted branches)
-
trunk/src/VBox/Devices/EFI/FirmwareNew/PrmPkg/Application/PrmInfo/PrmInfo.c
r99404 r101291 494 494 "%a - %a: An error occurred creating a context buffer for handler %g\n", 495 495 gEfiCallerBaseName, 496 __ FUNCTION__,496 __func__, 497 497 HandlerContext->Guid 498 498 )); … … 629 629 "%a - %a: An error occurred during PRM module discovery (%r)\n", 630 630 gEfiCallerBaseName, 631 __ FUNCTION__,631 __func__, 632 632 Status 633 633 )); … … 720 720 "%a - %a: An error occurred parsing user-provided arguments (%r)\n", 721 721 gEfiCallerBaseName, 722 __ FUNCTION__,722 __func__, 723 723 Status 724 724 )); -
trunk/src/VBox/Devices/EFI/FirmwareNew/PrmPkg/Library/DxePrmContextBufferLib/DxePrmContextBufferLib.c
r99404 r101291 41 41 UINTN Index; 42 42 43 DEBUG ((DEBUG_INFO, " %a %a - Entry.\n", _DBGMSGID_, __ FUNCTION__));43 DEBUG ((DEBUG_INFO, " %a %a - Entry.\n", _DBGMSGID_, __func__)); 44 44 45 45 if ((HandlerGuid == NULL) || (ModuleContextBuffers == NULL) || (ContextBuffer == NULL)) { … … 90 90 CONST PRM_CONTEXT_BUFFER *PrmContextBuffer; 91 91 92 DEBUG ((DEBUG_INFO, " %a %a - Entry.\n", _DBGMSGID_, __ FUNCTION__));92 DEBUG ((DEBUG_INFO, " %a %a - Entry.\n", _DBGMSGID_, __func__)); 93 93 94 94 if ((Guid == NULL) || (PrmModuleContextBuffers == NULL)) { … … 123 123 " %a %a: Found a PRM configuration protocol for PRM module %g.\n", 124 124 _DBGMSGID_, 125 __ FUNCTION__,125 __func__, 126 126 Guid 127 127 )); … … 144 144 " %a %a: Could not locate a PRM configuration protocol for PRM handler %g.\n", 145 145 _DBGMSGID_, 146 __ FUNCTION__,146 __func__, 147 147 Guid 148 148 )); … … 177 177 CONST PRM_MODULE_CONTEXT_BUFFERS *ContextBuffers; 178 178 179 DEBUG ((DEBUG_INFO, " %a %a - Entry.\n", _DBGMSGID_, __ FUNCTION__));179 DEBUG ((DEBUG_INFO, " %a %a - Entry.\n", _DBGMSGID_, __func__)); 180 180 181 181 if ((PrmHandlerGuid == NULL) || (PrmContextBuffer == NULL)) { -
trunk/src/VBox/Devices/EFI/FirmwareNew/PrmPkg/Library/DxePrmContextBufferLib/UnitTest/DxePrmContextBufferLibUnitTest.c
r99404 r101291 385 385 UT_LOG_INFO ( 386 386 "%a: Searching by %a GUID ({%g}) returned ContextBuffers at 0x%x\n", 387 __ FUNCTION__,387 __func__, 388 388 ((TestContext->GuidSearchType == ByModuleGuid) ? "module" : "handler"), 389 389 TestContext->Guid, -
trunk/src/VBox/Devices/EFI/FirmwareNew/PrmPkg/Library/DxePrmContextBufferLib/UnitTest/DxePrmContextBufferLibUnitTestHost.inf
r99404 r101291 18 18 # The following information is for reference only and not required by the build tools. 19 19 # 20 # VALID_ARCHITECTURES = IA32 X64 ARM AARCH6420 # VALID_ARCHITECTURES = IA32 X64 21 21 # 22 22 -
trunk/src/VBox/Devices/EFI/FirmwareNew/PrmPkg/Library/DxePrmModuleDiscoveryLib/DxePrmModuleDiscoveryLib.c
r99404 r101291 49 49 PRM_MODULE_IMAGE_CONTEXT_LIST_ENTRY *ForwardListEntry; 50 50 51 DEBUG ((DEBUG_INFO, "%a %a - Entry.\n", _DBGMSGID_, __ FUNCTION__));51 DEBUG ((DEBUG_INFO, "%a %a - Entry.\n", _DBGMSGID_, __func__)); 52 52 53 53 if (ModuleImageContext == NULL) { … … 95 95 PRM_MODULE_IMAGE_CONTEXT_LIST_ENTRY *PrmModuleImageContextListEntry; 96 96 97 DEBUG ((DEBUG_INFO, "%a %a - Entry.\n", _DBGMSGID_, __ FUNCTION__));97 DEBUG ((DEBUG_INFO, "%a %a - Entry.\n", _DBGMSGID_, __func__)); 98 98 99 99 PrmModuleImageContextListEntry = AllocateZeroPool (sizeof (*PrmModuleImageContextListEntry)); … … 106 106 " %a %a: Allocated PrmModuleImageContextListEntry at 0x%x of size 0x%x bytes.\n", 107 107 _DBGMSGID_, 108 __ FUNCTION__,108 __func__, 109 109 (UINTN)PrmModuleImageContextListEntry, 110 110 sizeof (*PrmModuleImageContextListEntry) … … 187 187 UINTN MmramRangeCount; 188 188 189 DEBUG ((DEBUG_INFO, "%a %a - Entry.\n", _DBGMSGID_, __ FUNCTION__));189 DEBUG ((DEBUG_INFO, "%a %a - Entry.\n", _DBGMSGID_, __func__)); 190 190 191 191 PrmHandlerCount = 0; … … 204 204 ); 205 205 if (EFI_ERROR (Status) && (HandleCount == 0)) { 206 DEBUG ((DEBUG_ERROR, "%a %a: No LoadedImageProtocol instances found!\n", _DBGMSGID_, __ FUNCTION__));206 DEBUG ((DEBUG_ERROR, "%a %a: No LoadedImageProtocol instances found!\n", _DBGMSGID_, __func__)); 207 207 return EFI_NOT_FOUND; 208 208 } … … 256 256 "%a %a: ImageHandle 0x%016lx is not a valid PE/COFF image. It cannot be considered a PRM module.\n", 257 257 _DBGMSGID_, 258 __ FUNCTION__,258 __func__, 259 259 (EFI_PHYSICAL_ADDRESS)(UINTN)LoadedImageProtocol->ImageBase 260 260 )); … … 305 305 PrmHandlerCount += TempPrmModuleImageContext.ExportDescriptor->Header.NumberPrmHandlers; 306 306 PrmModuleCount++; 307 DEBUG ((DEBUG_INFO, "%a %a: New PRM Module inserted into list to be processed.\n", _DBGMSGID_, __ FUNCTION__));307 DEBUG ((DEBUG_INFO, "%a %a: New PRM Module inserted into list to be processed.\n", _DBGMSGID_, __func__)); 308 308 } 309 309 -
trunk/src/VBox/Devices/EFI/FirmwareNew/PrmPkg/Library/DxePrmModuleDiscoveryLib/UnitTest/DxePrmModuleDiscoveryLibUnitTestHost.inf
r99404 r101291 18 18 # The following information is for reference only and not required by the build tools. 19 19 # 20 # VALID_ARCHITECTURES = IA32 X64 ARM AARCH6420 # VALID_ARCHITECTURES = IA32 X64 21 21 # 22 22 -
trunk/src/VBox/Devices/EFI/FirmwareNew/PrmPkg/Library/DxePrmPeCoffLib/DxePrmPeCoffLib.c
r99404 r101291 52 52 PRM_MODULE_EXPORT_DESCRIPTOR_STRUCT *TempExportDescriptor; 53 53 54 DEBUG ((DEBUG_INFO, "%a %a - Entry.\n", _DBGMSGID_, __ FUNCTION__));54 DEBUG ((DEBUG_INFO, "%a %a - Entry.\n", _DBGMSGID_, __func__)); 55 55 56 56 if ((ImageExportDirectory == NULL) || … … 68 68 " %a %a: %d exported names found in this image.\n", 69 69 _DBGMSGID_, 70 __ FUNCTION__,70 __func__, 71 71 ImageExportDirectory->NumberOfNames 72 72 )); … … 86 86 " %a %a: Export Name[0x%x] - %a.\n", 87 87 _DBGMSGID_, 88 __ FUNCTION__,88 __func__, 89 89 Index, 90 90 CurrentExportName … … 102 102 " %a %a: PRM Module Export Descriptor found. Ordinal = %d.\n", 103 103 _DBGMSGID_, 104 __ FUNCTION__,104 __func__, 105 105 PrmModuleExportDescriptorOrdinal 106 106 )); 107 107 if (PrmModuleExportDescriptorOrdinal >= ImageExportDirectory->NumberOfFunctions) { 108 DEBUG ((DEBUG_ERROR, "%a %a: The PRM Module Export Descriptor ordinal value is invalid.\n", _DBGMSGID_, __ FUNCTION__));108 DEBUG ((DEBUG_ERROR, "%a %a: The PRM Module Export Descriptor ordinal value is invalid.\n", _DBGMSGID_, __func__)); 109 109 return EFI_NOT_FOUND; 110 110 } … … 113 113 if (TempExportDescriptor->Header.Signature == PRM_MODULE_EXPORT_DESCRIPTOR_SIGNATURE) { 114 114 *ExportDescriptor = TempExportDescriptor; 115 DEBUG ((DEBUG_INFO, " %a %a: PRM Module Export Descriptor found at 0x%x.\n", _DBGMSGID_, __ FUNCTION__, (UINTN)ExportDescriptor));115 DEBUG ((DEBUG_INFO, " %a %a: PRM Module Export Descriptor found at 0x%x.\n", _DBGMSGID_, __func__, (UINTN)ExportDescriptor)); 116 116 } else { 117 117 DEBUG (( … … 119 119 " %a %a: PRM Module Export Descriptor found at 0x%x but signature check failed.\n", 120 120 _DBGMSGID_, 121 __ FUNCTION__,121 __func__, 122 122 (UINTN)TempExportDescriptor 123 123 )); 124 124 } 125 125 126 DEBUG ((DEBUG_INFO, " %a %a: Exiting export iteration since export descriptor found.\n", _DBGMSGID_, __ FUNCTION__));126 DEBUG ((DEBUG_INFO, " %a %a: Exiting export iteration since export descriptor found.\n", _DBGMSGID_, __func__)); 127 127 return EFI_SUCCESS; 128 128 } … … 195 195 "%a %a: The machine type for this image is not valid for a PRM module.\n", 196 196 _DBGMSGID_, 197 __ FUNCTION__197 __func__ 198 198 )); 199 199 return EFI_UNSUPPORTED; … … 209 209 // 210 210 if (OptionalHeaderPtrUnion.Pe32->Signature != EFI_IMAGE_NT_SIGNATURE) { 211 DEBUG ((DEBUG_ERROR, "%a %a: The PE signature is not valid for the current image.\n", _DBGMSGID_, __ FUNCTION__));211 DEBUG ((DEBUG_ERROR, "%a %a: The PE signature is not valid for the current image.\n", _DBGMSGID_, __func__)); 212 212 return EFI_UNSUPPORTED; 213 213 } … … 238 238 // The directory address overflows 239 239 // 240 DEBUG ((DEBUG_ERROR, "%a %a: The export directory entry in this image results in overflow.\n", _DBGMSGID_, __ FUNCTION__));240 DEBUG ((DEBUG_ERROR, "%a %a: The export directory entry in this image results in overflow.\n", _DBGMSGID_, __func__)); 241 241 return EFI_UNSUPPORTED; 242 242 } else { 243 DEBUG ((DEBUG_INFO, "%a %a: Export Directory Entry found in the image at 0x%x.\n", _DBGMSGID_, __ FUNCTION__, (UINTN)OptionalHeaderPtrUnion.Pe32));244 DEBUG ((DEBUG_INFO, " %a %a: Directory Entry Virtual Address = 0x%x.\n", _DBGMSGID_, __ FUNCTION__, DirectoryEntry->VirtualAddress));243 DEBUG ((DEBUG_INFO, "%a %a: Export Directory Entry found in the image at 0x%x.\n", _DBGMSGID_, __func__, (UINTN)OptionalHeaderPtrUnion.Pe32)); 244 DEBUG ((DEBUG_INFO, " %a %a: Directory Entry Virtual Address = 0x%x.\n", _DBGMSGID_, __func__, DirectoryEntry->VirtualAddress)); 245 245 246 246 ExportDirectory = (EFI_IMAGE_EXPORT_DIRECTORY *)((UINTN)Image + DirectoryEntry->VirtualAddress); … … 249 249 " %a %a: Export Directory Table found successfully at 0x%x. Name address = 0x%x. Name = %a.\n", 250 250 _DBGMSGID_, 251 __ FUNCTION__,251 __func__, 252 252 (UINTN)ExportDirectory, 253 253 ((UINTN)Image + ExportDirectory->Name), … … 288 288 UINT16 Magic; 289 289 290 DEBUG ((DEBUG_INFO, " %a %a - Entry.\n", _DBGMSGID_, __ FUNCTION__));290 DEBUG ((DEBUG_INFO, " %a %a - Entry.\n", _DBGMSGID_, __func__)); 291 291 292 292 if ((Image == NULL) || (PeCoffLoaderImageContext == NULL) || (ImageMajorVersion == NULL) || (ImageMinorVersion == NULL)) { … … 321 321 "%a %a: The machine type for this image is not valid for a PRM module.\n", 322 322 _DBGMSGID_, 323 __ FUNCTION__323 __func__ 324 324 )); 325 325 return EFI_UNSUPPORTED; … … 334 334 // 335 335 if (OptionalHeaderPtrUnion.Pe32->Signature != EFI_IMAGE_NT_SIGNATURE) { 336 DEBUG ((DEBUG_ERROR, "%a %a: The PE signature is not valid for the current image.\n", _DBGMSGID_, __ FUNCTION__));336 DEBUG ((DEBUG_ERROR, "%a %a: The PE signature is not valid for the current image.\n", _DBGMSGID_, __func__)); 337 337 return EFI_UNSUPPORTED; 338 338 } … … 352 352 } 353 353 354 DEBUG ((DEBUG_INFO, " %a %a - Image Major Version: 0x%02x.\n", _DBGMSGID_, __ FUNCTION__, *ImageMajorVersion));355 DEBUG ((DEBUG_INFO, " %a %a - Image Minor Version: 0x%02x.\n", _DBGMSGID_, __ FUNCTION__, *ImageMinorVersion));354 DEBUG ((DEBUG_INFO, " %a %a - Image Major Version: 0x%02x.\n", _DBGMSGID_, __func__, *ImageMajorVersion)); 355 DEBUG ((DEBUG_INFO, " %a %a - Image Minor Version: 0x%02x.\n", _DBGMSGID_, __func__, *ImageMinorVersion)); 356 356 357 357 return EFI_SUCCESS; … … 405 405 ASSERT (CurrentExportOrdinal < ImageExportDirectory->NumberOfFunctions); 406 406 if (CurrentExportOrdinal >= ImageExportDirectory->NumberOfFunctions) { 407 DEBUG ((DEBUG_ERROR, " %a %a: The export ordinal value is invalid.\n", _DBGMSGID_, __ FUNCTION__));407 DEBUG ((DEBUG_ERROR, " %a %a: The export ordinal value is invalid.\n", _DBGMSGID_, __func__)); 408 408 break; 409 409 } -
trunk/src/VBox/Devices/EFI/FirmwareNew/PrmPkg/PrmConfigDxe/PrmConfigDxe.c
r99404 r101291 72 72 EFI_GCD_MEMORY_SPACE_DESCRIPTOR Descriptor; 73 73 74 DEBUG ((DEBUG_INFO, "%a %a - Entry.\n", _DBGMSGID_, __ FUNCTION__));74 DEBUG ((DEBUG_INFO, "%a %a - Entry.\n", _DBGMSGID_, __func__)); 75 75 76 76 if ((RuntimeMmioRanges == NULL) || (RuntimeMmioRanges->Count == 0)) { … … 83 83 " %a %a: Runtime MMIO Range [%d].\n", 84 84 _DBGMSGID_, 85 __ FUNCTION__,85 __func__, 86 86 Index 87 87 )); … … 90 90 " %a %a: Physical address = 0x%016x. Length = 0x%x.\n", 91 91 _DBGMSGID_, 92 __ FUNCTION__,92 __func__, 93 93 RuntimeMmioRanges->Range[Index].PhysicalBaseAddress, 94 94 RuntimeMmioRanges->Range[Index].Length … … 142 142 " %a %a: Error [%r] finding descriptor for runtime memory range 0x%016x.\n", 143 143 _DBGMSGID_, 144 __ FUNCTION__,144 __func__, 145 145 Status, 146 146 RuntimeMmioRanges->Range[Index].PhysicalBaseAddress … … 164 164 " %a %a: Error [%r] setting descriptor for runtime memory range 0x%016x.\n", 165 165 _DBGMSGID_, 166 __ FUNCTION__,166 __func__, 167 167 Status, 168 168 RuntimeMmioRanges->Range[Index].PhysicalBaseAddress 169 169 )); 170 170 } else { 171 DEBUG ((DEBUG_INFO, " %a %a: Successfully set runtime attribute for the MMIO range.\n", _DBGMSGID_, __ FUNCTION__));171 DEBUG ((DEBUG_INFO, " %a %a: Successfully set runtime attribute for the MMIO range.\n", _DBGMSGID_, __func__)); 172 172 } 173 173 } … … 190 190 PRM_CONFIG_PROTOCOL *PrmConfigProtocol; 191 191 192 DEBUG ((DEBUG_INFO, "%a %a - Entry.\n", _DBGMSGID_, __ FUNCTION__));192 DEBUG ((DEBUG_INFO, "%a %a - Entry.\n", _DBGMSGID_, __func__)); 193 193 194 194 RangeIndex = 0; … … 200 200 " %a %a: Memory allocation for runtime MMIO pointer array failed.\n", 201 201 _DBGMSGID_, 202 __ FUNCTION__202 __func__ 203 203 )); 204 204 ASSERT (FALSE); … … 233 233 " %a %a: Index out of bounds - Actual count (%d) of runtime MMIO ranges exceeds maximum count (%d).\n", 234 234 _DBGMSGID_, 235 __ FUNCTION__,235 __func__, 236 236 RangeIndex + 1, 237 237 mMaxRuntimeMmioRangeCount … … 249 249 " %a %a: %d MMIO ranges buffers saved for future virtual memory conversion.\n", 250 250 _DBGMSGID_, 251 __ FUNCTION__,251 __func__, 252 252 RangeIndex 253 253 )); … … 278 278 279 279 if (PrmDataBuffer->Header.Signature != PRM_DATA_BUFFER_HEADER_SIGNATURE) { 280 DEBUG ((DEBUG_ERROR, " %a %a: The PRM data buffer signature is invalid. PRM module.\n", _DBGMSGID_, __ FUNCTION__));280 DEBUG ((DEBUG_ERROR, " %a %a: The PRM data buffer signature is invalid. PRM module.\n", _DBGMSGID_, __func__)); 281 281 return EFI_NOT_FOUND; 282 282 } 283 283 284 284 if (PrmDataBuffer->Header.Length < sizeof (PRM_DATA_BUFFER_HEADER)) { 285 DEBUG ((DEBUG_ERROR, " %a %a: The PRM data buffer length is invalid.\n", _DBGMSGID_, __ FUNCTION__));285 DEBUG ((DEBUG_ERROR, " %a %a: The PRM data buffer length is invalid.\n", _DBGMSGID_, __func__)); 286 286 return EFI_BUFFER_TOO_SMALL; 287 287 } … … 312 312 313 313 if (PrmContextBuffer->Signature != PRM_CONTEXT_BUFFER_SIGNATURE) { 314 DEBUG ((DEBUG_ERROR, " %a %a: The PRM context buffer signature is invalid.\n", _DBGMSGID_, __ FUNCTION__));314 DEBUG ((DEBUG_ERROR, " %a %a: The PRM context buffer signature is invalid.\n", _DBGMSGID_, __func__)); 315 315 return EFI_NOT_FOUND; 316 316 } 317 317 318 318 if (IsZeroGuid (&PrmContextBuffer->HandlerGuid)) { 319 DEBUG ((DEBUG_ERROR, " %a %a: The PRM context buffer GUID is zero.\n", _DBGMSGID_, __ FUNCTION__));319 DEBUG ((DEBUG_ERROR, " %a %a: The PRM context buffer GUID is zero.\n", _DBGMSGID_, __func__)); 320 320 return EFI_NOT_FOUND; 321 321 } … … 326 326 " %a %a: Error in static buffer for PRM handler %g.\n", 327 327 _DBGMSGID_, 328 __ FUNCTION__,328 __func__, 329 329 &PrmContextBuffer->HandlerGuid 330 330 )); … … 388 388 PRM_CONFIG_PROTOCOL *PrmConfigProtocol; 389 389 390 DEBUG ((DEBUG_INFO, "%a %a - Entry.\n", _DBGMSGID_, __ FUNCTION__));390 DEBUG ((DEBUG_INFO, "%a %a - Entry.\n", _DBGMSGID_, __func__)); 391 391 392 392 HandleBuffer = NULL; … … 414 414 " %a %a: Found PRM configuration protocol for PRM module %g.\n", 415 415 _DBGMSGID_, 416 __ FUNCTION__,416 __func__, 417 417 &PrmConfigProtocol->ModuleContextBuffers.ModuleGuid 418 418 )); 419 419 420 DEBUG ((DEBUG_INFO, " %a %a: Validating module context buffers...\n", _DBGMSGID_, __ FUNCTION__));420 DEBUG ((DEBUG_INFO, " %a %a: Validating module context buffers...\n", _DBGMSGID_, __func__)); 421 421 for (BufferIndex = 0; BufferIndex < PrmConfigProtocol->ModuleContextBuffers.BufferCount; BufferIndex++) { 422 422 CurrentContextBuffer = &(PrmConfigProtocol->ModuleContextBuffers.Buffer[BufferIndex]); … … 428 428 " %a %a: Context buffer validation failed for PRM handler %g.\n", 429 429 _DBGMSGID_, 430 __ FUNCTION__,430 __func__, 431 431 CurrentContextBuffer->HandlerGuid 432 432 )); … … 434 434 } 435 435 436 DEBUG ((DEBUG_INFO, " %a %a: Module context buffer validation complete.\n", _DBGMSGID_, __ FUNCTION__));436 DEBUG ((DEBUG_INFO, " %a %a: Module context buffer validation complete.\n", _DBGMSGID_, __func__)); 437 437 438 438 if (PrmConfigProtocol->ModuleContextBuffers.RuntimeMmioRanges != NULL) { … … 441 441 " %a %a: Found %d PRM runtime MMIO ranges.\n", 442 442 _DBGMSGID_, 443 __ FUNCTION__,443 __func__, 444 444 PrmConfigProtocol->ModuleContextBuffers.RuntimeMmioRanges->Count 445 445 )); … … 479 479 EFI_EVENT Event; 480 480 481 DEBUG ((DEBUG_INFO, "%a %a - Entry.\n", _DBGMSGID_, __ FUNCTION__));481 DEBUG ((DEBUG_INFO, "%a %a - Entry.\n", _DBGMSGID_, __func__)); 482 482 483 483 // -
trunk/src/VBox/Devices/EFI/FirmwareNew/PrmPkg/PrmLoaderDxe/PrmLoaderDxe.c
r99404 r101291 74 74 UINT64 HandlerPhysicalAddress; 75 75 76 DEBUG ((DEBUG_INFO, "%a %a - Entry.\n", _DBGMSGID_, __ FUNCTION__));76 DEBUG ((DEBUG_INFO, "%a %a - Entry.\n", _DBGMSGID_, __func__)); 77 77 78 78 if (PrmAcpiDescriptionTable == NULL) { … … 90 90 " %a %a: The Platform GUID in the DSC file must be set to a unique non-zero value.\n", 91 91 _DBGMSGID_, 92 __ FUNCTION__92 __func__ 93 93 )); 94 94 ASSERT (!CompareGuid (&gEdkiiDscPlatformGuid, &gZeroGuid)); 95 95 } 96 96 97 DEBUG ((DEBUG_INFO, " %a %a: %d total PRM modules to process.\n", _DBGMSGID_, __ FUNCTION__, mPrmModuleCount));98 DEBUG ((DEBUG_INFO, " %a %a: %d total PRM handlers to process.\n", _DBGMSGID_, __ FUNCTION__, mPrmHandlerCount));97 DEBUG ((DEBUG_INFO, " %a %a: %d total PRM modules to process.\n", _DBGMSGID_, __func__, mPrmModuleCount)); 98 DEBUG ((DEBUG_INFO, " %a %a: %d total PRM handlers to process.\n", _DBGMSGID_, __func__, mPrmHandlerCount)); 99 99 100 100 PrmAcpiDescriptionTableBufferSize = (UINT32)(OFFSET_OF (PRM_ACPI_DESCRIPTION_TABLE, PrmModuleInfoStructure) + … … 102 102 (sizeof (PRM_HANDLER_INFORMATION_STRUCT) * mPrmHandlerCount) 103 103 ); 104 DEBUG ((DEBUG_INFO, " %a %a: Total PRM ACPI table size: 0x%x.\n", _DBGMSGID_, __ FUNCTION__, PrmAcpiDescriptionTableBufferSize));104 DEBUG ((DEBUG_INFO, " %a %a: Total PRM ACPI table size: 0x%x.\n", _DBGMSGID_, __func__, PrmAcpiDescriptionTableBufferSize)); 105 105 106 106 PrmAcpiTable = AllocateZeroPool ((UINTN)PrmAcpiDescriptionTableBufferSize); … … 140 140 " %a %a: PRM Module - %a with %d handlers.\n", 141 141 _DBGMSGID_, 142 __ FUNCTION__,142 __func__, 143 143 (CHAR8 *)((UINTN)CurrentImageAddress + CurrentImageExportDirectory->Name), 144 144 CurrentExportDescriptorStruct->Header.NumberPrmHandlers … … 213 213 " %a %a: Found %a handler physical address at 0x%016x.\n", 214 214 _DBGMSGID_, 215 __ FUNCTION__,215 __func__, 216 216 CurrentExportDescriptorHandlerName, 217 217 CurrentHandlerInfoStruct->PhysicalAddress … … 280 280 ); 281 281 if (!EFI_ERROR (Status)) { 282 DEBUG ((DEBUG_INFO, "%a %a: The PRMT ACPI table was installed successfully.\n", _DBGMSGID_, __ FUNCTION__));282 DEBUG ((DEBUG_INFO, "%a %a: The PRMT ACPI table was installed successfully.\n", _DBGMSGID_, __func__)); 283 283 } 284 284 } … … 317 317 PRM_ACPI_DESCRIPTION_TABLE *PrmAcpiDescriptionTable; 318 318 319 DEBUG ((DEBUG_INFO, "%a %a - Entry.\n", _DBGMSGID_, __ FUNCTION__));319 DEBUG ((DEBUG_INFO, "%a %a - Entry.\n", _DBGMSGID_, __func__)); 320 320 321 321 Status = DiscoverPrmModules (&mPrmModuleCount, &mPrmHandlerCount); … … 355 355 EFI_EVENT EndOfDxeEvent; 356 356 357 DEBUG ((DEBUG_INFO, "%a %a - Entry.\n", _DBGMSGID_, __ FUNCTION__));357 DEBUG ((DEBUG_INFO, "%a %a - Entry.\n", _DBGMSGID_, __func__)); 358 358 359 359 // … … 370 370 ); 371 371 if (EFI_ERROR (Status)) { 372 DEBUG ((DEBUG_ERROR, "%a %a: EndOfDxe callback registration failed! %r.\n", _DBGMSGID_, __ FUNCTION__, Status));372 DEBUG ((DEBUG_ERROR, "%a %a: EndOfDxe callback registration failed! %r.\n", _DBGMSGID_, __func__, Status)); 373 373 ASSERT_EFI_ERROR (Status); 374 374 } -
trunk/src/VBox/Devices/EFI/FirmwareNew/PrmPkg/PrmSsdtInstallDxe/PrmSsdtInstallDxe.c
r99404 r101291 43 43 EFI_ACPI_DESCRIPTION_HEADER *Ssdt; 44 44 45 DEBUG ((DEBUG_INFO, "%a %a - Entry.\n", _DBGMSGID_, __ FUNCTION__));45 DEBUG ((DEBUG_INFO, "%a %a - Entry.\n", _DBGMSGID_, __func__)); 46 46 47 47 if (OemId == NULL) { … … 62 62 ); 63 63 ASSERT_EFI_ERROR (Status); 64 DEBUG ((DEBUG_INFO, "%a %a: SSDT loaded...\n", _DBGMSGID_, __ FUNCTION__));64 DEBUG ((DEBUG_INFO, "%a %a: SSDT loaded...\n", _DBGMSGID_, __func__)); 65 65 66 66 //
Note:
See TracChangeset
for help on using the changeset viewer.