Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 May 1996 19:28:45 +0200 (MET DST)
From:      Thomas Sparrevohn <staff@kyklopen.ping.dk>
To:        freebsd-current@freefall.freebsd.org
Cc:        phk@freefall.freebsd.org
Subject:   Rebooting problem solved
Message-ID:  <Pine.BSF.3.91.960509191354.868D-100000@kyklopen>

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


It seems that the fix to locore.s that Poul-Henning submittet 
in ctm#1767 fixed the problem. I have included a context diff
for the ones who does'nt use ctm.

I must admit that thought _etext allways was page aligned. 

*** /sys/i386/i386/locore.s#ctm	Thu May  9 00:31:25 1996
--- /sys/i386/i386/locore.s	Thu May  9 19:10:16 1996
***************
*** 34,40 ****
   * SUCH DAMAGE.
   *
   *	from: @(#)locore.s	7.3 (Berkeley) 5/13/91
!  *	$Id: locore.s,v 1.70 1996/05/02 22:24:55 phk Exp $
   *
   *		originally from: locore.s, by William F. Jolitz
   *
--- 34,40 ----
   * SUCH DAMAGE.
   *
   *	from: @(#)locore.s	7.3 (Berkeley) 5/13/91
!  *	$Id: locore.s,v 1.71 1996/05/09 07:16:00 phk Exp $
   *
   *		originally from: locore.s, by William F. Jolitz
   *
***************
*** 740,745 ****
--- 740,747 ----
  
  /* Map read-write, data, bss and symbols */
  	movl	$R(_etext),%eax
+ 	addl	$PAGE_MASK, %eax
+ 	andl	$~PAGE_MASK, %eax
  map_read_write:
  	movl	R(_KERNend),%ecx
  	subl	%eax,%ecx





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960509191354.868D-100000>