mirror of
https://github.com/AsahiLinux/m1n1
synced 2024-11-10 09:44:13 +00:00
startup: Direct primary CPU RVBAR entry to m1n1 main
This definitely isn't going to work yet, but it's better than ending up in the secondary loop if it ever works. Signed-off-by: Hector Martin <marcan@marcan.st>
This commit is contained in:
parent
06b732e788
commit
bd63b119ec
1 changed files with 5 additions and 1 deletions
|
@ -117,5 +117,9 @@ void _cpu_reset_c(void *stack)
|
|||
printf(" CPU: %s\n", type);
|
||||
|
||||
exception_initialize();
|
||||
|
||||
if (mrs(MPIDR_EL1) & 0xffffff)
|
||||
smp_secondary_entry();
|
||||
else
|
||||
m1n1_main();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue