chickens: Enable IRQs on t600x

This seems to be safe to do on M1 too.

Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
Hector Martin 2021-11-04 03:55:56 +09:00
parent 0c093521de
commit 4e4335a6ea

View file

@ -26,6 +26,10 @@ void init_common(void)
// Unknown, related to SMP?
msr(s3_4_c15_c5_0, core);
msr(SYS_IMP_APL_AMX_CTL_EL1, 0x100);
// Enable IRQs (at least necessary on t600x)
msr(s3_4_c15_c10_4, 0);
sysop("isb");
}