-/* $OpenBSD: locore.S,v 1.15 2017/06/06 14:39:48 visa Exp $ */
+/* $OpenBSD: locore.S,v 1.16 2017/06/08 12:11:46 visa Exp $ */
/*
* Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
.set noreorder # Noreorder is default style!
.set mips64r2
.globl locore_start
+ .ent locore_start, 0
locore_start:
/* initialize ebase */
dla t0, 0xffffffff80000000
PTR_L sp, 0(sp)
jr ra
nop
+ .end locore_start
#if defined(MULTIPROCESSOR)
LEAF(hw_cpu_spinup_trampoline, 0)
-/* $OpenBSD: locore0.S,v 1.1 2017/06/05 15:23:11 visa Exp $ */
+/* $OpenBSD: locore0.S,v 1.2 2017/06/08 12:11:46 visa Exp $ */
/*
* Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se / www.opsycon.com)
.set noreorder # Noreorder is default style!
.set mips64r2
- .globl start
.globl kernel_text
+ .globl start
+ .ent start, 0
kernel_text = start
start:
j locore_start
nop
+ .end start