Subject: PR/37043 CVS commit: [netbsd-4] src/sys/arch/x86/x86
To: None <port-amd64-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Liam J. Foy <liamjfoy@netbsd.org>
List: netbsd-bugs
Date: 10/29/2007 14:10:03
The following reply was made to PR port-amd64/37043; it has been noted by GNATS.
From: "Liam J. Foy" <liamjfoy@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/37043 CVS commit: [netbsd-4] src/sys/arch/x86/x86
Date: Mon, 29 Oct 2007 14:08:04 +0000 (UTC)
Module Name: src
Committed By: liamjfoy
Date: Mon Oct 29 14:08:03 UTC 2007
Modified Files:
src/sys/arch/x86/x86 [netbsd-4]: mtrr_i686.c
Log Message:
Pull up following revision(s) (requested by pavel in ticket #959):
sys/arch/x86/x86/mtrr_i686.c: revision 1.12
The control registers (notably CR3 and CR4) are 64-bit on amd64 (see
"AMD64 Architecture Programmer's Manual"). Declare the variables
holding them as vaddr_t, otherwise the upper bits are lost.
(CR0 is actually 64-bit too, but the upper bits are unused, so I am
not changing it now.)
Should fix the reboot caused by X11. From Arto Huusko in
PR port-amd64/37043.
To generate a diff of this commit:
cvs rdiff -r1.8 -r1.8.2.1 src/sys/arch/x86/x86/mtrr_i686.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.