From smp@rick.systemsix.com  Mon Sep  9 15:14:41 1996
Received: from rick.systemsix.com (rick.systemsix.com [198.99.86.136])
          by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA24446
          for <FreeBSD-gnats-submit@freebsd.org>; Mon, 9 Sep 1996 15:14:35 -0700 (PDT)
Received: (from smp@localhost) by rick.systemsix.com (8.7.5/8.7.3) id QAA03666; Mon, 9 Sep 1996 16:15:15 -0600 (MDT)
Message-Id: <199609092215.QAA03666@rick.systemsix.com>
Date: Mon, 9 Sep 1996 16:15:15 -0600 (MDT)
From: "smp@"<csn.net@rick.systemsix.com>
Reply-To: "smp@"<csn.net@rick.systemsix.com>
To: FreeBSD-gnats-submit@freebsd.org
Subject: SMP kernel fix 960909.1
X-Send-Pr-Version: 3.2

>Number:         1591
>Category:       kern
>Synopsis:       i386/i386/mpcore.s stores _mpfps at incorrect address
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep  9 15:20:01 PDT 1996
>Closed-Date:    Wed Sep 11 15:42:37 PDT 1996
>Last-Modified:  Wed Sep 11 15:43:31 PDT 1996
>Originator:     Steve Passe
>Release:        FreeBSD 2.2-CURRENT i386
>Organization:
New Ideas
>Environment:

	smp-sys as of August 27, 1996

>Description:

	line 113 of mpcore.s says:

	movl	%esi, _mpfps	/* Store the physical address */

	at this point we have NOT started paging so the address, which
	is linked to kernel space, is not correct.  This hasen't been
	a problem so far since _mpfps is not used anywhere (unless it
	clobbers other data).


>How-To-Repeat:

	not relevant.

>Fix:
	
	change line #113 of mpcore.s to:

	movl	%esi, _mpfps-KERNBASE	/* Store the physical address */

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: peter 
State-Changed-When: Wed Sep 11 15:42:37 PDT 1996 
State-Changed-Why:  
Suggested fix applied, thanks! 
>Unformatted:
