diff options
author | Mike Larkin <mlarkin@cvs.openbsd.org> | 2014-12-08 07:49:18 +0000 |
---|---|---|
committer | Mike Larkin <mlarkin@cvs.openbsd.org> | 2014-12-08 07:49:18 +0000 |
commit | eaa777cecac5ffe4813653231622373317e153b4 (patch) | |
tree | 0e0456a6d88b46a78394cca8e7c4746e25875dc5 /sys/arch/amd64 | |
parent | 96e518569e7f3ca4731e4b9ecba26dfa13635b8d (diff) |
Move the data part of the mp trampoline to .rodata (initially). The kernel
moves a copy of this to the RW tramp data page during bootup.
ok deraadt@
Diffstat (limited to 'sys/arch/amd64')
-rw-r--r-- | sys/arch/amd64/amd64/mptramp.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/amd64/amd64/mptramp.S b/sys/arch/amd64/amd64/mptramp.S index 30d7fcd0979..817a27ffc1e 100644 --- a/sys/arch/amd64/amd64/mptramp.S +++ b/sys/arch/amd64/amd64/mptramp.S @@ -1,4 +1,4 @@ -/* $OpenBSD: mptramp.S,v 1.10 2014/11/22 18:31:46 mlarkin Exp $ */ +/* $OpenBSD: mptramp.S,v 1.11 2014/12/08 07:49:17 mlarkin Exp $ */ /* $NetBSD: mptramp.S,v 1.1 2003/04/26 18:39:30 fvdl Exp $ */ /*- @@ -215,7 +215,7 @@ _C_LABEL(cpu_spinup_trampoline_end): #end of code copied to MP_TRAMPOLINE call _C_LABEL(cpu_hatch) /* NOTREACHED */ - + .section .rodata _C_LABEL(mp_tramp_data_start): _TRMP_DATA_LABEL(mptramp_jmp64) .long mptramp_longmode |