Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Dec 2017 16:51:43 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r326856 - head/stand/i386/gptboot
Message-ID:  <201712141651.vBEGph2k071540@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Thu Dec 14 16:51:43 2017
New Revision: 326856
URL: https://svnweb.freebsd.org/changeset/base/326856

Log:
  Fix comments after bump in size.

Modified:
  head/stand/i386/gptboot/gptldr.S

Modified: head/stand/i386/gptboot/gptldr.S
==============================================================================
--- head/stand/i386/gptboot/gptldr.S	Thu Dec 14 16:51:26 2017	(r326855)
+++ head/stand/i386/gptboot/gptldr.S	Thu Dec 14 16:51:43 2017	(r326856)
@@ -46,7 +46,7 @@
 		.set SIZ_PAG,0x1000		# Page size
 		.set SIZ_SEC,0x200		# Sector size
 		.set COPY_BLKS,0x8		# Number of blocks
-						# to copy for boot2
+						# to copy for boot2 (<= 15)
 		.set COPY_BLK_SZ,0x8000		# Copy in 32k blocks; must be
 						# a multiple of 16 bytes
 
@@ -72,7 +72,7 @@ start:		xor %cx,%cx			# Zero
  * its header to find boot2.  We need to copy boot2 to MEM_USR and BTX
  * to MEM_BTX.  Since those might overlap, we have to copy boot2
  * backwards first and then copy BTX.  We aren't sure exactly how long
- * boot2 is, but it's currently under 128kB so we'll copy 4 blocks of 32kB
+ * boot2 is, but it's currently under 256kB so we'll copy 8 blocks of 32kB
  * each; this can be adjusted via COPY_BLK and COPY_BLK_SZ above.
  */
 		mov $end,%bx			# BTX



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712141651.vBEGph2k071540>