NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/38480 CVS commit: [netbsd-4] src/sys/arch/x86

The following reply was made to PR port-amd64/38480; it has been noted by GNATS.

From: Manuel Bouyer <>
Subject: PR/38480 CVS commit: [netbsd-4] src/sys/arch/x86
Date: Wed, 20 Aug 2008 19:37:23 +0000 (UTC)

 Module Name:   src
 Committed By:  bouyer
 Date:          Wed Aug 20 19:37:23 UTC 2008
 Modified Files:
        src/sys/arch/x86/include [netbsd-4]: mtrr.h
        src/sys/arch/x86/x86 [netbsd-4]: mtrr_i686.c
 Log Message:
 Pull up following revision(s) (requested by sborrill in ticket #1173):
        sys/arch/x86/include/mtrr.h: revision 1.4
        sys/arch/x86/x86/mtrr_i686.c: revision 1.18
 hack around PR#38480:
 - rename MTRR_I686_NVAR to MTRR_I686_NVAR_MAX, still set to 8
 - store mtrr VCNT value into i686_mtrr_vcnt.  if it is less than 8,
    zero out the relevant parts of mtrr_raw[].msraddr
 - replace all usage of MTRR_I686_NVAR with either i686_mtrr_vcnt or
    with MTRR_I686_NVAR_MAX as appropriate
 - in i686_mtrr_reload() and mtrr_init_first() don't use mtrr_raw[]
    addresses of 0
 still needs a bunch of reworking to handle VCNT > 8 case.
 To generate a diff of this commit:
 cvs rdiff -r1.2 -r1.2.52.1 src/sys/arch/x86/include/mtrr.h
 cvs rdiff -r1.8.2.1 -r1.8.2.2 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.

Home | Main Index | Thread Index | Old Index