baremetal: make entry point _start instead of lkmc_start

I forgot why I did that. Let's try and see it blow up.
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2020-03-26 00:00:00 +00:00
parent c5aeb1791c
commit 05a07fc0a8
11 changed files with 23 additions and 23 deletions

View File

@@ -1,7 +1,7 @@
#include <lkmc.h>
.global lkmc_start
lkmc_start:
.global _start
_start:
/* Make all CPUs except CPU0 sleep by default. */
mrs x0, mpidr_el1
ands x0, x0, 3

View File

@@ -1,7 +1,7 @@
#include <lkmc.h>
.global lkmc_start
lkmc_start:
.global _start
_start:
/* Make all CPUs except CPU0 sleep by default. */
mrc p15, 0, r0, c0, c0, 5
ands r0, r0, 3