summaryrefslogtreecommitdiffstats
path: root/sys/amd64/amd64/initcpu.c
diff options
context:
space:
mode:
authorkato <kato@FreeBSD.org>1997-04-19 05:25:19 +0000
committerkato <kato@FreeBSD.org>1997-04-19 05:25:19 +0000
commit5678742cc6736e572768d3cff00c1190bfe666fc (patch)
tree9d485c75be9635dc2e75a5c6666c41ebeb1ce652 /sys/amd64/amd64/initcpu.c
parent583752103fbe5e1bd8baec535843c09bd4e23143 (diff)
downloadFreeBSD-src-5678742cc6736e572768d3cff00c1190bfe666fc.zip
FreeBSD-src-5678742cc6736e572768d3cff00c1190bfe666fc.tar.gz
Don't disable CPU cache in init_486dlc. If BIOS supports Cyrix 486,
BIOS enables CPU cache and other registers. If BIOS does not supports it, CPU cache is disabled at reset time. This commit closes PR/3292. PR: 3292
Diffstat (limited to 'sys/amd64/amd64/initcpu.c')
-rw-r--r--sys/amd64/amd64/initcpu.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/amd64/amd64/initcpu.c b/sys/amd64/amd64/initcpu.c
index 4bd1fe5..e9ee947 100644
--- a/sys/amd64/amd64/initcpu.c
+++ b/sys/amd64/amd64/initcpu.c
@@ -26,7 +26,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: initcpu.c,v 1.1 1997/03/22 19:00:36 kato Exp $
+ * $Id: initcpu.c,v 1.2 1997/03/24 07:23:05 kato Exp $
*/
#include "opt_cpu.h"
@@ -100,8 +100,6 @@ init_486dlc(void)
eflags = read_eflags();
disable_intr();
-
- load_cr0(rcr0() | CR0_CD | CR0_NW);
invd();
ccr0 = read_cyrix_reg(CCR0);
OpenPOWER on IntegriCloud