EmbeddedPkg/Scripts/LauterbachT32: Fix EfiLoadDxe.cmm

There have been many changes since EfiLoadDxe.cmm was last updated in
2011. The EFI_SYSTEM_TABLE can no longer be found by scanning memory on
4KB boundaries, so require users pass in its address instead. Update
various offsets so that the debug information can be found and loaded
with a recent version of TRACE32.

Signed-off-by: Rebecca Cran <rebecca@os.amperecomputing.com>
Reviewed-by: Leif Lindholm <quic_llindhol@quicinc.com>
This commit is contained in:
Rebecca Cran
2024-01-29 11:59:16 -07:00
committed by mergify[bot]
parent aceb3490a2
commit e59a40b92c
3 changed files with 19 additions and 73 deletions

View File

@@ -1,10 +1,10 @@
# DXE Phase Debug
Update the memsize variable in EfiLoadDxe.cmm for the actual amount of memory
available in your system. Allow your system to boot to the point that the DXE
Allow your system to boot to the point that the DXE
core is initialized (so that the System Table and Debug Information table is
present in memory) and execute this script (using the toolbar button or
'do EfiLoadDxe' from the command area). It will scan memory for the debug info
table and load modules in it.
'do EfiLoadDxe "0xGST_ADDRESS"' from the command area). 'GST_ADDRESS' is the
address of the EFI_SYSTEM_TABLE, and can be found by the global `gST`.
The script will scan memory for the debug info table and load modules in it.
# SEC/PEI Phase Debug
There is no way to autodetect where these images reside so you must pass an