summaryrefslogtreecommitdiff
path: root/sys/arch/i386
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1997-02-07 08:32:19 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1997-02-07 08:32:19 +0000
commit04d15718f6e93432946affd70fcbd80f7ddbb0a0 (patch)
tree1969844d7f4416d7d3635ba05ceef073dc1f444c /sys/arch/i386
parentdafdd3c88dce4b5eea44510efa33936c8ba2ca57 (diff)
define kernel_text, just like other ports.
Diffstat (limited to 'sys/arch/i386')
-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
/*