Lines Matching refs:to

36 						# to copy for boot2 (<= 15)
44 * Load the rest of zfsboot2 and BTX up, copy the parts to the right locations,
49 * Setup the segment registers to flat addressing (segment 0) and setup the
50 * stack to end just below the start of our code.
60 * partition entry below that points to the MBR when we call read.
92 * Ok, we have a slice and drive in %dx now, so use that to locate and
96 * have do anything fancy here to allow for an extra copy of boot1 and
97 * a partition table (compare to this section of the UFS bootstrap) so we
99 * to run at 0x9000. The boot2.bin binary starts right after the end of BTX,
100 * so we have to figure out where the start of it is and then move the
101 * binary to 0xc000. Normally, BTX clients start at MEM_USR, or 0xa000,
102 * but when we use btxld to create zfsboot2, we use an entry point of
103 * 0x2000. That entry point is relative to MEM_USR; thus boot2.bin
107 * to use a decrementing string move. We also play segment register
114 movl $1024,%eax # Offset to boot2
119 incl %eax # Advance to
125 add %bx,%si # %si to start of boot2
126 dec %si # Set %ds:%si to point at the
127 mov %si,%ax # last byte we want to copy
132 mov $(MEM_USR+2*SIZ_PAG)/16,%ax # Set %es:(-1) to point at
134 mov %ax,%es # want to copy boot2 into.
137 add $COPY_BLK_SZ,%si # Adjust %ds:%si to point at
138 mov %ds,%ax # the end of the next 32k to
141 mov $COPY_BLK_SZ-1,%di # Adjust %es:%di to point at
152 cld # Back to increment
179 * and passes it to read. We assume that the destination address is
182 * %eax - int - LBA to read in relative to partition start
184 * %dl - byte - drive to read from
192 shr $4,%ebx # Convert to segment
207 # fall through to the error
210 * Print out the error message pointed to by %ds:(%si) followed
231 * Check to see if the disk supports EDD. zfsboot requires EDD and does not
235 jb check_edd.1 # No, fail to boot
250 * AL to hex, saving the result to [EDI].
258 sbbb $0x69,%al # to hex