Volker Ruppert
16ee7f8936
- turn on status bar LEDs after restore if necessary
2012-10-03 09:09:04 +00:00
Volker Ruppert
a0852c83b9
- continued work on save/restore support (still incomplete)
2012-10-03 08:12:35 +00:00
Stanislav Shwartsman
ae06a0825b
svm virq - move to new event interface
2012-10-02 20:49:16 +00:00
Stanislav Shwartsman
9132c29280
optimization and code duplication cleanup in event handling code
2012-10-02 20:07:26 +00:00
Stanislav Shwartsman
5247dfb709
added some debug log messages when cannot open VPC image
2012-10-02 20:06:31 +00:00
Stanislav Shwartsman
0ee8af67c3
Partial undo of sf patch #3540389 to keep more "natural" argument order.
...
Sebastian
2012-10-01 20:41:11 +00:00
Stanislav Shwartsman
dbb23aed43
close another SMC hole
2012-10-01 18:19:09 +00:00
Volker Ruppert
54063b3e0b
- skip screen update if video is unchanged
...
- some work on save/restore support (not yet complete)
- changed some variable types to bx_bool
2012-10-01 17:02:18 +00:00
Stanislav Shwartsman
3a6f649b18
fixed comment
2012-10-01 12:08:23 +00:00
Stanislav Shwartsman
e3c5f9027d
exclude code based on uninitialized variables used only for DEBUG
2012-10-01 09:50:33 +00:00
Volker Ruppert
0611793f4c
- enable Voodoo clock in init()
...
- don't enable Voodoo mode if hSync or vSync are still 0 to avoid Bochs crash
(division by zero error)
- handle PCI register 0x40 (initEnable)
- fixed reported display size
2012-09-30 12:11:01 +00:00
Volker Ruppert
74dc4fc37a
- replaced empty LOG_VOODOO function by BX_DEBUG
2012-09-30 10:33:51 +00:00
Volker Ruppert
05ae9fadae
updated VS2008Ex workspaces files
2012-09-29 20:57:52 +00:00
Stanislav Shwartsman
e397a86ce0
fixed code duplication related to EXT field
2012-09-29 09:31:34 +00:00
Volker Ruppert
2d4f9009cd
- save/restore documentation updates
...
- removed obsolete comment
2012-09-28 21:13:46 +00:00
Volker Ruppert
b142dbcc2c
- add new function hdimage_open_file() that returns file size and modification
...
time if requested (reduces code duplication)
- 'vpc' image mode: moved header check to a separate function that opens the
file, checks header/footer and returns disk type (if requested)
- implemented restore function for 'vpc' mode images
- gui: updated yes/no dialog message after saving state
- save/restore documentation update (TODO: developer doc)
2012-09-27 18:38:30 +00:00
Stanislav Shwartsman
dc369d831f
small cleanup
2012-09-27 07:03:25 +00:00
Volker Ruppert
35ec96f740
- implemented restore function for 'vmeare3' mode images
...
- 'vmware4' image mode: handle restore failure
2012-09-26 16:20:38 +00:00
Stanislav Shwartsman
8189a5ed20
fixed compilation with SMP
2012-09-26 16:00:49 +00:00
Stanislav Shwartsman
42a460638e
don't allow voodoo configure with no PCI
2012-09-26 13:40:37 +00:00
Stanislav Shwartsman
b2afa834c5
fixed compilation with intrumentation w/o x86-64
2012-09-25 20:48:46 +00:00
Stanislav Shwartsman
66a9a769fc
fixed nmi window exiting
2012-09-25 20:00:33 +00:00
Volker Ruppert
176121dd2b
- implemented restore function for 'volatile' mode images
2012-09-25 20:00:26 +00:00
Volker Ruppert
c06e02f9f0
- fixed uninitialized variable warning and BX_INFO output
2012-09-25 18:32:38 +00:00
Volker Ruppert
84cfd36d38
- implemented restore function for 'vmware4' mode images
...
- fixed restore function for 'sparse' mode images
- prepared restore functions for 'vmware3' and 'vpc' mode images
2012-09-25 16:24:19 +00:00
Stanislav Shwartsman
08d0ef6dbf
fixes for new event handling code
2012-09-25 13:53:26 +00:00
Stanislav Shwartsman
d5f858d100
transfer VMX NMI window exiting into event vector infrastructure
2012-09-25 10:21:29 +00:00
Stanislav Shwartsman
40ba9c8d7b
introducing new interface for handling CPU events based on vector of events and not on many not related variables. this is very initial implementation which takes into new interface only few events, more will code soon
2012-09-25 09:35:38 +00:00
Volker Ruppert
d29fb9a592
- implemented restore function for 'concat' mode images
...
- always use 'pathname' for the full path of the original image
2012-09-25 05:12:46 +00:00
Stanislav Shwartsman
3855c9c2fe
fixed warning
2012-09-24 20:11:50 +00:00
Stanislav Shwartsman
f0c153e550
fixed warning
2012-09-24 19:53:49 +00:00
Volker Ruppert
723dfc2ad7
- improved packet logging function (added ASCII dump to hexdump)
2012-09-24 19:32:57 +00:00
Volker Ruppert
7ca95178b0
- fixed save/restore in VBE mode. The class bx_shadow_bool_c expects bit #0 to
...
be set for "true", but variable "lfb_enabled" wasn't correctly set up.
- TODO: check the whole Bochs code for the correct usage of variables saved
with bx_param_bool_c.
2012-09-24 15:40:50 +00:00
Stanislav Shwartsman
da150bc163
small optimization in icache
2012-09-23 19:35:46 +00:00
Volker Ruppert
5d562a7830
- implemented restore function for 'growing' mode images
...
- fixes and cleanups in the restore functions
2012-09-23 19:28:28 +00:00
Volker Ruppert
b560c72b52
- added check for overlapping memory regions using a Bit16u bitmap (each bit
...
represents a 64k block in the 1M page)
- fixed some format warnings
2012-09-23 19:09:20 +00:00
Volker Ruppert
7fff912faf
- implemented restore function for 'sparse' mode images
...
- fixed restore function for 'flat' mode images
2012-09-23 11:03:52 +00:00
Stanislav Shwartsman
fe327394c7
fix gcc 4.7 warnings in voodoo code
2012-09-22 19:59:40 +00:00
Volker Ruppert
31461c26fb
- added helper function hdimage_copy_file() for the hdimage restore functions.
...
On win32 the native CopyFile() function is used. The restore function should
work this way: coherency check (if necessary), close current image, copy saved
image from restore path (overwrites existing one), finally re-open image.
- implemented restore function for 'flat' and 'undoable' mode images
2012-09-22 10:04:28 +00:00
Volker Ruppert
28bc5e4bc2
- moved coherency check for r/o disk and journal to a separate function to
...
make it usable for the required check before restoring journal file
- prepared restore function of undoable and volatile images
2012-09-21 20:25:23 +00:00
Stanislav Shwartsman
eb348992c2
optimize POPCNT implementation
2012-09-21 14:56:56 +00:00
Stanislav Shwartsman
74f5bb1934
WBINVD not necessary havw to flush ICACHE
2012-09-21 08:55:10 +00:00
Stanislav Shwartsman
cc5f8d12d1
fixed unused var warning
2012-09-20 21:14:13 +00:00
Volker Ruppert
bcd0a58537
- simplified save_state() method of 'sparse' mode images (saving parent images
...
not necessary, since all changes go to the toplevel image)
2012-09-20 20:41:14 +00:00
Stanislav Shwartsman
fe727d12e3
fixed uninitialized variable warning in vga.cc
2012-09-20 19:33:39 +00:00
Volker Ruppert
50482a9f2b
- implemented save state function for the disk image modes 'vmware3', 'vmware4'
...
and 'vpc'
- prepared hdimage restore support
- vmware4: code cleanup
2012-09-19 21:05:18 +00:00
Volker Ruppert
5cbf0894ac
- implemented save state function for the disk image modes 'concat' and 'sparse'
...
- set timestamp of r/o disk in volatile mode, too (for save/restore support)
- TODO: save state function for the remaining image modes, restore support
2012-09-18 19:00:25 +00:00
Volker Ruppert
7da5057be5
- implemented save state function for redolog_t based disk image modes (growing,
...
undoable, volatile)
- TODO: save state function for the remaining image modes, restore support
- save/restore: when saving binary data to a file, use the full parameter path
(except "bochs." prefix) as the file name to avoid overwriting duplicates
2012-09-17 19:30:40 +00:00
Stanislav Shwartsman
6682d019e3
remove inline asm code which doesn't compile for MSDEV 64-bit. compiler knows to generate code not worse than this inline asm
2012-09-17 07:57:07 +00:00
Volker Ruppert
9ee5a77747
- started implementation of sav/restore support for hard disk images using a
...
dummy parameter and it's save/restore handlers. Currently only the save
support is implemented and the specific save function is only written for
flat mode images (copies whole disk image file to the save/restore folder).
- TODO #1 : implement save function for the other disk image modes
- TODO #2 : add restore support (replace disk image file with the one from the
save/restore folder)
2012-09-16 19:51:30 +00:00