diff options
author | nyan <nyan@FreeBSD.org> | 2004-10-24 12:16:18 +0000 |
---|---|---|
committer | nyan <nyan@FreeBSD.org> | 2004-10-24 12:16:18 +0000 |
commit | 7e8cc3ff9831bfb2bacb1f54690fa5c4012f8732 (patch) | |
tree | 7db30b2c128ee3a8b0b0bf4ad39d3efdd006cd21 /sys | |
parent | 39595f1f47c93a3a4fdb03119d8f01152891059d (diff) | |
download | FreeBSD-src-7e8cc3ff9831bfb2bacb1f54690fa5c4012f8732.zip FreeBSD-src-7e8cc3ff9831bfb2bacb1f54690fa5c4012f8732.tar.gz |
MFi386: revision 1.4.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/boot/pc98/btx/lib/btxcsu.s | 10 |
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 |