MWAIT/MONITOR support is still experimental

Ubunto 7.10 can't boot with MWAIT enabled ...
This commit is contained in:
Stanislav Shwartsman 2007-11-26 20:38:39 +00:00
parent 06550b3fdd
commit bb734a906c
3 changed files with 10 additions and 10 deletions

View File

@ -7,9 +7,9 @@ Changes after 2.3.5 release:
--enable-popcnt
- Implemented MTRR emulation, to enable use --enable-mtrr configure
option. MTRRs is enabled by default when cpu-level >= 6.
- Implemented MONITOR/MWAIT instructions including optimized MWAIT CPU
state and hardware monitoring of physical address range, to enable
use --enable-monitor-mwait configure option
- Implemented experimental MONITOR/MWAIT support including optimized
MWAIT CPU state and hardware monitoring of physical address range,
to enable use --enable-monitor-mwait configure option.
- Removed hostasm optimizations, after Bochs rebenchmarking it was found
that the feature bringing no speedup or even sometimes slowes down
the emulation !

8
bochs/configure vendored
View File

@ -1,5 +1,5 @@
#! /bin/sh
# From configure.in Id: configure.in,v 1.350 2007/11/18 19:53:43 sshwarts Exp .
# From configure.in Id: configure.in,v 1.351 2007/11/23 12:47:12 sshwarts Exp .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.60.
#
@ -1584,7 +1584,7 @@ Optional Features:
--enable-misaligned-sse misaligned SSE support
--enable-sep SYSENTER/SYSEXIT support
--enable-popcnt support for POPCNT instruction
--enable-monitor-mwait support for MONITOR/MWAIT instructions
--enable-monitor-mwait support for MONITOR/MWAIT instructions (experimental)
--enable-x86-debugger x86 debugger support
--enable-cdrom CDROM support
--enable-sb16=xxx Sound Blaster 16 Support (xxx=dummy|win|linux|freebsd|osx)
@ -39409,8 +39409,8 @@ _ACEOF
fi
{ echo "$as_me:$LINENO: checking for MONITOR/MWAIT instructions support" >&5
echo $ECHO_N "checking for MONITOR/MWAIT instructions support... $ECHO_C" >&6; }
{ echo "$as_me:$LINENO: checking for MONITOR/MWAIT instructions support (experimental)" >&5
echo $ECHO_N "checking for MONITOR/MWAIT instructions support (experimental)... $ECHO_C" >&6; }
# Check whether --enable-monitor_mwait was given.
if test "${enable_monitor_mwait+set}" = set; then
enableval=$enable_monitor_mwait; if test "$enableval" = yes; then

View File

@ -2,7 +2,7 @@ dnl // Process this file with autoconf to produce a configure script.
AC_PREREQ(2.50)
AC_INIT(bochs.h)
AC_REVISION([[$Id: configure.in,v 1.351 2007-11-23 12:47:12 sshwarts Exp $]])
AC_REVISION([[$Id: configure.in,v 1.352 2007-11-26 20:38:39 sshwarts Exp $]])
AC_CONFIG_HEADER(config.h)
AC_CONFIG_HEADER(ltdlconf.h)
@ -1744,9 +1744,9 @@ AC_ARG_ENABLE(popcnt,
]
)
AC_MSG_CHECKING(for MONITOR/MWAIT instructions support)
AC_MSG_CHECKING(for MONITOR/MWAIT instructions support (experimental))
AC_ARG_ENABLE(monitor_mwait,
[ --enable-monitor-mwait support for MONITOR/MWAIT instructions],
[ --enable-monitor-mwait support for MONITOR/MWAIT instructions (experimental)],
[if test "$enableval" = yes; then
AC_MSG_RESULT(yes)
AC_DEFINE(BX_SUPPORT_MONITOR_MWAIT, 1)