Volker Ruppert
536887aee2
vncsrv gui code cleanup with small addition
...
- quit simulation if the client has disconnected
- changed the order of methods and function in the file
2013-06-02 14:32:45 +00:00
Volker Ruppert
9325db1b55
RFB code cleanup and small additions
...
- quit simulation if the client has disconnected
- moved update region checks to new function rfbAddUpdateRegion
- changed the order of methods and function in the file
2013-06-02 09:21:11 +00:00
Volker Ruppert
5aa2a2d50f
regenerated after vncsrv changes
2013-05-31 16:47:15 +00:00
Volker Ruppert
21feca3767
Some work on the new 'vncsrv' gui
...
- use the CXXFLAGS and link options provided by the libvncserver-config script
- added Windows support for MinGW/MSYS (compiles fine, but crashes sometimes)
2013-05-31 16:46:15 +00:00
Volker Ruppert
5618cea18b
regenerated after adding 'vncsrv' gui
2013-05-30 17:21:10 +00:00
Volker Ruppert
17b7b87a61
Added new experimental gui 'vncsrv" using the LibVNCServer library. It supports
...
higher resolutions and > 8 bpp graphics modes. The RFB gui with limited
capabilities is still available.
TODO:
- fix random segfaults in dimension_update()
- Windows (MinGW) support
- fixes for clients not supporting 'rfbEncodingNewFBSize'
- fix cursor shape after dimension update()
2013-05-30 17:18:30 +00:00
Volker Ruppert
dc1dd06794
Prepare the RFB sources for the implementation of a new gui based on the
...
LibVNVServer library. The include files will be used for both guis.
2013-05-30 09:31:21 +00:00
Volker Ruppert
0f2e7ec578
regenerated after release
2013-05-29 17:35:58 +00:00
Volker Ruppert
b04df59367
RFB code cleanup (no functional changes)
...
Updated version strings after release
TODO: implement new RFB(VNC) gui using LibVNCServer
2013-05-29 17:35:19 +00:00
Volker Ruppert
7162aeba05
regenerated for release
2013-05-26 07:18:08 +00:00
Volker Ruppert
64190fea62
- preparing release 2.6.2
2013-05-26 07:17:33 +00:00
Volker Ruppert
f38ba1e15c
- mention FreeDOS in the "guest-dos" section
2013-05-26 06:51:28 +00:00
Stanislav Shwartsman
c1df9425f5
update changes for coming 2.6.2 patch release
2013-05-24 18:29:21 +00:00
Volker Ruppert
800da0f390
some fixes for Bochs on MorphOS (based on a patch by Thore Sittly)
...
- byte-swapping stuff fixed
- TODO: gui fixes in the amigaos.cc code
2013-05-24 17:58:49 +00:00
Stanislav Shwartsman
b950de7155
add more vmx capabilities to generic cpu
2013-05-20 18:18:52 +00:00
Stanislav Shwartsman
964583a40f
Added X2APIC support to Ivy Bridge configuration
2013-05-20 18:15:35 +00:00
Stanislav Shwartsman
2bca9b8273
updates in CPUID defines after new published AMD SDM
2013-05-17 19:41:57 +00:00
Stanislav Shwartsman
1304b3fb4b
Do not report Architectural Performance Monitoring in CPUID
...
Reporting true capabilities breaks Win7 x64 installation
2013-05-07 15:34:58 +00:00
Stanislav Shwartsman
694dc8a0e1
fixed generic cpuid leafs - all std leafs > 2 were corrupted
2013-05-06 20:33:27 +00:00
Stanislav Shwartsman
b2b42dd714
small fix for LOAD_SS interrupts inhibit
2013-05-04 19:10:50 +00:00
Stanislav Shwartsman
05c711b2b5
Create initial interrupt vector offsets. Change based on sf patch #507 .
2013-04-21 20:09:49 +00:00
Stanislav Shwartsman
139ec7d538
PANIC on options which require P6 when CPU_LEVEL is set to 5 instead of ignoring them
2013-04-17 20:24:12 +00:00
Stanislav Shwartsman
3fbdf7ff03
do not recognize MTRR MSRs when mtrr is not enabled
2013-04-17 19:59:56 +00:00
Stanislav Shwartsman
9b958b3a05
allow to select CPU level = 5 from .bochsrc even when Bochs is compiled with CPU_LEVEL=6
2013-04-17 19:46:11 +00:00
Volker Ruppert
bb9eaec2dc
some fixes for Bochs on MorphOS (based on a patch by Thore Sittly)
...
- missing functions fseeko() and localtime_r() implemented in osdep.cc
- updated cdrom_amigaos.cc code
2013-04-12 17:26:27 +00:00
Stanislav Shwartsman
025fb15461
properly handle RDMSR/WRMSR of MSR_PAT when PAT feature is disabled
2013-04-11 19:41:54 +00:00
Stanislav Shwartsman
f1c7d163a1
activity state is ignored when vmenter injecting event
2013-04-09 20:36:02 +00:00
Stanislav Shwartsman
401bae4501
fixed unused var warning
2013-04-09 20:35:24 +00:00
Stanislav Shwartsman
a277d60d89
implemented vmentering to non-active cpu state
2013-04-09 15:43:15 +00:00
Stanislav Shwartsman
58f4a0994e
configure with VMX=2 for future releases
2013-04-08 18:31:25 +00:00
Volker Ruppert
fa058a9e2d
regenerated after release
2013-04-08 18:00:54 +00:00
Volker Ruppert
96ae009372
updated version strings after release
2013-04-08 17:59:55 +00:00
Stanislav Shwartsman
6a8357105b
fix for guest segment AR field size
2013-04-08 17:29:00 +00:00
Volker Ruppert
64f9c3130d
regenerated for release
2013-04-07 15:28:07 +00:00
Volker Ruppert
cb32223a6a
preparing release 2.6.1
2013-04-07 15:27:37 +00:00
Volker Ruppert
7f01e3064c
enabled USB xHCI support for release 2.6.1
2013-04-07 15:13:45 +00:00
Volker Ruppert
f8075e0ed2
- added support for converting flat to growing mode images
...
- TODO: rewrite bximage / bxcommit stuff and use hdimage C++ classes to support
more commit / conversion types and to get rid of this code duplication.
2013-04-07 07:54:52 +00:00
Volker Ruppert
e2c49cf534
updated workspace files and changes
2013-03-23 13:10:51 +00:00
Volker Ruppert
180d8a295e
initialize scroll position in WM_CREATE
...
reduce virtual window height
2013-03-19 19:26:04 +00:00
Volker Ruppert
900ac609c7
fixed disabling of dialog items in a scroll window
...
added mouse wheel support to the scroll window
minor cleanups
TODO: update workspace files, scroll window support for wx
2013-03-19 17:44:19 +00:00
Stanislav Shwartsman
25733b4387
added scrollwin.o in configure scripts for mingw
2013-03-18 20:47:08 +00:00
Stanislav Shwartsman
2bb620844f
added scrollwin.cc into Makefile
2013-03-18 20:40:21 +00:00
Volker Ruppert
d6e6bf217b
regenerated after adding scrollwin files
2013-03-18 19:09:30 +00:00
Volker Ruppert
a4a275848f
initial implementation of scrollable dialog items on WIN32
...
- scroll window has 16 visible items and the virtual size is not limited
- CPUID parameter list now using this feature
- FIXME #1 : scroll window is not resized if browse button column is present
- FIXME #2 : only one scroll window per dialog is supported
2013-03-18 19:08:26 +00:00
Volker Ruppert
0dfd73dd15
added bx_list_c flag USE_SCROLL_WINDOW for scrollable dialog items (needed by CPUID)
...
TODO: implement this feature in the win32 and wx dialog code
2013-03-17 17:16:45 +00:00
Stanislav Shwartsman
13a6524acb
hw task switch tempdr6 hanlding fix
2013-03-15 08:26:22 +00:00
Stanislav Shwartsman
913e3defd1
fixed SIPI delivery bug from one the latest checkins
2013-03-13 19:06:55 +00:00
Volker Ruppert
b532cad1d1
- changes updated
2013-03-11 19:12:00 +00:00
Volker Ruppert
d8c55883a2
added example patch that shows how to write the VDISK.DLL source
2013-03-11 18:08:42 +00:00
Stanislav Shwartsman
b6852ba027
Update CHANGES. Add --enable-voodoo to all configure samples (which are also used to build Bochs releases)
2013-03-10 20:42:46 +00:00
Volker Ruppert
674447c186
DLL HD support rewritten and enabled for WIN32
...
TODO: put sample code for VDISK.DLL into the patches directory
2013-03-08 18:25:32 +00:00
Stanislav Shwartsman
53d14c01b5
correctly signal bit 12 (nmi unblocking by iret) in vmx interruption info. todo: find how to implement it clean way
2013-03-06 21:11:23 +00:00
Stanislav Shwartsman
1a770dd260
implementation of virtual NMI
2013-03-05 21:12:43 +00:00
Volker Ruppert
e9a8ef1d65
removed flag USE_SPIN_CONTROL from the memory size parameters to fix the gui
...
configuration in Windows (up-down control only accepts 16-bit values)
2013-03-04 17:33:08 +00:00
Stanislav Shwartsman
39ae66b5a3
Suppress 'entering paged real mode' CR0 check for SVM guest
...
After a lot of thinking and browsing in the SVM arch forums I assume now that it shold be fine to enter to paged real mode under SVM guest.
The test case to consider:
(paged) real mode guest -> entering Pmode (not paged) -> disabling the Pmode back
Ths assumption still should be validated with real AMD hardware
Context: AMD's manual about CR0 intercept priority :
"Checks non-memory exceptions (CPL, illegal bit combinations, etc.) before the intercept"
The check for 'paged real mode' suposed to be illegal bit combination ...
2013-02-27 19:11:28 +00:00
Volker Ruppert
b81622cf31
added default DRB address setup for the i440FX chipset
2013-02-27 17:21:29 +00:00
Stanislav Shwartsman
ab63b22a68
SVM: implemented missed RSM, LDTR READ/WRITE, TR READ/WRITE and IRET intercepts
2013-02-25 19:36:41 +00:00
Volker Ruppert
70884d3cec
updated documentation of the memory options
2013-02-24 21:06:26 +00:00
Stanislav Shwartsman
8708d05bea
rename some VMX controls to match intel docs. added missed VMX consistency check
2013-02-24 20:22:22 +00:00
Volker Ruppert
b0d8d898c0
wx second run fix: fixed width of list views
2013-02-24 12:12:11 +00:00
Volker Ruppert
745b1bef84
wx second run fix: clear LOGFONT structure before losing it
...
fixed some warnings
2013-02-23 20:27:07 +00:00
Volker Ruppert
37b1f11fa6
cleaned up serial mode handling and some other minor changes
2013-02-23 15:15:59 +00:00
Volker Ruppert
ab57c1fb2f
found a better solution to fix the power_handler() deadlock
...
fixed bx_dbg_exit() handling for shutting down second simulation correctly
2013-02-20 18:51:39 +00:00
Volker Ruppert
209b8c9ff8
fixed deadlock in second simulation after exiting the first one with the power button
2013-02-19 19:12:44 +00:00
Volker Ruppert
9c3d374e6a
continued work for "wx second run" support
...
- memory: initialize ISA and PCI ROM variables in init_memory()
- sb16: remove items from runtime menu in destructor
- gui debugger: show dialog contents (TODO: fix remaining display issues)
- TODO: fix deadlock in bx_wx_gui::handle_events()
2013-02-18 20:52:19 +00:00
Volker Ruppert
910774513b
some work for "wx second run" support (not yet complete)
...
- bx_list_c: added support for removing parameter with other parent list
- USB HC's: remove item from runtime config on simulation exit
- initialize bx_user_quit in bx_begin_simulation()
- only remove optional plugin from list if alrady unloaded
2013-02-17 08:27:43 +00:00
Volker Ruppert
058c0e05fb
- removed wx debugger dialogs (enhanced gui debugger now almost stable with wx)
2013-02-16 12:22:13 +00:00
Volker Ruppert
a6bce2031c
two important fixes for the gui debugger in wx (GTK)
...
- fixed closing the debugger window from wx (power button / ask dialog)
- OnKillSim(): bx_user_quit must be set to 1 to exit the debugger wait loop
2013-02-15 22:22:51 +00:00
Volker Ruppert
638a1a2157
fixed stepN command in SMP mode
2013-02-15 20:06:09 +00:00
Volker Ruppert
e44176f597
run stepN command in the simulation thread to avoid deadlock in wxBochs
...
GTK init is not required in the wxGTK case
removed unnecessary include
2013-02-15 15:47:16 +00:00
Volker Ruppert
5416e462e9
moved debugger notify callback functions to enh_dbg.cc
2013-02-14 21:06:20 +00:00
Stanislav Shwartsman
e43ac349a6
fixed injected exception err code check for unrestricted guests
2013-02-14 19:31:42 +00:00
Stanislav Shwartsman
40669115e1
use different formatter for printing phy address in paging dbg messages
2013-02-14 19:30:59 +00:00
Volker Ruppert
98598e4da9
some fixes for the GTK debugger window for the wx case (to be continued)
...
- run GTK main loop only if wx (wxGTK) is not active
- don't try to destroy debugger window twice
2013-02-14 08:36:52 +00:00
Volker Ruppert
3109ad3d87
minor fixes for the gui debugger with wx on Windows
2013-02-13 11:13:28 +00:00
Stanislav Shwartsman
7188166653
added more FMT_PHY_ADDRX64 cases definition
2013-02-12 21:33:00 +00:00
Stanislav Shwartsman
66c9274bdb
max physical addr size is 48 bit so print less characters
2013-02-12 21:26:23 +00:00
Volker Ruppert
97de484efb
use enhanced gui debugger instead of classic wx debugger if BX_DEBUGGER_GUI == 1
...
The Windows version looks almost stable, but the GTK version fails in some cases.
That's why the classic wx debugger is still available if BX_DEBUGGER_GUI is set to 0.
- added function close_debug_dialog() to handle the simulation stop case in wx
- disable all the wx debugger related code if BX_DEBUGGER_GUI is set to 1
- added enhanced debugger specific init code similar to the code in sdl.cc
- include debugger related resources on Windows
- TODO: make the GTK / wxGTK case stable and remove the wx debugger
2013-02-12 21:08:35 +00:00
Stanislav Shwartsman
9c8c25b7ef
warning fix
2013-02-12 16:36:49 +00:00
Volker Ruppert
7eda0feb6f
fixed some compiler warnings
2013-02-12 13:31:40 +00:00
Volker Ruppert
3822dc7692
fixed critical GTK warning if only one cpu is present
...
fixed some compiler warnings
2013-02-12 11:15:05 +00:00
Volker Ruppert
f37d6e676f
removed duplicate comment, updated / added copyright and added license
...
TODO: remove wx debugger and use enhanced gui debugger instead
2013-02-10 21:26:51 +00:00
Volker Ruppert
88e1033b90
the "show keyboard" dialog has been removed some time ago
2013-02-10 16:39:58 +00:00
Volker Ruppert
f314df2d1b
use bx_dbg_exit() for a correct simulation shutdown if gui debugger is closed
...
use usleep() if available in the debug command wait loop
2013-02-10 13:37:25 +00:00
Volker Ruppert
de4a5ecd79
fixed segfault when closing debugger gui window while simulation is running
2013-02-10 08:47:17 +00:00
Volker Ruppert
e9302f4c13
don't execute hdimage save functions if the save/restore path is empty
...
reset save/restore path after completing save or restore process
2013-02-09 14:21:58 +00:00
Volker Ruppert
addd85e408
don't overwrite log actions per device if default is unchanged
...
- after parsing command line only update actions if default has changed
- bx_init_hardware(): extra update of log actions in quick start mode not needed
2013-02-05 20:57:40 +00:00
Volker Ruppert
7d32178e72
full support for saving log options per device (from bochsrc and config interface)
...
simplified setting up log options per device after parsing bochsrc / command line
2013-02-04 18:51:07 +00:00
Volker Ruppert
48b345d06f
save log options per device (from original bochsrc - runtime changes not handled yet)
...
code cleanup in bx_write_param_list() and other parts of the bochsrc save code
2013-02-03 18:28:25 +00:00
Volker Ruppert
0821a9027c
use the new bx_param_string_c method isempty() in bx_write_configuration()
...
the screenmode, fullscreen and disk_win32 parameters are platform-dependent
2013-02-03 12:14:29 +00:00
Volker Ruppert
2d552af7a2
fixed possibly wrong raw byte string after simply pressing the enter key
2013-02-02 16:52:54 +00:00
Volker Ruppert
0fbd1b3eff
now using new bx_param_string_c method sprint() in enhanced debugger
...
skip special value "none" in display library options
2013-02-02 16:02:08 +00:00
Volker Ruppert
b6f9c738fd
simplified code using new bx_param_string_c method sprint()
...
TODO: use sprint() in enhanced debugger
2013-02-02 08:49:55 +00:00
Volker Ruppert
17970857b8
added new bx_param_string_c methods isempty() and sprint()
...
- isempty() returns 1 if string length is 0 or string has special value "none"
- sprint() copies the formatted / converted string into a buffer
- use new methods in some parts of the code (TODO: win32 dialogs)
- check for the special value "none" to avoid failures
2013-02-01 19:13:58 +00:00
Volker Ruppert
8a15e3ae59
Removed disabled bochsrc parser code that checked the parameter enable flag.
...
Renamed symbol BOCHSRC_HIDDEN to CI_ONLY for parameters that appear in the CI,
but not in bochsrc. The parser no longer fails if this flag is set.
2013-01-30 16:43:58 +00:00
Stanislav Shwartsman
59f0445699
simplify dump .bochsrc for clock sync option
2013-01-28 20:49:24 +00:00
Stanislav Shwartsman
af65d7e953
remove parsing of deprecated vga_update_interval .bochsrc option - it will produce an error now
...
allow parsing of disabled options via param tree to avoid parse error
2013-01-28 20:29:12 +00:00
Stanislav Shwartsman
ec971d0ce8
add #VE exception specific VMCS fields into VMCS bitmap
2013-01-28 20:20:54 +00:00
Stanislav Shwartsman
863e1a0f8a
fixed compilation with debugger enabled
2013-01-28 18:26:56 +00:00
Volker Ruppert
ecd07ae76b
update generated files
2013-01-28 17:53:50 +00:00