Source-Changes archive

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

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



Module Name:    src
Committed By:   bouyer
Date:           Tue Nov 18 22:33:28 UTC 2008

Modified Files:
        src/sys/arch/amd64/amd64 [netbsd-4]: netbsd32_machdep.c
        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/amd64/amd64/netbsd32_machdep.c: revision 1.54
        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.
Ensure optional MTRR sections are built if MTRR is enabled (missing
Fix build due to changes in revision 1.4 of sys/arch/x86/include/mtrr.h


To generate a diff of this commit:
cvs rdiff -r1.30.2.1 -r1.30.2.2 src/sys/arch/amd64/amd64/netbsd32_machdep.c
cvs rdiff -r1.2.52.2 -r1.2.52.3 src/sys/arch/x86/include/mtrr.h
cvs rdiff -r1.8.2.3 -r1.8.2.4 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