Fix typo. Option `CPU_SUSP_HLT' didn't work on Cyrix 486DX box.
Submitted by: nyan@wyvern.cc.kogakuin.ac.jp (Takahashi Yoshihiro)
This commit is contained in:
parent
5c986ed210
commit
1ba2a54313
|
@ -26,7 +26,7 @@
|
||||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: initcpu.c,v 1.9 1997/10/28 15:58:09 bde Exp $
|
* $Id: initcpu.c,v 1.10 1997/11/21 22:33:52 jlemon Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "opt_cpu.h"
|
#include "opt_cpu.h"
|
||||||
|
@ -153,8 +153,8 @@ init_cy486dx(void)
|
||||||
invd();
|
invd();
|
||||||
|
|
||||||
ccr2 = read_cyrix_reg(CCR2);
|
ccr2 = read_cyrix_reg(CCR2);
|
||||||
#ifdef SUSP_HLT
|
#ifdef CPU_SUSP_HLT
|
||||||
ccr2 |= CCR2_SUSP_HTL;
|
ccr2 |= CCR2_SUSP_HLT;
|
||||||
#endif
|
#endif
|
||||||
write_cyrix_reg(CCR2, ccr2);
|
write_cyrix_reg(CCR2, ccr2);
|
||||||
write_eflags(eflags);
|
write_eflags(eflags);
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: initcpu.c,v 1.9 1997/10/28 15:58:09 bde Exp $
|
* $Id: initcpu.c,v 1.10 1997/11/21 22:33:52 jlemon Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "opt_cpu.h"
|
#include "opt_cpu.h"
|
||||||
|
@ -153,8 +153,8 @@ init_cy486dx(void)
|
||||||
invd();
|
invd();
|
||||||
|
|
||||||
ccr2 = read_cyrix_reg(CCR2);
|
ccr2 = read_cyrix_reg(CCR2);
|
||||||
#ifdef SUSP_HLT
|
#ifdef CPU_SUSP_HLT
|
||||||
ccr2 |= CCR2_SUSP_HTL;
|
ccr2 |= CCR2_SUSP_HLT;
|
||||||
#endif
|
#endif
|
||||||
write_cyrix_reg(CCR2, ccr2);
|
write_cyrix_reg(CCR2, ccr2);
|
||||||
write_eflags(eflags);
|
write_eflags(eflags);
|
||||||
|
|
Loading…
Reference in New Issue