NetBSD-Bugs archive

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

PR/38480 CVS commit: src/sys/arch/x86

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

From: matthew green <>
Subject: PR/38480 CVS commit: src/sys/arch/x86
Date: Tue,  1 Jul 2008 15:27:34 +0000 (UTC)

 Module Name:   src
 Committed By:  mrg
 Date:          Tue Jul  1 15:27:34 UTC 2008
 Modified Files:
        src/sys/arch/x86/include: mtrr.h
        src/sys/arch/x86/x86: mtrr_i686.c
 Log Message:
 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.3 -r1.4 src/sys/arch/x86/include/mtrr.h
 cvs rdiff -r1.17 -r1.18 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