diff --git a/src/sys/boot/boot2/boot1.s b/src/sys/boot/boot2/boot1.s index 6a05874..419ca46 100755 --- a/src/sys/boot/boot2/boot1.s +++ b/src/sys/boot/boot2/boot1.s @@ -13,8 +13,6 @@ # purpose. # -# $FreeBSD: src/sys/boot/i386/boot2/boot1.s,v 1.10.2.3 2001/08/14 22:55:29 jhb Exp $ - # Memory Locations .set MEM_REL,0x700 # Relocation address .set MEM_ARG,0x900 # Arguments @@ -28,7 +26,7 @@ # Partition Constants .set PRT_OFF,0x1be # Partition offset .set PRT_NUM,0x4 # Partitions - .set PRT_BSD,0xa5 # Partition type + .set PRT_UFS,0x2A # Partition type # Flag Bits .set FL_PACKET,0x80 # Packet mode @@ -132,9 +130,9 @@ movsw # code # # If we are on a hard drive, then load the MBR and look for the first -# FreeBSD slice. We use the fake partition entry below that points to +# UbixOS slice. We use the fake partition entry below that points to # the MBR when we call nread. The first pass looks for the first active -# FreeBSD slice. The second pass looks for the first non-active FreeBSD +# UbixOS slice. The second pass looks for the first non-active UbixOS # slice if the first one fails. # mov $part4,%si # Partition @@ -145,7 +143,7 @@ mov $0x1,%cx # Two passes main.1: mov $MEM_BUF+PRT_OFF,%si # Partition table movb $0x1,%dh # Partition -main.2: cmpb $PRT_BSD,0x4(%si) # Our partition type? +main.2: cmpb $PRT_UFS,0x4(%si) # Our partition type? jne main.3 # No jcxz main.5 # If second pass testb $0x80,(%si) # Active? @@ -157,7 +155,7 @@ dec %cx # Do two jcxz main.1 # passes # -# If we get here, we didn't find any FreeBSD slices at all, so print an +# If we get here, we didn't find any UbixOS slices at all, so print an # error message and die. # mov $msg_part,%si # Message