mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 07:34:06 +02:00
OvmfPkg: Reproduce builds across source format changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3688 Use DEBUG_LINE_NUMBER instead of __LINE__. Cc: Ard Biesheuvel <ardb+tianocore@kernel.org> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Jordan Justen <jordan.l.justen@intel.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Cc: Michael Kubacki <michael.kubacki@microsoft.com> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com> Tested-by: Michael Kubacki <michael.kubacki@microsoft.com>
This commit is contained in:
parent
d939a25d41
commit
fd42dcb1fc
@ -2321,7 +2321,7 @@ LegacyBiosInstallRom (
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
DEBUG ((DEBUG_ERROR, "return LegacyBiosInstallRom(%d): EFI_OUT_OF_RESOURCES (no more space for OpROM)\n", __LINE__));
|
DEBUG ((DEBUG_ERROR, "return LegacyBiosInstallRom(%d): EFI_OUT_OF_RESOURCES (no more space for OpROM)\n", DEBUG_LINE_NUMBER));
|
||||||
//
|
//
|
||||||
// Report Status Code to indicate that there is no enough space for OpROM
|
// Report Status Code to indicate that there is no enough space for OpROM
|
||||||
//
|
//
|
||||||
@ -2337,7 +2337,7 @@ LegacyBiosInstallRom (
|
|||||||
//
|
//
|
||||||
RuntimeAddress = Private->OptionRom;
|
RuntimeAddress = Private->OptionRom;
|
||||||
if (RuntimeAddress + *RuntimeImageLength > MaxRomAddr) {
|
if (RuntimeAddress + *RuntimeImageLength > MaxRomAddr) {
|
||||||
DEBUG ((DEBUG_ERROR, "return LegacyBiosInstallRom(%d): EFI_OUT_OF_RESOURCES (no more space for OpROM)\n", __LINE__));
|
DEBUG ((DEBUG_ERROR, "return LegacyBiosInstallRom(%d): EFI_OUT_OF_RESOURCES (no more space for OpROM)\n", DEBUG_LINE_NUMBER));
|
||||||
gBS->FreePages (PhysicalAddress, EFI_SIZE_TO_PAGES (ImageSize));
|
gBS->FreePages (PhysicalAddress, EFI_SIZE_TO_PAGES (ImageSize));
|
||||||
//
|
//
|
||||||
// Report Status Code to indicate that there is no enough space for OpROM
|
// Report Status Code to indicate that there is no enough space for OpROM
|
||||||
@ -2355,7 +2355,7 @@ LegacyBiosInstallRom (
|
|||||||
//
|
//
|
||||||
InitAddress = PCI_START_ADDRESS (Private->OptionRom);
|
InitAddress = PCI_START_ADDRESS (Private->OptionRom);
|
||||||
if (InitAddress + ImageSize > MaxRomAddr) {
|
if (InitAddress + ImageSize > MaxRomAddr) {
|
||||||
DEBUG ((DEBUG_ERROR, "return LegacyBiosInstallRom(%d): EFI_OUT_OF_RESOURCES (no more space for OpROM)\n", __LINE__));
|
DEBUG ((DEBUG_ERROR, "return LegacyBiosInstallRom(%d): EFI_OUT_OF_RESOURCES (no more space for OpROM)\n", DEBUG_LINE_NUMBER));
|
||||||
//
|
//
|
||||||
// Report Status Code to indicate that there is no enough space for OpROM
|
// Report Status Code to indicate that there is no enough space for OpROM
|
||||||
//
|
//
|
||||||
|
@ -624,7 +624,7 @@ PrepareLpcBridgeDevicePath (
|
|||||||
DEBUG((
|
DEBUG((
|
||||||
DEBUG_INFO,
|
DEBUG_INFO,
|
||||||
"BdsPlatform.c+%d: COM%d DevPath: %s\n",
|
"BdsPlatform.c+%d: COM%d DevPath: %s\n",
|
||||||
__LINE__,
|
DEBUG_LINE_NUMBER,
|
||||||
gPnp16550ComPortDeviceNode.UID + 1,
|
gPnp16550ComPortDeviceNode.UID + 1,
|
||||||
DevPathStr
|
DevPathStr
|
||||||
));
|
));
|
||||||
@ -656,7 +656,7 @@ PrepareLpcBridgeDevicePath (
|
|||||||
DEBUG((
|
DEBUG((
|
||||||
DEBUG_INFO,
|
DEBUG_INFO,
|
||||||
"BdsPlatform.c+%d: COM%d DevPath: %s\n",
|
"BdsPlatform.c+%d: COM%d DevPath: %s\n",
|
||||||
__LINE__,
|
DEBUG_LINE_NUMBER,
|
||||||
gPnp16550ComPortDeviceNode.UID + 1,
|
gPnp16550ComPortDeviceNode.UID + 1,
|
||||||
DevPathStr
|
DevPathStr
|
||||||
));
|
));
|
||||||
|
@ -586,7 +586,7 @@ PrepareLpcBridgeDevicePath (
|
|||||||
DEBUG((
|
DEBUG((
|
||||||
DEBUG_INFO,
|
DEBUG_INFO,
|
||||||
"BdsPlatform.c+%d: COM%d DevPath: %s\n",
|
"BdsPlatform.c+%d: COM%d DevPath: %s\n",
|
||||||
__LINE__,
|
DEBUG_LINE_NUMBER,
|
||||||
gPnp16550ComPortDeviceNode.UID + 1,
|
gPnp16550ComPortDeviceNode.UID + 1,
|
||||||
DevPathStr
|
DevPathStr
|
||||||
));
|
));
|
||||||
|
@ -556,7 +556,7 @@ PrepareLpcBridgeDevicePath (
|
|||||||
DEBUG((
|
DEBUG((
|
||||||
DEBUG_INFO,
|
DEBUG_INFO,
|
||||||
"BdsPlatform.c+%d: COM%d DevPath: %s\n",
|
"BdsPlatform.c+%d: COM%d DevPath: %s\n",
|
||||||
__LINE__,
|
DEBUG_LINE_NUMBER,
|
||||||
gPnp16550ComPortDeviceNode.UID + 1,
|
gPnp16550ComPortDeviceNode.UID + 1,
|
||||||
DevPathStr
|
DevPathStr
|
||||||
));
|
));
|
||||||
@ -588,7 +588,7 @@ PrepareLpcBridgeDevicePath (
|
|||||||
DEBUG((
|
DEBUG((
|
||||||
DEBUG_INFO,
|
DEBUG_INFO,
|
||||||
"BdsPlatform.c+%d: COM%d DevPath: %s\n",
|
"BdsPlatform.c+%d: COM%d DevPath: %s\n",
|
||||||
__LINE__,
|
DEBUG_LINE_NUMBER,
|
||||||
gPnp16550ComPortDeviceNode.UID + 1,
|
gPnp16550ComPortDeviceNode.UID + 1,
|
||||||
DevPathStr
|
DevPathStr
|
||||||
));
|
));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user