summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2004-10-24 12:16:18 +0000
committernyan <nyan@FreeBSD.org>2004-10-24 12:16:18 +0000
commit7e8cc3ff9831bfb2bacb1f54690fa5c4012f8732 (patch)
tree7db30b2c128ee3a8b0b0bf4ad39d3efdd006cd21 /sys/boot
parent39595f1f47c93a3a4fdb03119d8f01152891059d (diff)
downloadFreeBSD-src-7e8cc3ff9831bfb2bacb1f54690fa5c4012f8732.zip
FreeBSD-src-7e8cc3ff9831bfb2bacb1f54690fa5c4012f8732.tar.gz
MFi386: revision 1.4.
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/pc98/btx/lib/btxcsu.s10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/boot/pc98/btx/lib/btxcsu.s b/sys/boot/pc98/btx/lib/btxcsu.s
index f08ae75..6a00659 100644
--- a/sys/boot/pc98/btx/lib/btxcsu.s
+++ b/sys/boot/pc98/btx/lib/btxcsu.s
@@ -30,7 +30,15 @@
#
# Client entry point.
#
-_start: movl %eax,__base # Set base address
+_start: cld
+ pushl %eax
+ movl $_edata,%edi
+ movl $_end,%ecx
+ subl %edi, %ecx
+ xorb %al, %al
+ rep
+ stosb
+ popl __base
movl %esp,%eax # Set
addl $ARGADJ,%eax # argument
movl %eax,__args # pointer
OpenPOWER on IntegriCloud