Source-Changes archive

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

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



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