Subject: CVS commit: src/sys/arch/x86/x86
To: None <source-changes@NetBSD.org>
From: Pavel Cahyna <pavel@netbsd.org>
List: source-changes
Date: 10/19/2007 21:34:56
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.