Author: stepan Date: 2006-12-14 01:40:09 +0100 (Thu, 14 Dec 2006) New Revision: 2522
Modified: trunk/LinuxBIOSv2/src/cpu/intel/model_69x/model_69x_init.c trunk/LinuxBIOSv2/src/cpu/intel/model_6dx/model_6dx_init.c trunk/LinuxBIOSv2/src/cpu/intel/model_6xx/model_6xx_init.c Log: Add mtrr support for pentium m cpus
For cache to work the x86_setup_mtrrs() must be called.
Closes #61
Signed-off-by: Jon Dufresne jon.dufresne@gmail.com Acked-by: Stefan Reinauer stepan@coresystems.de
Modified: trunk/LinuxBIOSv2/src/cpu/intel/model_69x/model_69x_init.c =================================================================== --- trunk/LinuxBIOSv2/src/cpu/intel/model_69x/model_69x_init.c 2006-12-14 00:31:38 UTC (rev 2521) +++ trunk/LinuxBIOSv2/src/cpu/intel/model_69x/model_69x_init.c 2006-12-14 00:40:09 UTC (rev 2522) @@ -24,6 +24,7 @@ { /* Turn on caching if we haven't already */ x86_enable_cache(); + x86_setup_mtrrs(36); x86_mtrr_check(); /* Update the microcode */
Modified: trunk/LinuxBIOSv2/src/cpu/intel/model_6dx/model_6dx_init.c =================================================================== --- trunk/LinuxBIOSv2/src/cpu/intel/model_6dx/model_6dx_init.c 2006-12-14 00:31:38 UTC (rev 2521) +++ trunk/LinuxBIOSv2/src/cpu/intel/model_6dx/model_6dx_init.c 2006-12-14 00:40:09 UTC (rev 2522) @@ -24,6 +24,7 @@ { /* Turn on caching if we haven't already */ x86_enable_cache(); + x86_setup_mtrrs(36); x86_mtrr_check(); /* Update the microcode */
Modified: trunk/LinuxBIOSv2/src/cpu/intel/model_6xx/model_6xx_init.c =================================================================== --- trunk/LinuxBIOSv2/src/cpu/intel/model_6xx/model_6xx_init.c 2006-12-14 00:31:38 UTC (rev 2521) +++ trunk/LinuxBIOSv2/src/cpu/intel/model_6xx/model_6xx_init.c 2006-12-14 00:40:09 UTC (rev 2522) @@ -30,6 +30,7 @@ { /* Turn on caching if we haven't already */ x86_enable_cache(); + x86_setup_mtrrs(36); x86_mtrr_check(); /* Update the microcode */