Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Oct 2002 14:29:57 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, Poul-Henning Kamp <phk@FreeBSD.org>
Subject:   RE: cvs commit: src/sys/boot/i386/boot2 boot1.s src/sys/boot/i38
Message-ID:  <XFMail.20021007142957.jhb@FreeBSD.org>
In-Reply-To: <XFMail.20021007141650.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 07-Oct-2002 John Baldwin wrote:
> 
> On 07-Oct-2002 Poul-Henning Kamp wrote:
>> phk         2002/10/07 05:15:11 PDT
>> 
>>   Modified files:
>>     sys/boot/i386/boot2  boot1.s 
>>     sys/boot/i386/btx/btx btx.s 
>>   Log:
>>   Move MEM_USR a page upwards to make space for larger UFS1 boot2.
>>   
>>   Load 4 sectors more than we used to.  This is harmless overhead for
>>   the UFS1_ONLY case, but sufficient for boot2(UFS1+2).
> 
> I didn't seen an update to btxldr.s for this case, so I guess the
> loader hasn't been tested with these changes?
> 
> Also:
> 
>> grep boot /usr/src/MAINTAINERS 
> i386 boot[012]  jhb     Pre-commit review preferred.
> cdboot          jhb     Pre-commit review requested.
> pxeboot         jhb     Pre-commit review requested.

This might fix btxldr to catch up to MEM_USR change (untested):

Index: btxldr.s
===================================================================
RCS file: /usr/cvs/src/sys/boot/i386/btx/btxldr/btxldr.s,v
retrieving revision 1.10
diff -u -r1.10 btxldr.s
--- btxldr.s    24 May 2000 02:20:34 -0000      1.10
+++ btxldr.s    7 Oct 2002 18:28:45 -0000
@@ -166,7 +166,7 @@
                call hexout                     #  relocation
                call putstr                     #  message
 ')
-               addl $PAG_SIZ,%ebp              # Display
+               addl $PAG_SIZ*2,%ebp            # Display
 ifdef(`BTXLDR_VERBOSE',`
                movl $m_base,%esi               #  the
                movl %ebp,%eax                  #  user

-- 

John Baldwin <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




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