disk.s (65271) | disk.s (167657) |
---|---|
1# Copyright (c) KATO Takenori, 1999, 2000. 2# 3# All rights reserved. Unpublished rights reserved under the copyright 4# laws of Japan. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: --- 11 unchanged lines hidden (view full) --- 20# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27# | 1# Copyright (c) KATO Takenori, 1999, 2000. 2# 3# All rights reserved. Unpublished rights reserved under the copyright 4# laws of Japan. 5# 6# Redistribution and use in source and binary forms, with or without 7# modification, are permitted provided that the following conditions 8# are met: --- 11 unchanged lines hidden (view full) --- 20# IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 21# INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 22# NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 23# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 24# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 26# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27# |
28# $FreeBSD: head/sys/boot/pc98/boot0.5/disk.s 65271 2000-08-31 10:24:06Z kato $ | 28# $FreeBSD: head/sys/boot/pc98/boot0.5/disk.s 167657 2007-03-17 05:30:03Z kato $ |
29# 30 31 .code16 32 .text 33# 34# Check magic number at the end of the sector 0 35# 36check_magic: --- 242 unchanged lines hidden (view full) --- 279 incw %si 280no_scsi_unit: 281 incb %ah 282 shlb %al 283 loop scsi_loop 284 ret 285 286 .data | 29# 30 31 .code16 32 .text 33# 34# Check magic number at the end of the sector 0 35# 36check_magic: --- 242 unchanged lines hidden (view full) --- 279 incw %si 280no_scsi_unit: 281 incb %ah 282 shlb %al 283 loop scsi_loop 284 ret 285 286 .data |
287 .global partnum, parttable, defpartflag, defpartnum, npartition 288partnum: .space 32 # Index of parttable 289parttable: .space 1024 # Copy of valid partition table | 287 .global defpartflag, defpartnum, npartition |
290defpartflag: .byte 0 291defpartnum: .byte 0 292npartition: .word 0 # number of partitions | 288defpartflag: .byte 0 289defpartnum: .byte 0 290npartition: .word 0 # number of partitions |
291 |
|
293 .bss | 292 .bss |
294iplbuf: .space 0x400 | 293 .global partnum, parttable 294iplbuf: .space 0x400 # Read buffer for IPL 295partnum: .space 32 # Index of parttable 296parttable: .space 1024 # Copy of valid partition table |