mirror of
https://github.com/tianocore/edk2.git
synced 2025-08-26 04:33:51 +00:00
ShellPkg: DtbTableAddress via config in dmem
DTB address can be modified through the config table. Use
this address in dmem output.
EmbeddedPkg dependency added to
ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
and ShellPkg/ShellPkg.ci.yaml
Adds to: 42b0443599
("ShellPkg: UefiShellDebug1CommandsLib: Uefi Config Tables in Dmem.c")
Signed-off-by: Prachotan Reddy Bathi <Prachotan.Bathi@arm.com>
This commit is contained in:
parent
5d68f99aa7
commit
dcde1480bf
@ -491,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;
|
||||
|
@ -96,6 +96,7 @@
|
||||
MdePkg/MdePkg.dec
|
||||
ShellPkg/ShellPkg.dec
|
||||
MdeModulePkg/MdeModulePkg.dec
|
||||
EmbeddedPkg/EmbeddedPkg.dec
|
||||
|
||||
[LibraryClasses]
|
||||
MemoryAllocationLib
|
||||
@ -144,3 +145,4 @@
|
||||
gEfiConfProfilesUefiSpecGuid ## SOMETIMES_CONSUMES ## GUID
|
||||
gEfiConfProfilesEbbrSpec21Guid ## SOMETIMES_CONSUMES ## GUID
|
||||
gEfiConfProfilesEbbrSpec22Guid ## SOMETIMES_CONSUMES ## GUID
|
||||
gFdtTableGuid ## SOMETIMES_CONSUMES ## SystemTable
|
||||
|
@ -35,6 +35,7 @@
|
||||
"MdePkg/MdePkg.dec",
|
||||
"MdeModulePkg/MdeModulePkg.dec",
|
||||
"ShellPkg/ShellPkg.dec",
|
||||
"EmbeddedPkg/EmbeddedPkg.dec",
|
||||
"NetworkPkg/NetworkPkg.dec"
|
||||
],
|
||||
# For host based unit tests
|
||||
|
Loading…
Reference in New Issue
Block a user