We submit a patch in TF-A which is armed at reporting the information of through SMC. Cooperating with that patch, we can get thecinformation of memory in EDK2 via SMC calls.
Changes in v2: - Align with the latest version. - modify language and formatting errors.
Changes in v3: - read the information of memory in SbsaQemuSmc.c.
Xiong Yining (1): SbsaQemu: get the information of memory form TF-A
.../SbsaQemuPlatformVersion.h | 1 + .../Include/IndustryStandard/SbsaQemuSmc.h | 2 + .../SbsaQemu/Include/Library/QemuSbsaSmc.h | 28 ++++++++++ .../Library/SbsaQemuLib/SbsaQemuLib.inf | 2 +- .../Library/SbsaQemuLib/SbsaQemuMem.c | 52 +++++-------------- .../Library/SbsaQemuSmc/SbsaQemuSmc.c | 45 ++++++++++++++++ 6 files changed, 89 insertions(+), 41 deletions(-)