You've already forked edk2-upstream
mirror of
https://github.com/Dasharo/edk2-upstream.git
synced 2026-03-06 15:03:57 -08:00
The current warm reset implementation attempts the PSCI SYSTEM_RESET2 command twice without clearing the local variable used for Arg1. This can result in passing a random value as the reset type, which may cause the PSCI call to behave unexpectedly and fall back to a cold reset. This change addresses the issue by: - Correcting the monitor call function ID. - Explicitly zeroing the reset type field before invoking the PSCI interface. The updated warm reset flow has been tested and confirmed to invoke SYSTEM_RESET2 as expected. Signed-off-by: Kun Qin <kun.qin@microsoft.com>