Subject: PR/37043 CVS commit: src/sys/arch/x86/x86
To: None <port-amd64-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Pavel Cahyna <pavel@netbsd.org>
List: netbsd-bugs
Date: 10/19/2007 21:35:02
The following reply was made to PR port-amd64/37043; it has been noted by GNATS.
From: Pavel Cahyna <pavel@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: PR/37043 CVS commit: src/sys/arch/x86/x86
Date: Fri, 19 Oct 2007 21:34:56 +0000 (UTC)
Module Name: src
Committed By: pavel
Date: Fri Oct 19 21:34:56 UTC 2007
Modified Files:
src/sys/arch/x86/x86: mtrr_i686.c
Log Message:
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.11 -r1.12 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.