diff options
Diffstat (limited to 'ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c')
-rw-r--r-- | ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c b/ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c index 046cfd5..37bccea 100644 --- a/ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c +++ b/ShellPkg/Library/UefiShellDebug1CommandsLib/Dmem.c @@ -192,6 +192,8 @@ GetImageExecutionInfo ( ptr = (CHAR8 *)ExecInfoTablePtr + 1;
+ Status = EFI_NOT_FOUND;
+
for (Image = 0; Image < *NumberOfImages; Image++, ptr += InfoPtr->InfoSize) {
InfoPtr = (EFI_IMAGE_EXECUTION_INFO *)ptr;
ImagePath = (CHAR16 *)(InfoPtr + 1);
@@ -287,6 +289,7 @@ DisplayConformanceProfiles ( UINTN Profile;
EFI_CONFORMANCE_PROFILES_TABLE *ConfProfTable;
+ Status = EFI_SUCCESS;
ShellStatus = SHELL_SUCCESS;
if (Address != 0) {
@@ -488,6 +491,11 @@ ShellCommandRunDmem ( continue;
}
+ if (CompareGuid (&gST->ConfigurationTable[TableWalker].VendorGuid, &gFdtTableGuid)) {
+ DtbTableAddress = (UINT64)(UINTN)gST->ConfigurationTable[TableWalker].VendorTable;
+ continue;
+ }
+
if (CompareGuid (&gST->ConfigurationTable[TableWalker].VendorGuid, &gEfiMemoryAttributesTableGuid)) {
MemoryAttributesTableAddress = (UINT64)(UINTN)gST->ConfigurationTable[TableWalker].VendorTable;
continue;
@@ -571,19 +579,19 @@ ShellCommandRunDmem ( HiiDatabaseExportBufferAddress,
ConformanceProfileTableAddress
);
- }
- if (ShellCommandLineGetFlag (Package, L"-verbose")) {
- if (ShellStatus == SHELL_SUCCESS) {
- ShellStatus = DisplayRtProperties (RtPropertiesTableAddress);
- }
+ if (ShellCommandLineGetFlag (Package, L"-verbose")) {
+ if (ShellStatus == SHELL_SUCCESS) {
+ ShellStatus = DisplayRtProperties (RtPropertiesTableAddress);
+ }
- if (ShellStatus == SHELL_SUCCESS) {
- ShellStatus = DisplayImageExecutionEntries (ImageExecutionTableAddress);
- }
+ if (ShellStatus == SHELL_SUCCESS) {
+ ShellStatus = DisplayImageExecutionEntries (ImageExecutionTableAddress);
+ }
- if (ShellStatus == SHELL_SUCCESS) {
- ShellStatus = DisplayConformanceProfiles (ConformanceProfileTableAddress);
+ if (ShellStatus == SHELL_SUCCESS) {
+ ShellStatus = DisplayConformanceProfiles (ConformanceProfileTableAddress);
+ }
}
}
} else {
|