Commit Graph

641 Commits

Author SHA1 Message Date
Volker Ruppert
795a7929f1 Fixed link failure if GTK debugger is present, but no other Bochs facilty
using the pthreads library (SF patch #531 by Dawn Teschendorf fixing SF bug
#1364).
2014-12-20 07:51:11 +00:00
Volker Ruppert
f8e04266d6 Added capability to control VS2013 fastcall switch with configure option
--enable-fast-function-calls (MSVC nmake only).
2014-12-12 18:45:32 +00:00
Volker Ruppert
5a346de14d Changed to way to determine the default lowlevel sound driver (part of the
mixing3.patch by Dawn Teschendorf).
2014-11-22 11:44:02 +00:00
Volker Ruppert
5f0a7b18c9 Enable GTK debugger only if GTK2 libraries are installed. 2014-11-15 13:33:18 +00:00
Volker Ruppert
f871f42721 Regenerated after release 2014-11-02 14:15:32 +00:00
Volker Ruppert
b07c01fef3 Regenerated for release 2014-11-02 07:46:30 +00:00
Volker Ruppert
1ed744884c Disable enhanced debugger if gui support is not available. 2014-11-01 10:13:40 +00:00
Stanislav Shwartsman
f8267ec3a7 rework in CPUID code (fixed code duplication). Re-enable perfmon reporting in CPUID because Win8/Win10 installation doesn't want to start without perfmon reported. TODO: implement basic perfmon support (at least only fixed counters) because win7-64 doesn't install with perfmon reported but not implemented 2014-10-15 08:04:38 +00:00
Stanislav Shwartsman
8d1e3b2ac1 Added statistics collection infrastructure in Bochs and
implemented important CPU statistics which were used for Bochs CPU model performance analysis.
old statistics code from paging.cc and cpu.cc is replaced with new infrastructure.

In order to enale statitics collection in Bochs CPU:

- Enable statistics @ compilation time in cpu/cpustats.h
- Dump statistics periodically by adding -dumpstats N into Bochs command line
2014-10-14 15:59:10 +00:00
Volker Ruppert
34d4983cba Compile enhanced gui debugger core only if enabled. 2014-08-31 17:08:58 +00:00
Volker Ruppert
494ed30e95 Some fixes for plugin support with VS2013Ex
- creating extra manifest for bochs.exe no longer needed
- cleaning up temporary manifest files no longer necessary
2014-07-26 06:54:34 +00:00
Volker Ruppert
6321cbef67 Regenerated after moving AVX/EVEX stuff to cpu subfolder 2014-07-25 08:38:57 +00:00
Volker Ruppert
e4747ee712 Regenerated after SDL2 changes 2014-07-06 17:45:55 +00:00
Volker Ruppert
a643105a9c Added initial SDL2 gui code, use --with-sdl2 to enable it.
TODO list:
- fullscreen mode, keyboard mapping, mouse wheel support
- take advantage of new SDL2 features
- Windows port not yet tested
2014-06-27 20:53:20 +00:00
Volker Ruppert
c188a6ba5d Started preparing Bochs for SDL2 support. Set up GUI_LINK_OPTS_SDL in the
configure script (SDL2 uses 'sdl2-config' instead of 'sdl-config').
2014-06-21 08:22:22 +00:00
Volker Ruppert
8c846f51be Regenerated after release 2014-06-15 14:30:18 +00:00
Volker Ruppert
90c4642cdb Regenerated for release 2014-06-15 06:02:17 +00:00
Stanislav Shwartsman
84bb623af8 speedup visual studio build by almost 20% by adding /Gr compiler option 2014-06-04 19:46:21 +00:00
Volker Ruppert
ffe5a4bf39 Regenerated after release 2014-06-01 15:46:11 +00:00
Volker Ruppert
16e17bf77b Regenerated for release 2014-06-01 06:31:24 +00:00
Volker Ruppert
e16ce9f908 Regenerated after finishing MSVC nmake support for plugins 2014-05-03 10:59:18 +00:00
Volker Ruppert
a7b316a50e Regenerated after DLL plugin support changes 2014-05-02 17:15:27 +00:00
Stanislav Shwartsman
2fe0aaa472 added configure option for trace linking optimization and mention it in CHANGES 2014-05-01 18:30:23 +00:00
Volker Ruppert
91047b893f Regenerated after MSVC plugin change and wxWidgets link fix 2014-04-21 18:45:13 +00:00
Volker Ruppert
774e66b9c5 Regenerated after MSVC plugin changes 2014-04-21 07:00:07 +00:00
Volker Ruppert
4e422316f2 Regenerated after plugin target change 2014-04-06 07:23:01 +00:00
Volker Ruppert
374588ffa2 Renamed "slirp_new" to "slirp" (source file, symbols, classes, docs) 2014-04-02 17:38:36 +00:00
Volker Ruppert
571f612bc7 Regenerated after "slirp backend" removal 2014-04-01 18:20:41 +00:00
Volker Ruppert
db5f3d4fed regenerated after device options reorg 2014-03-23 12:02:16 +00:00
Volker Ruppert
87bf69dcd1 regenerated after adding MSVC slirp support 2014-02-25 19:46:15 +00:00
Volker Ruppert
b7238798fc Explicitly disable the new slirp module for the MSVC case until the
container_of() macros is fixed (required for Cygwin).
2014-02-23 21:22:41 +00:00
Volker Ruppert
c54dadc891 Regenerated after adding builtin "slirp" support 2014-02-16 13:33:07 +00:00
Volker Ruppert
169754f509 Switch to Winsock2 library for all Windows cases 2014-02-15 12:18:46 +00:00
Volker Ruppert
6a5e91bfbd regenerated after wsock32 change 2014-01-26 22:12:23 +00:00
Stanislav Shwartsman
2379590dde do not compile AVX objects if AVX support is not enabled in configure 2014-01-26 19:20:44 +00:00
Volker Ruppert
4bc681d0cc regenerated after no-libtool bugfix 2014-01-03 21:58:59 +00:00
Volker Ruppert
59b07e4b61 The plugin version now uses the native DLL handling code for all Windows ports.
Skip configure checks for libtool / ltdl and no longer link with mingwex.
2013-12-29 20:04:44 +00:00
Volker Ruppert
a1f8794654 Fixed compilation with Cygwin
- reverted changes in SVN revision 10985 (-DWIN32 now works again with Cygwin)
- don't link Bochs.exe or RFB gui with wsock32.dll in the Cygwin case
- the win32 gui doesn't need to be linked wsock32.dll at all
2013-12-22 12:17:44 +00:00
Volker Ruppert
0c2cb0536a regenerated after ssize_t change 2013-12-04 17:05:49 +00:00
Stanislav Shwartsman
a421c921d0 fixed typo in configure script 2013-12-02 19:57:49 +00:00
Volker Ruppert
081f51d316 Regenerated after Makefile changes 2013-11-18 16:58:00 +00:00
Volker Ruppert
2756931a40 regenerated after gcc 4.8 plugin fix 2013-11-10 17:26:25 +00:00
Volker Ruppert
e228219474 regenerated after cdrom changes 2013-11-10 11:22:23 +00:00
Volker Ruppert
b1d4a96983 Rewrite of the lowlevel cdrom code
- class cdrom_base_c now provides portable ISO image access methods
- platform specific classes implement access to cdrom/dvd devices
2013-11-06 11:15:22 +00:00
Volker Ruppert
30a79f7ab8 regenerated after bximage fixes 2013-10-28 20:44:09 +00:00
Stanislav Shwartsman
494d0ac821 Remove obsolete configure check (cygwin does not have this problem anymore)
Also Bochs doesn't use the math library functions!
2013-10-21 19:26:07 +00:00
Stanislav Shwartsman
6f9400d4e8 TDM gcc under cygwin called x85_64_unknown-cygwin - fix configure script to support it 2013-10-20 14:48:38 +00:00
Volker Ruppert
f3e10ea276 regenerated after adding support for the new bximage utility 2013-10-14 15:58:19 +00:00
Stanislav Shwartsman
9bed769cdd fixed typo in enable-evex option in configure script 2013-09-24 20:47:40 +00:00
Volker Ruppert
b08cb9e9fd Regenerated after sound module changes 2013-08-04 14:35:54 +00:00
Stanislav Shwartsman
2dbe81db51 first infrastructure changes to support EVEX prefix and AVX-512 extensions recently published by Intel 2013-07-26 12:50:56 +00:00
Volker Ruppert
b2f8908588 Regenerated after ALSA sound driver changes 2013-07-14 15:16:03 +00:00
Volker Ruppert
5aa2a2d50f regenerated after vncsrv changes 2013-05-31 16:47:15 +00:00
Volker Ruppert
5618cea18b regenerated after adding 'vncsrv' gui 2013-05-30 17:21:10 +00:00
Volker Ruppert
0f2e7ec578 regenerated after release 2013-05-29 17:35:58 +00:00
Volker Ruppert
7162aeba05 regenerated for release 2013-05-26 07:18:08 +00:00
Volker Ruppert
fa058a9e2d regenerated after release 2013-04-08 18:00:54 +00:00
Volker Ruppert
64f9c3130d regenerated for release 2013-04-07 15:28:07 +00:00
Stanislav Shwartsman
25733b4387 added scrollwin.o in configure scripts for mingw 2013-03-18 20:47:08 +00:00
Volker Ruppert
d6e6bf217b regenerated after adding scrollwin files 2013-03-18 19:09:30 +00:00
Stanislav Shwartsman
ce2751a13c move misaligned_sse from compile time to .bochsrc option 2012-12-20 19:43:11 +00:00
Volker Ruppert
b63d835b30 - regenerated after the PCI changes 2012-11-08 19:20:46 +00:00
Stanislav Shwartsman
110fd4b92a Fixed issue with configure script with debugger enabled.
I am copiling using Cygwin+mingw and cnfigure script by default doesn't find and GUI library and therefore I supply --with-win32.
But seems it is not enough to get GUI debugger compiled - Makefile was missing win32_enh_dbg_osdep.cc
2012-11-06 19:59:18 +00:00
Volker Ruppert
eac784c0bb - regenerated after 'configure --help' changes 2012-10-25 16:03:11 +00:00
Stanislav Shwartsman
42a460638e don't allow voodoo configure with no PCI 2012-09-26 13:40:37 +00:00
Volker Ruppert
c7b33ec742 - regenerated after adding Voodoo Graphics support 2012-09-14 21:55:43 +00:00
Stanislav Shwartsman
f151463f0f removed old deprecated options from the code 2012-09-14 13:32:54 +00:00
Volker Ruppert
125c6f0bde - refenerated after fpu -> cpu/fpu change 2012-09-12 21:10:55 +00:00
Volker Ruppert
1af2fb6a92 - regenerated after adding iodev/display folder 2012-09-10 20:50:46 +00:00
Stanislav Shwartsman
90f544d307 after release 2.6 2012-09-02 18:43:27 +00:00
Volker Ruppert
1b21d26930 - regenerated for release 2012-09-02 11:11:54 +00:00
Volker Ruppert
53c87a8bee - fixed compilation with large ramfile support present on MSVC 2012-08-26 14:44:06 +00:00
Volker Ruppert
ae74c5a1d0 - fixed link failures with wxGTK
- without both plugins and X11 configured, -lX11 is required for XStringToKeysym
  - GTK debugger must be enabled, although is not used yet
2012-08-26 07:18:12 +00:00
Stanislav Shwartsman
7a90d8e2dc enabled large ramfile support by default 2012-08-23 19:31:33 +00:00
Volker Ruppert
a64636b915 - regenerated after pre-release 2012-08-21 16:22:49 +00:00
Volker Ruppert
5afff93afb - regenerated for 2.6.pre1 2012-08-20 08:51:31 +00:00
Volker Ruppert
cf539807a9 - generate parser / lexer files only if both flex and yacc are present and also
disable it if configuring for MSVC
2012-08-11 07:16:50 +00:00
Volker Ruppert
fc927773fd - regenerated after pcidev / flex changes 2012-08-09 18:28:03 +00:00
Volker Ruppert
166563493a - regenerated after X detection changes 2012-08-07 18:29:32 +00:00
Volker Ruppert
ff610ee255 - regenerated after iodev/hdimage changes 2012-08-05 18:15:02 +00:00
Volker Ruppert
6edd2ba547 - regenerated after Debian fixes 2012-07-14 07:04:17 +00:00
Volker Ruppert
3b478a8f32 - added support for the gui debugger with sdl on Windows (required separate thread)
- enh_dbg: fixed defined-but-not-used warnings
- siminterface: renamed 'wx_debug_gui' to 'bx_debug_gui' and updated comments
- TODO: remove the wx debugger and use the enhanced gui debugger instead
2012-07-01 14:37:46 +00:00
Volker Ruppert
5eb8eab608 - link only needed libs (modified Debian patch by Guillem Jover) 2012-06-30 12:44:24 +00:00
Volker Ruppert
af960685d9 - added SDL sound support (wave output only) 2012-06-09 10:12:34 +00:00
Stanislav Shwartsman
85e30bd410 remove unused configure check for struct timeval 2012-06-04 20:26:00 +00:00
Volker Ruppert
bb790d2f15 - implemented pc speaker beep in the lowlevel sound module using pthreads
- TODO: win32 threads support
2012-05-20 17:23:07 +00:00
Volker Ruppert
7e67845ac8 - pcidev: enable support for Linux kernel 3.x (Debian patch by Guillem Jover)
- don't clean docbook directories if building documentation is disabled
2012-04-11 16:53:38 +00:00
Stanislav Shwartsman
e7a4a1bec8 surprisingly, opensuse 12.1 requre alignment check support in hardware so I can't disable it by default for all configurations.
but in case you want a few %% of extra emulation performance - it is still possible to disable it with configure option.
most guests I saw do not use it !
2012-03-26 19:33:38 +00:00
Stanislav Shwartsman
d4688e8b95 - Do not compile support for alignment check (#AC exception) by default
for CPU emulation performance reasons, the alignment check compilation
    still can be enabled using configure option --enable-alignment-check.

There is no software in the world which enable #AC exception checking, this
x86 feature is completely legacy but its emulation support costs up to 3-5%
emulation speed.

The checking for #AC exception enable still will be done, if

 CPL == 3, EFLAGS.AC = 1 and CR0.AM = 1

but the alignment check is not compiled in, the Bochs will PANIC with corresponding message.
You can press 'always continue' and ignore the PANIC, the simulation will continue as if alignment checking is not enabled.
2012-03-25 19:07:17 +00:00
Volker Ruppert
b0afd56048 - changed checks for MinGW target cases to '*-mingw32*' (should fix WIN64 build)
- skip libtool creation and several checks for the MSVC target
2012-02-20 14:29:10 +00:00
Stanislav Shwartsman
45b6eae291 updated fix for SF bug 3459998 2012-02-20 06:43:53 +00:00
Volker Ruppert
891051ac83 - don't compile library if subsystem is not enabled (network, sound, usb)
- fixed autoconf warnings
2012-02-17 19:09:33 +00:00
Volker Ruppert
35f89eeefb - regenerated after the pcivga changes 2012-01-26 16:37:00 +00:00
Stanislav Shwartsman
b52c36d8c8 regenerated configure script 2012-01-16 18:43:48 +00:00
Volker Ruppert
6fe909393b - regenerated after moving sound stuff to new subdirectory 2012-01-15 07:56:11 +00:00
Volker Ruppert
a1a2ca1f55 - regenerated after moving networking stuff to new subdirectory 2012-01-14 17:12:27 +00:00
Volker Ruppert
a207f9b94d - regenerated after moving usb stuff to new subdirectory 2012-01-14 12:39:16 +00:00
Stanislav Shwartsman
bb9a1f45da update version number in SVN to 2.5.1 2012-01-07 14:02:38 +00:00
Stanislav Shwartsman
dcfa57087f fixed typo in configure script 2011-12-28 12:20:49 +00:00
Stanislav Shwartsman
75bda1d5cd implemented SVM emulation support for Bochs (incomplete yet)
I am merging the code in order to start making shortcuts between VMX emulation and SVM emulation.
Of course SVM emulation is incomplete, completely untested and not expected to work.
But someone could already take a look one the code and give some suggestions.

Also looking for anybody with existing SVM kernels - as simple as possible - for testing.

Status:
 - exceptions intercept is not implemented yet
 - IO intercept is not implemented yet
 - MSR intercept is not implemented yet
 - virtual interrupts are not implemented yet
 - CPUID is not implemented yet

No advanced SVM featurez planned - I am implementing the very basic 'Pacifica' document from 2005 using QEMU code as reference.
2011-12-25 19:35:29 +00:00