asm: make all text section labels .L local

To help with backtraces if we ever fix them due to the lkmc_asm_main_after_prologue debacle.
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-06-16 00:00:01 +00:00
parent 4d4b82f248
commit b3874cc72b
14 changed files with 43 additions and 46 deletions

View File

@@ -10,21 +10,21 @@ LKMC_PROLOGUE
mrc p15, 0, r1, c0, c0, 5
ands r1, r1, 3
beq cpu0_only
cpu1_only:
.Lcpu1_only:
mov r0, 1
ldr r1, =spinlock
str r0, [r1]
dmb sy
sev
cpu1_sleep_forever:
.Lcpu1_sleep_forever:
wfe
b cpu1_sleep_forever
b .Lcpu1_sleep_forever
cpu0_only:
#if !LKMC_GEM5
/* PSCI CPU_ON. */
ldr r0, =0x84000003
mov r1, 1
ldr r2, =cpu1_only
ldr r2, =.Lcpu1_only
mov r3, 0
hvc 0
#endif