Stanislav Shwartsman
3be7e5884b
added lock prefix used info into bx_Instriction_c and use it in disasm
2013-11-08 21:43:21 +00:00
Volker Ruppert
b9944b43b5
Some small fixes
...
- bochs.h: fixed gcc 4.8 warning
- config.h.in: fixed newline
- extplugin.h: fixed VS2008Ex plugins compilation
- gui.cc: fixed tooltip
2013-11-07 19:38: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
b452803be5
Preparing lowlevel cdrom rewrite
...
- use #if BX_SUPPORT_CDROM instead of #ifdef LOWLEVEL_CDROM
- devices with cdrom support now use the base class cdrom_base_c
- cdrom count variable moved to cdrom.cc
- cdrom_misc.cc: don't use ioctl's for ISO files
2013-11-05 18:06:39 +00:00
Volker Ruppert
9e43d90ce6
Added disk image info mode to determine the image format, geometry and size
2013-11-03 16:13:35 +00:00
Volker Ruppert
c2b1d9119d
Added VMDK version 4 disk image creation support (ported from Qemu).
...
The 'vmware4' mode now also supported as conversion target and for resize.
2013-11-03 07:41:29 +00:00
Volker Ruppert
e29957cca2
Removed 'delete' (-d) option and added new 'backup' (-b) option.
...
In convert/resize mode a backup can be created if the new file name
is not specified or the same as the source file name. In commit mode
both base image and redolog file are affected by the backup switch.
Added Linux specific file copy code using '/bin/cp'.
2013-11-02 15:58:59 +00:00
Volker Ruppert
f8ea396a2c
Several fixes for compiling Bochs successfully in Cygwin64
2013-11-01 18:19:52 +00:00
Volker Ruppert
5b9d937cc1
Make sure winsock.h is included in serial.cc and eth_win32.cc
...
Including winsock.h not needed in pc_system.cc
Don't specify architecture in gcc 4.7+ example
2013-11-01 16:26:59 +00:00
Volker Ruppert
57272ac32e
Added sanity checks to the vmware4 and vvfat mode to avoid data corruption.
...
Some compilers need special options to pack structures correctly.
Added example for gcc 4.7+ on Windows to shortcut script.
2013-11-01 11:34:51 +00:00
Volker Ruppert
635774e1da
Fixed fat_datetime() on Windows to take account of the daylight savings time.
...
Show expected modification date/time in case of a panic.
2013-10-29 20:52:38 +00:00
Volker Ruppert
30a79f7ab8
regenerated after bximage fixes
2013-10-28 20:44:09 +00:00
Volker Ruppert
08b66534aa
bximage fixes for compiling with VS2008Ex DLL plugins
2013-10-28 20:31:34 +00:00
Volker Ruppert
2c779f60da
bximage convert / resize: show source disk image mode
...
hdimage undoable / volatile: log base disk image mode
vmware4: fixed 'cylinders' calculation
2013-10-27 19:23:59 +00:00
Volker Ruppert
7f19435887
Fixed some gcc 4.8.1 warnings
2013-10-27 15:13:19 +00:00
Volker Ruppert
66b311a8a6
Some work on the new bximage utility
...
- added support to use 'concat' and 'dll' mode images as convert source.
A prefix ("concat:" or "dll:") must be added to the path since autodetection
doesn't work for these modes.
- create: fixed virtual disk size calculation based on C/H/S
- convert / resize (interactive mode): use original filename as the template for
the new one if not specified on the command line
2013-10-25 19:10:09 +00:00
Stanislav Shwartsman
4b03247287
fixed compilation error with vs2008
2013-10-25 05:36:10 +00:00
Volker Ruppert
b1d92bd976
Documentation updates for the new bximage utility
2013-10-24 17:35:22 +00:00
Stanislav Shwartsman
d9fc472ba7
Added VMEXIT instrumentation callback
...
Fixed possible RSP corruption in SMP mode - the speculative_rsp variable might be not reset properly
2013-10-23 21:18:19 +00:00
Volker Ruppert
1fb469e77f
Started user doc update for bximage
...
Added legacy bximage and manual page to installation
Fixed some warnings
2013-10-23 15:22:09 +00:00
Volker Ruppert
bce8268c6f
Added new redolog_t method commit() for the bximage commit mode, using the fast
...
algrithm of bxcommit.
2013-10-23 08:35:21 +00:00
Volker Ruppert
519b369f56
Removed obsolete ASPI cdrom access code for Win9x/ME
2013-10-22 19:46:46 +00:00
Volker Ruppert
70d91b179b
fixed bximage warnings in MSVC
...
check if size is specified for "quiet" resize
treat size values without suffix as megabytes
2013-10-22 19:26:42 +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
Volker Ruppert
ce7f013ff2
bximage: manual page updates and minor code fixes
2013-10-21 18:26:00 +00:00
Volker Ruppert
13fde0c2d5
- updated VS2008 workspace files after adding new bximage utility
2013-10-20 21:25:01 +00:00
Stanislav Shwartsman
d52adaa0ee
improve debug print to the log file which is printed in case of triple fault - tell VMX host/guest info
2013-10-20 16:41:34 +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
a70d507bd2
Rename legacy bximage utility to 'bximage_old' and the new one to 'bximage'
...
TODO #1 : update MSVC workspaces and documentation
TODO #2 : remove legacy utilities bximage_old and bxcommit after next release
2013-10-20 10:43:01 +00:00
Volker Ruppert
0236e5f591
bximage_new: improvements for non-interactive (quiet) mode
...
- all operations now also working with one file name parameter
- suppress BX_INFO output in quiet mode
2013-10-20 07:30:36 +00:00
Volker Ruppert
4802fac2de
bximage_new: Added VPC dynamic type image creation support (ported from Qemu).
...
The 'vpc' mode now also supported as conversion target and for resize.
2013-10-19 21:16:10 +00:00
Volker Ruppert
2f134b5a0c
bximage_new: fixes for the non-interactive mode
2013-10-19 10:20:37 +00:00
Volker Ruppert
b5a57e7818
Some work on the new bximage utility
...
- added support to resize images (currently supported: flat, growing and sparse)
- added image file name check and renaming if necessary
- set minimum hard disk size to 10 MB
- vmware4: make header structure available for usage in bximage
2013-10-18 19:36:50 +00:00
Stanislav Shwartsman
7790e994eb
do not touch inline definition under C++ - added issue #1 in SF bug 1342
2013-10-17 19:22:16 +00:00
Volker Ruppert
05412afa18
bximage_new fixes and improvements
...
- fixed include order for win32
- added support to specify disk size in gigabytes on the command line
2013-10-17 16:00:26 +00:00
Volker Ruppert
a72135b56b
bximage_new on win32: added missing include file
2013-10-16 19:33:30 +00:00
Volker Ruppert
f923e5e4cf
bximage_new on win32
...
- fixed link failure on MSVC
- added win32 specific code for flat image creation
2013-10-16 18:55:43 +00:00
Stanislav Shwartsman
39f2f172b5
fixed PAUSE/NOP decoding bug in prev commit
2013-10-16 05:46:57 +00:00
Stanislav Shwartsman
8bcc8cf073
split PREFETCH opcode to Group16 for better disasm of bxInstruction_c
2013-10-15 21:21:28 +00:00
Volker Ruppert
88a1d3f6e7
bximage_new: hard disk image creation implemented (flat, growing, sparse)
...
TODO #1 : port win32 specific creation code for flat images from bximage.c
TODO #2 : add support to create (and convert to) vmware and vpc format images
2013-10-15 18:00:39 +00:00
Stanislav Shwartsman
59af88ea50
fixed memory bug found by gcc 4.8.1 warning
2013-10-15 17:28:06 +00:00
Stanislav Shwartsman
940c2a1c8e
fixes for disasm
2013-10-15 17:19:18 +00:00
Volker Ruppert
579dfc40df
bximage_new: implemented floppy image creation
2013-10-14 20:40:41 +00:00
Stanislav Shwartsman
e1012f1165
add vmcs revision id interface to CPUID class
2013-10-14 18:35:56 +00:00
Volker Ruppert
f3e10ea276
regenerated after adding support for the new bximage utility
2013-10-14 15:58:19 +00:00
Volker Ruppert
3d91e86ac1
bximage_new: added MSVC nmake support, added to default build system (targets
...
'all' and 'clean'), minor code changes
TODO: floppy / hard disk image creation, add to VS2008 workspace
TODO: finally remove the legacy utilities bximage and bxcommit
2013-10-14 15:57:10 +00:00
Volker Ruppert
f622a042c4
Added initial version of a new bximage utility written in C++ for image
...
creation, conversion and rodolog commit. Image creation support is not
present yet and the executable has not been added to standard compile yet.
TODO #1 : add floppy and hard disk image creation support (from bximage.c)
TODO #2 : implement support for conversion to vmware and vpc formats
TODO #3 : add MSVC (nmake and workspace) support
2013-10-13 20:30:51 +00:00
Volker Ruppert
6025e38333
preparing hdimage code for the the compilation with a new bximage utility
...
written in C++ supporting image creation, conversion and redolog commit
2013-10-13 14:33:55 +00:00
Stanislav Shwartsman
9fb7384e6b
finish sse tables cleanup in disasm and fetchdecode
2013-10-11 20:09:51 +00:00
Volker Ruppert
282a0983f6
small fix and cleanup
2013-10-11 18:08:35 +00:00