[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU Mach cpu detection fix
From: |
Alfred M. Szmidt |
Subject: |
Re: GNU Mach cpu detection fix |
Date: |
Sun, 28 Nov 2004 18:26:36 +0100 |
If it's well-tested, then fine by me.
I tested it briefly, seems to work. And Guillem noted that he already
tested it in his original message.
Commited.
2004-11-22 Guillem Jover <guillem@hadrons.org>
* i386/i386/locore.S (discover_x86_cpu_type): Enable function.
Enable ID flag for Cyrix CPU. Use %ebp to save the stack pointer.
Restore EFLAGS just after its last usage.
* i386/i386at/model_dep.c (c_boot_entry): Enable use of
discover_x86_cpu_type. Remove hardcoded cpu_type assignment.
* i386/include/mach/i386/eflags.h
(EFL_VI, EFL_VIP): New bits.
(EFL_AC, EFL_ID): Bits finally added.