Revision: 16754
http://sourceforge.net/p/edk2/code/16754
Author: vanjeff
Date: 2015-02-04 13:04:46 +0000 (Wed, 04 Feb 2015)
Log Message:
-----------
MdeModulePkg: Fixed DxeCore displaying incorrect FV Hob information
Modify DxeMain.c which displays incorrect debug message regarding FV Hob.
Specifically, the BaseAddress and Length are not related to the same FV.
(Sync patch r16660 from main trunk.)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Hao Wu <[email protected]>
Reviewed-by: Liming Gao <[email protected]>
Revision Links:
--------------
http://sourceforge.net/p/edk2/code/16660
Modified Paths:
--------------
branches/UDK2014.SP1/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c
Modified: branches/UDK2014.SP1/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c
===================================================================
--- branches/UDK2014.SP1/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c
2015-02-04 13:03:58 UTC (rev 16753)
+++ branches/UDK2014.SP1/MdeModulePkg/Core/Dxe/DxeMain/DxeMain.c
2015-02-04 13:04:46 UTC (rev 16754)
@@ -1,7 +1,7 @@
/** @file
DXE Core Main Entry Point
-Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD
License
which accompanies this distribution. The full text of the license may be
found at
@@ -374,7 +374,7 @@
if (GET_HOB_TYPE (Hob) == EFI_HOB_TYPE_FV2) {
DEBUG ((DEBUG_INFO | DEBUG_LOAD, "FV2 Hob 0x%0lx -
0x%0lx\n", Hob.FirmwareVolume2->BaseAddress, Hob.FirmwareVolume2->BaseAddress +
Hob.FirmwareVolume2->Length - 1));
} else if (GET_HOB_TYPE (Hob) == EFI_HOB_TYPE_FV) {
- DEBUG ((DEBUG_INFO | DEBUG_LOAD, "FV Hob 0x%0lx -
0x%0lx\n", Hob.FirmwareVolume->BaseAddress, Hob.FirmwareVolume->BaseAddress +
Hob.FirmwareVolume2->Length - 1));
+ DEBUG ((DEBUG_INFO | DEBUG_LOAD, "FV Hob 0x%0lx -
0x%0lx\n", Hob.FirmwareVolume->BaseAddress, Hob.FirmwareVolume->BaseAddress +
Hob.FirmwareVolume->Length - 1));
}
}
DEBUG_CODE_END ();
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits