* delete two empty files

* commit SMM lock code.


git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2325 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer 2006-06-18 07:41:48 +00:00
parent 2d7bb59018
commit 3951027f57
3 changed files with 6 additions and 1 deletions

View File

@ -13,7 +13,6 @@
#include <device/device.h> #include <device/device.h>
#include <device/pci.h> #include <device/pci.h>
#include <string.h> #include <string.h>
#include <cpu/x86/msr.h>
#include <cpu/x86/pae.h> #include <cpu/x86/pae.h>
#include <pc80/mc146818rtc.h> #include <pc80/mc146818rtc.h>
#include <cpu/x86/lapic.h> #include <cpu/x86/lapic.h>
@ -455,6 +454,12 @@ void model_fxx_init(device_t dev)
k8_errata(); k8_errata();
/* Set SMMLOCK to avoid exploits messing with SMM */
msr = rdmsr(HWCR_MSR);
msr.lo |= (1 << 0);
wrmsr(HWCR_MSR, msr);
/* Set the processor name string */
init_processor_name(); init_processor_name();
enable_cache(); enable_cache();