Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HACK: hvf: arm: Always treat SMC as enabled conduit
The Windows 10 and 11 for ARM boot code implicitly assumes that SMC is a valid SMCCC conduit to call for an OEM SMCCC call. This patch forces HVF to treat SMC as an always active conduit, even when the user has configured HVC. That way, the OEM SMCCC call gets handled as an unimplemented SMCCC function (return -1) rather than an invalid conduit (inject undefined instruction exception) which crashes Windows. With this patch applied, I can successfully boot Windows for ARM Insider Previews. Signed-off-by: Alexander Graf <agraf@csgraf.de>
- Loading branch information