diff options
| author | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2004-10-24 12:16:18 +0000 |
|---|---|---|
| committer | Yoshihiro Takahashi <nyan@FreeBSD.org> | 2004-10-24 12:16:18 +0000 |
| commit | c25984c97c19b40d8d921bd659921208c14080ab (patch) | |
| tree | 7db30b2c128ee3a8b0b0bf4ad39d3efdd006cd21 /sys | |
| parent | 3ad0b93804f35da684f390ca821137d22ec80fc6 (diff) | |
Notes
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 f08ae754f826..6a006596295f 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 |
