Revision: 14010
http://edk2.svn.sourceforge.net/edk2/?rev=14010&view=rev
Author: jcarsey
Date: 2012-12-19 16:47:06 +0000 (Wed, 19 Dec 2012)
Log Message:
-----------
ShellPkg: Updates to DumpHex() and ?\226?\128?\152dmem?\226?\128?\153 command
for correct output format
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chris Phillips <[email protected]>
reviewed-by: Jaben Carsey <[email protected]>
Modified Paths:
--------------
trunk/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c
trunk/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.c
Modified: trunk/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c
===================================================================
--- trunk/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c
2012-12-18 05:07:35 UTC (rev 14009)
+++ trunk/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c
2012-12-19 16:47:06 UTC (rev 14010)
@@ -74,7 +74,7 @@
ShellStatus = SHELL_NOT_FOUND;
} else {
ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_DMEM_MMIO_HEADER_ROW),
gShellDebug1HiiHandle, (UINT64)(UINTN)Address, Size);
- DumpHex(2,0,Size,Buffer);
+ DumpHex(2, (UINTN)Address, Size, Buffer);
}
FreePool(Buffer);
@@ -168,7 +168,7 @@
if (ShellStatus == SHELL_SUCCESS) {
if (!ShellCommandLineGetFlag(Package, L"-mmio")) {
ShellPrintHiiEx(-1, -1, NULL, STRING_TOKEN (STR_DMEM_HEADER_ROW),
gShellDebug1HiiHandle, (UINT64)(UINTN)Address, Size);
- DumpHex(2,0,(UINTN)Size,Address);
+ DumpHex(2, (UINTN)Address, (UINTN)Size, Address);
if (Address == (VOID*)gST) {
Acpi20TableAddress = 0;
AcpiTableAddress = 0;
Modified:
trunk/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.c
===================================================================
---
trunk/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.c
2012-12-18 05:07:35 UTC (rev 14009)
+++
trunk/edk2/ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.c
2012-12-19 16:47:06 UTC (rev 14010)
@@ -180,7 +180,7 @@
Val[Index * 3] = 0;
Str[Index] = 0;
- ShellPrintEx(-1, -1, L"%*a%02X: %-.48a *%a*\r\n", Indent, "", Offset, Val,
Str);
+ ShellPrintEx(-1, -1, L"%*a%08X: %-48a *%a*\r\n", Indent, "", Offset, Val,
Str);
Data += Size;
Offset += Size;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits