Open Wunkolo opened 5 months ago
Windows on Arm processor-features can be detected from registry with Get-Item -Path HKLM:\HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\*
.
The registry entries map to the registers :
CP 4000: MIDR_EL1
CP 4020: ID_AA64PFR0_EL1
CP 4021: ID_AA64PFR1_EL1
CP 4028: ID_AA64DFR0_EL1
CP 4029: ID_AA64DFR1_EL1
CP 402C: ID_AA64AFR0_EL1
CP 402D: ID_AA64AFR1_EL1
CP 4030: ID_AA64ISAR0_EL1
CP 4031: ID_AA64ISAR1_EL1
CP 4038: ID_AA64MMFR0_EL1
CP 4039: ID_AA64MMFR1_EL1
CP 403A: ID_AA64MMFR2_EL1
An example output from my ThinkPad x13s:
So I was going to argue that ARM on Windows makes little sense, but then I realized you have this Snapdragon that runs Windows (I forgot this existed). I'm still not a fan of Windows, but yes it makes sense to have support for it. I'll schedule some time for this and I'll let you know so that you can test it on your machine :+1:
Creating this issue to capture interest and information in relation to adding Windows on Arm support.