1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

In the event of a disk error, boot2 is expecting an error

code to be returned: give it one
This commit is contained in:
Robert Nordier 1999-01-13 23:30:07 +00:00
parent 967e682830
commit 05c7fdda18
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42638
2 changed files with 12 additions and 12 deletions

View File

@ -13,7 +13,7 @@
# purpose.
#
# $Id: boot1.s,v 1.6 1998/11/11 08:56:17 rnordier Exp $
# $Id: boot1.s,v 1.7 1999/01/10 13:29:51 peter Exp $
.set MEM_REL,0x700 # Relocation address
.set MEM_ARG,0x900 # Arguments
@ -45,11 +45,11 @@ xread: pushl %ecx # Set
pushl %ebx # buffer
pushl %edx # Set count:drive
callwi(read) # Read from disk
popl %edx # Pop
popl %ebx # all
popl %es # registers
popl %eax # we
popl %ecx # pushed
popl %edx # Pop all
popl %ebx # registers
popl %es # pushed, but
popl %ecx # preserve
popl %ecx # AX
lret # To far caller
# Bootstrap

View File

@ -13,7 +13,7 @@
# purpose.
#
# $Id: boot1.s,v 1.6 1998/11/11 08:56:17 rnordier Exp $
# $Id: boot1.s,v 1.7 1999/01/10 13:29:51 peter Exp $
.set MEM_REL,0x700 # Relocation address
.set MEM_ARG,0x900 # Arguments
@ -45,11 +45,11 @@ xread: pushl %ecx # Set
pushl %ebx # buffer
pushl %edx # Set count:drive
callwi(read) # Read from disk
popl %edx # Pop
popl %ebx # all
popl %es # registers
popl %eax # we
popl %ecx # pushed
popl %edx # Pop all
popl %ebx # registers
popl %es # pushed, but
popl %ecx # preserve
popl %ecx # AX
lret # To far caller
# Bootstrap