summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>1997-02-07 08:32:18 +0000
committermickey <mickey@openbsd.org>1997-02-07 08:32:18 +0000
commit4867fd1f6c86bda1e3b949828b2911ffd24d4ba8 (patch)
tree3b2fa75af46e18c13167ca65fc5df58cd4829828
parenti hate militarists, pacifists either. (diff)
downloadwireguard-openbsd-4867fd1f6c86bda1e3b949828b2911ffd24d4ba8.tar.xz
wireguard-openbsd-4867fd1f6c86bda1e3b949828b2911ffd24d4ba8.zip
define kernel_text, just like other ports.
-rw-r--r--sys/arch/i386/i386/locore.s4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/i386/i386/locore.s b/sys/arch/i386/i386/locore.s
index 19a3d16eb34..12e659496e3 100644
--- a/sys/arch/i386/i386/locore.s
+++ b/sys/arch/i386/i386/locore.s
@@ -169,7 +169,7 @@ _apm_current_gdt_pdesc:
_bootstrap_gdt:
.space SIZEOF_GDTE * BOOTSTRAP_GDT_NUM
#endif
-_cpu: .long 0 # are we 386, 386sx, or 486
+_cpu: .long 0 # are we 386, 386sx, 486, 586 or 686
_cpu_vendor: .space 16 # vendor string returned by `cpuid' instruction
_cold: .long 1 # cold till we are not
_esym: .long 0 # ptr to end of syms
@@ -188,6 +188,8 @@ tmpstk:
.text
.globl start
+ .globl _kernel_text
+ _kernel_text = start
start: movw $0x1234,0x472 # warm boot
/*