During last weeks Ard updated ArmMonitorLib to current SMCCC specification. This allows to use 18 registers as both arguments and return values.
We already have one SMC call with 5 return values (GetCpuTopology) so let move all calls to use of ArmMonitorLib to simplify code. First patch also moves all SMC calls we use into HardwareInfoLib to have all hardware related queries in one place. Signed-off-by: Marcin Juszkiewicz <marcin.juszkiew...@linaro.org> --- Marcin Juszkiewicz (3): SbsaQemu: move SMC calls to HardwareInfoLib SbsaQemu: move from ArmSmcLib to ArmMonitorLib SbsaQemu: drop not needed packages .../SbsaQemuPlatformDxe/SbsaQemuPlatformDxe.inf | 4 +- .../SbsaQemuHardwareInfoLib.inf | 8 +- .../Qemu/SbsaQemu/Include/Library/HardwareInfoLib.h | 31 +++++ .../SbsaQemuPlatformDxe/SbsaQemuPlatformDxe.c | 57 +++------ .../SbsaQemuHardwareInfoLib.c | 132 ++++++++++++++------ 5 files changed, 145 insertions(+), 87 deletions(-) --- base-commit: a8344967ba17584c13620a639fb24990be020878 change-id: 20240808-move-from-armsmclib-to-armmonitorlib-7ce6c2456c95 Best regards, -- Marcin Juszkiewicz <marcin.juszkiew...@linaro.org> -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#120295): https://edk2.groups.io/g/devel/message/120295 Mute This Topic: https://groups.io/mt/107790445/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-