Commit Graph

6033 Commits

Author SHA1 Message Date
Stanislav Shwartsman
6c79b067a6 Fixed __386__ macro in guest2host memory accesses - should be LITTLE_ENDIAN instead 2007-10-16 16:17:48 +00:00
Stanislav Shwartsman
f69a21ab2b Fix some copyright messages 2007-10-15 22:07:52 +00:00
Stanislav Shwartsman
c0640a078c INFO message about CPU reset 2007-10-14 21:42:50 +00:00
Stanislav Shwartsman
52891b501b Correct name for cpu param when only 1 cpu is used 2007-10-14 19:36:23 +00:00
Stanislav Shwartsman
e9801ef501 Support for restore cpu (and any other device from bochs root) from debugger 2007-10-14 19:04:51 +00:00
Volker Ruppert
834904f49b - improved HD recognition and CD boot (patches by Myles Watson)
* fixed minor error from printf patch confusion (negation based on wrong word)
  * added helper function await_ide
  * changed lba calculation to not corrupt lba (for debugging and clarity)
  * added support for partial completions of ata_cmd_packet (never happens in
    the simulator, but happens all the time in hardware)
  * update atapi_request_sense and atapi_is_ready - based on FILO
  * correct an int 15 call that should have been int 0x15
  * trivial fix when BX_PCIBIOS and BX_ROMBIOS32 not defined
- implemented %X in bios_printf (patch by Sebastian)
2007-10-14 08:11:35 +00:00
Stanislav Shwartsman
e6d13d526b Suppory 64-=bit CR2 value in info cr command 2007-10-14 00:23:06 +00:00
Stanislav Shwartsman
c0e7c31b7d Param name fixed to capital letters 2007-10-14 00:22:07 +00:00
Stanislav Shwartsman
d7431ca11a Support for functionilirt of restoring/saving some single leaf insetad of all restore_hardware - will be used in debugger 2007-10-14 00:20:30 +00:00
Stanislav Shwartsman
ac272e9383 Changes breakpoints configure time enable macroses - reduce amount of compile-time parameters 2007-10-12 22:11:25 +00:00
Stanislav Shwartsman
2a1bcb3e21 Some fixes in CPUID by default 2007-10-12 21:45:41 +00:00
Stanislav Shwartsman
26848ad07d Change ARPL error message to BX_DEBUG (happens too offen in win98) 2007-10-12 19:45:12 +00:00
Stanislav Shwartsman
082eb05b6b First step to fully configurable CPUID
- put CPUID functions data into array, in future we could load this array from configure file
 - cpuid initialize function is more flexible now but still reuire some work
2007-10-12 19:30:51 +00:00
Stanislav Shwartsman
be9ad60ef3 cleanups 2007-10-11 22:44:17 +00:00
Stanislav Shwartsman
8adbbcf17c Started first implementation of MONITOR/MWAIT 2007-10-11 21:29:01 +00:00
Stanislav Shwartsman
f6ed95785f added cpu state param - for future use and for dbg info
started to move debugger to info bx_param interface -> info sse and info mmx commands modified
2007-10-11 18:12:00 +00:00
Stanislav Shwartsman
fbcdfa49c2 Cleanup 2007-10-10 22:20:32 +00:00
Stanislav Shwartsman
c6efc84149 Optimize building of segment ROK/WOK cache 2007-10-10 22:00:51 +00:00
Stanislav Shwartsman
82b7eaabd5 CLFLUSH do not fault when checking execute only segment 2007-10-10 21:48:46 +00:00
Volker Ruppert
ed3fdad74d - reverted removal of one DPTE checksum bugfix
- fixed %ld and %lu padding (now only using it for %lx)
2007-10-10 17:12:07 +00:00
Stanislav Shwartsman
c0d5b9040c Prepare for 4-arg instructions (will be needed for AMD SSE5) 2007-10-09 20:24:42 +00:00
Stanislav Shwartsman
624a543c34 Fix compilation warning 2007-10-09 20:23:01 +00:00
Stanislav Shwartsman
07739173f5 add --show-ips to all configs for future releases (it is not ON by default ?)
Bit32u -> bx_phy_address in debugger and some other places
2007-10-09 19:49:23 +00:00
Volker Ruppert
fc6693001c - rombios patches by Myles Watson <mylesgw@gmail.com>
* corrects a spelling error and removes the lba_capable comment
  * moves dpte_segment after dpte_offset (endian problem) in the struct
  * changes int13 0x15 to use the logical geometry instead of physical to
    return sectors
  * clips cylinders in Int13DPT
  * fixes bit shift problem in options (parens in the wrong place)
  * returns the correct offset for dpte.iobase2
  * fixes a pointer arithmetic error in calculating the checksum of the dpte
  * moves #if BX_SUPPORT_FLOPPY to include more floppy code
  * added support for %lx %ld and %lu for bios_printf()
2007-10-09 16:49:53 +00:00
Stanislav Shwartsman
2d981562c4 changes Bit32u -> bx_phy_address in dbg paging method 2007-10-08 20:45:30 +00:00
Stanislav Shwartsman
a206d3aef6 Enable MTRRs by default for P6 2007-10-08 19:46:37 +00:00
Stanislav Shwartsman
c8b4b32826 Merged harddrive patch from #SF tracker 2007-10-08 19:33:08 +00:00
Stanislav Shwartsman
9326aa151f Merge checksum patch from mailing list -> need to recompile BIOS 2007-10-07 21:09:15 +00:00
Stanislav Shwartsman
2548c05537 Enable SSE4_2 in CPUID 2007-10-01 21:08:26 +00:00
Stanislav Shwartsman
dbb91069f4 Added SSE4_2 instructions emulation 2007-10-01 19:59:37 +00:00
Stanislav Shwartsman
de72d9141f Disasm updates (bugfixes) + disasm of all SSE4_2 instructions 2007-10-01 19:57:46 +00:00
Stanislav Shwartsman
a0d0de9fd4 Fixed ARPL issue mentioned in
Attacks on Virtual Machine Emulators
document by Symantec
2007-09-30 18:47:41 +00:00
Volker Ruppert
e48647acc1 - updates related to the save/restore changes 2007-09-29 09:01:02 +00:00
Stanislav Shwartsman
c6df131c0e Added save/restore to deprecated options in configure script. Removed very old (more than 2 years old) depracated options 2007-09-28 20:26:33 +00:00
Stanislav Shwartsman
1a5648c269 Update major changes in CHANGES 2007-09-28 20:05:50 +00:00
Stanislav Shwartsman
9246d90989 Removed save/restore option 2007-09-28 20:03:31 +00:00
Stanislav Shwartsman
071c5c1a26 A lot of changes but everything is really trivial.
Make save/restore default feature, the configure option for save/restore removed from configure script and save/restore made available forever. All code now assume it is exists. Bochs save/restore tree previosly called "save_restore" renamed to "bochs" tree and it will be havily used everywhere, starting from save/restore and ending by various bochs debugger functions. I am going to rework debugger code to get rid of debug CPU access functions and use this "bochs" param tree instead
2007-09-28 19:52:08 +00:00
Volker Ruppert
1c5955c9ff - installer now uses system variable WINDIR instead of hardcoded C:\WINDOWS
- uninstaller did not remove legacy BIOS file
2007-09-28 17:58:48 +00:00
Volker Ruppert
31d7fb897b - fixed windebug feature for x86-64 2007-09-27 21:21:21 +00:00
Stanislav Shwartsman
aaf2077bf7 Enable BIOS compilation on amd64 host (patch from developers mailing list + SF tracker) 2007-09-27 20:17:05 +00:00
Stanislav Shwartsman
02b7d8b43d Remove 'result' variable where it is definitelly not needed - simplify sse code 2007-09-27 16:23:29 +00:00
Stanislav Shwartsman
d9005b88c1 Added error code for exception debug messages - help to debug 2007-09-27 16:22:14 +00:00
Stanislav Shwartsman
deb79e9675 [Bochs-developers] [PATCH] avoid RCX without BX_SUPPORT_X86_64 2007-09-27 16:11:32 +00:00
Stanislav Shwartsman
476baaf1d8 ThiS patch makes watchpoints work even if they are triggered on CPUs other than CPU 0 during SMp.
Patch from developers mailing list
2007-09-27 16:10:45 +00:00
Stanislav Shwartsman
33a5305803 Fix error message when doing set cpu command 2007-09-27 07:03:11 +00:00
Stanislav Shwartsman
7e629dedad remove dbg print 2007-09-26 19:10:41 +00:00
Stanislav Shwartsman
44a04a5fa3 readability/writeability bit should not be checked in 64-bit mode 2007-09-26 19:09:10 +00:00
Stanislav Shwartsman
dcb0335ae9 Debug first instruction in exception handler after exception 2007-09-26 18:07:39 +00:00
Stanislav Shwartsman
e812f81e7b Fixes in zero upper ECX 2007-09-25 16:11:32 +00:00
Stanislav Shwartsman
6b86091441 Implemented new debugger 'page' command according to feature request
[ bochs-Feature Requests-604221 ] Debugger command: query lin&lt;-&gt;phys mapping
2007-09-23 21:10:06 +00:00
Volker Ruppert
208caf109b - missing 'datarootdir' variable added (fixed warning from configure script) 2007-09-23 08:45:14 +00:00
Volker Ruppert
cd3f204da9 - removed old BX_SCHEDULED_DIE_TIME code after added new benchmark option 2007-09-23 08:44:30 +00:00
Stanislav Shwartsman
f71f2712a2 Removed duplicate code 2007-09-22 16:04:47 +00:00
Stanislav Shwartsman
c719eecb8d Implemented Bochs benchmarking mode according to feature request
[ 1799946 ] benchmark mode
2007-09-22 15:59:41 +00:00
Stanislav Shwartsman
f562eed497 Applied patch
[ 1799877 ] Fix for parallel build (make -j2)
2007-09-22 13:02:42 +00:00
Stanislav Shwartsman
ebde420f14 Fixed SMP assertion 2007-09-22 12:59:40 +00:00
Stanislav Shwartsman
3e3254ecc4 some speedup for SSE code - achived by code simplification 2007-09-20 22:55:03 +00:00
Stanislav Shwartsman
71902dc8bd Print ACPI support indication 2007-09-20 18:50:01 +00:00
Stanislav Shwartsman
91e6ca8d5c Implemented MTRR support
Fixes in #PF exception priority
2007-09-20 17:33:35 +00:00
Volker Ruppert
1db3741d56 - removed duplicate file from archive 2007-09-19 21:09:36 +00:00
Stanislav Shwartsman
8e0ddbc59b dos2unix 2007-09-19 19:43:47 +00:00
Stanislav Shwartsman
0dc4badfbb Added SSE4A and SSE4_2 to disassembler
Implemented POPCNT instruction
2007-09-19 19:38:10 +00:00
Volker Ruppert
8c80696023 - regenerated after version number update 2007-09-17 16:22:22 +00:00
Volker Ruppert
df53247fa8 - exclude statements must appear prior to the file list (expected by tar 1.15.1)
- added release tag for 2.3.5 to user doc
- updated version number and strings after release
2007-09-17 16:20:24 +00:00
Volker Ruppert
2fa8e4dce8 - updates for release 2.3.5 2007-09-16 07:53:00 +00:00
Volker Ruppert
20175e10dd - updated several parts of the documentation 2007-09-15 16:00:25 +00:00
Volker Ruppert
31cf899020 - fixed the memory allocation for the ACPI tables in situations when less than
16MB are present (patch by Bernhard Kauer)
2007-09-15 07:24:37 +00:00
Stanislav Shwartsman
efbcc99e9a get rid of ugly do/while(0) construction 2007-09-14 19:39:11 +00:00
Stanislav Shwartsman
5a2ce284c3 Fixed Bochs exit in SMP mode when only one CPU present 2007-09-13 09:44:56 +00:00
Stanislav Shwartsman
9612691aad Debug print changed to look a bit better 2007-09-11 13:11:03 +00:00
Stanislav Shwartsman
70f513b07b Make efer control MSR separate register 2007-09-10 20:47:08 +00:00
Volker Ruppert
471e89dc84 - INT 15h AH=86h was reading the wrong stack frame (SF patch #1791000) 2007-09-10 20:01:07 +00:00
Volker Ruppert
2346acca98 - regerated after latest updates 2007-09-10 19:25:51 +00:00
Stanislav Shwartsman
dc65c0c76a Update docs with SSE support and OS support 2007-09-10 16:18:09 +00:00
Stanislav Shwartsman
b4df87c9b0 Added CVS id 2007-09-10 16:04:41 +00:00
Stanislav Shwartsman
412eeeeb7c Get crregs definition to separate file from cpu.h 2007-09-10 16:00:15 +00:00
Stanislav Shwartsman
a20adc8263 Update README 2007-09-10 15:27:10 +00:00
Stanislav Shwartsman
faa83f520e added homepage of para-bochs project 2007-09-10 15:26:46 +00:00
Stanislav Shwartsman
31fa25bdbd Some changes and updates for new release - I would like to compile it with x86-64 + acpi 2007-09-10 15:21:05 +00:00
Stanislav Shwartsman
7ae653d09c Added missed param to BX_INFO 2007-09-10 15:10:39 +00:00
Volker Ruppert
674fbc24ab - compare disk size with the size calculated from geometry to avoid image
corruption (if "mode" is not specified and image is not "flat")
- some message fixes
2007-09-07 10:54:19 +00:00
Volker Ruppert
267d15fc31 - fixed redolog->open() call for z-undoable image type (compressed-hd support
still incomplete)
2007-09-04 07:56:09 +00:00
Volker Ruppert
4b599a018a - tftp_send_optack() was not 64-bit clean (patch from SF bug #1787500) 2007-09-04 07:45:31 +00:00
Stanislav Shwartsman
d6f6dfac3f Fixed typos 2007-09-02 13:01:19 +00:00
Stanislav Shwartsman
016660698e just code cleanup, preparation for future 2007-08-31 18:09:34 +00:00
Stanislav Shwartsman
bf93a10543 Update CHANGES 2007-08-30 21:10:42 +00:00
Stanislav Shwartsman
14e3dcca08 patch for ACPI header - ability to have different rev number for different ACPI tables 2007-08-30 21:05:22 +00:00
Stanislav Shwartsman
5ac1bb6646 rewrite page fault 2007-08-30 16:48:10 +00:00
Alexander Krisak
03ad91ab25 Fixed Windows compilation 2007-08-25 13:11:53 +00:00
Stanislav Shwartsman
b64fc08c54 implement prefetch hint opcodes 2007-08-23 16:47:51 +00:00
Volker Ruppert
8f00ef6907 - evaluate_media() now returns 1 only if the media is valid (total number of
sectors > 0) to avoid division by zero error
2007-08-21 14:18:16 +00:00
Volker Ruppert
04d6440551 - clear out RSDT memory on init (patch by Bernhard Kauer from the ML) 2007-08-19 07:51:31 +00:00
Stanislav Shwartsman
4555cc9be3 ud2b opcode should have modrm byte 2007-08-18 13:51:16 +00:00
Volker Ruppert
a2584bd271 - attempt to fix the "Print Screen" key problem
* partial fix for bug #1549873 (SF patch #1766536)
  * added keyword "print" to the userbutton shortcut table
  * FIXME #1: CTRL+PRINT and ALT+PRINT not working in Win98 guest
  * FIXME #2: win32 hosts do not generate the "make" code for "Print Screen"
2007-08-18 08:05:33 +00:00
Volker Ruppert
63f1d0d07e - now using platform specific code to determine the image size on WIN32 (fstat
on Cygwin and MinGW/MSYS returns only 32-bit values)
2007-08-10 17:34:01 +00:00
Stanislav Shwartsman
752ab9c4ae Woraround for large files problem I used to install Vista
When it PANICs with 8G large disk image file - just press continue and it will work
2007-08-09 14:04:51 +00:00
Volker Ruppert
455e86cbb0 - CL-GD5446 rev. B claims 32 MB PCI memory for VRAM
- fixed and simplified PCI memory access
2007-08-05 10:46:23 +00:00
Volker Ruppert
6606627f4b - fixed harddisk signature (drive select bit must be cleared for devices not
implementing the PACKET command)
2007-08-04 17:01:04 +00:00
Volker Ruppert
5563a18956 - ported ACPI enable/disable support from latest Qemu sources 2007-08-04 08:57:42 +00:00
Volker Ruppert
1332f905ae - change ACPI table revision number to 1 2007-08-03 13:56:52 +00:00
Volker Ruppert
6ea536f95c - fixed floppy boot signature check switch
- added network boot ROM support in the main Bochs code (already present in BIOS)
2007-08-01 17:10:24 +00:00
Stanislav Shwartsman
895891b673 Implemented #AC check under configure option
Fixes in misaligned SSE support
2007-07-31 20:25:52 +00:00
Stanislav Shwartsman
c8b3ad52c4 Fixed compilation error reported in mailing list 2007-07-31 19:03:38 +00:00
Stanislav Shwartsman
6a67c6d6dd update CHANGES 2007-07-29 20:05:23 +00:00
Volker Ruppert
46a4544dd2 - Win98SE uses 0x21FF for mass storage device reset (pointed out Ben Lunt) 2007-07-28 16:11:17 +00:00
Stanislav Shwartsman
58a2595bca Misaligned SSE support 2007-07-15 19:03:39 +00:00
Stanislav Shwartsman
38d1f39c77 Converted CR0 bits to one register similar to CR4 - a bit slower but helps with other features implemntation 2007-07-09 15:16:14 +00:00
Stanislav Shwartsman
8014e4061b Patch from mailing list 2007-07-09 14:57:33 +00:00
Volker Ruppert
1ce5222640 - applied SF patch #1695652 by Duane Voth
* dumps vnet traffic to a .pcap file for use with wireshark et. al.
  * sets the default PXE boot filename to pxelinux.0
  * fills out the TFTP implementation far enough to use an etherboot rom
2007-07-01 07:28:14 +00:00
Volker Ruppert
feb2f45a3e - added expansion-ROM boot support to the ROMBIOS (SF patch #1741153 ported from
the XenSource project)
2007-06-30 07:15:30 +00:00
Volker Ruppert
8f7e6ac2ad - implemented INT15h, fn 0xC2 (mouse), subfn 3, set resolution (SF patch #1734159)
- support for large PCI memory regions (>=64Mb) added (patch by Paul Brook)
2007-06-17 07:38:58 +00:00
Volker Ruppert
fd0ca2b479 - support for large PCI memory regions (>=64Mb) added (patch by Paul Brook) 2007-06-17 07:37:11 +00:00
Volker Ruppert
216fdf36c6 - implemented INT15h, fn 0xC2 (mouse), subfn 3, set resolution (SF patch #1734159) 2007-06-17 07:36:34 +00:00
Stanislav Shwartsman
7c6c2bb520 Removed PANIC message 2007-06-08 09:25:30 +00:00
Volker Ruppert
570ce953a6 *** empty log message *** 2007-05-28 08:09:13 +00:00
Volker Ruppert
45bd4ab269 - bios_printf() fix for %s format (from VirtualBox)
- removed lots of trailing spaces
2007-05-28 08:01:56 +00:00
Volker Ruppert
3dad77a4b5 - bios_printf() fix for %s format (from VirtualBox)
- removed lots of trailing spaces
2007-05-28 07:54:03 +00:00
Volker Ruppert
171f2433f0 - install both default and legacy version of the Bochs BIOS
- updated the BIOS related parts of the documentation
2007-05-17 15:47:35 +00:00
Stanislav Shwartsman
593f9d5f36 Fixed typo 2007-05-15 12:48:59 +00:00
Stanislav Shwartsman
5e97ddb984 Use GDT and IDTR limit in 'info gdt/idt commands 2007-05-12 19:19:15 +00:00
Volker Ruppert
e88a8b48a1 - implementation of save/restore for the SCSI emulation started
- SCSI buffer length fixes ported from the Qemu project
2007-05-05 12:30:23 +00:00
Stanislav Shwartsman
65a99eb736 Change BX_ERROR to BX_DEBUG 2007-04-25 20:14:15 +00:00
Volker Ruppert
25ebf16236 - exclude statements must appear prior to the file list (expected by tar 1.15.1) 2007-04-22 17:11:12 +00:00
Stanislav Shwartsman
55365ba713 Minimize usage of result register 2007-04-19 19:09:52 +00:00
Stanislav Shwartsman
1c3e703394 Fixed DAZ handling by CVT instructions 2007-04-19 18:50:57 +00:00
Stanislav Shwartsman
5189cfbf10 SSE4 support 2007-04-19 16:12:21 +00:00
Stanislav Shwartsman
f6af99dead Some variables renaming + CPU vendor variable defition 2007-04-17 21:38:51 +00:00
Volker Ruppert
70d7a37c55 - prepared after_restore_state() feature for USB devices
- init_device(): removed local variable 'connected'
2007-04-15 09:39:22 +00:00
Stanislav Shwartsman
6c139a9c8c Define LIN and PHY address size in config.h 2007-04-14 10:05:30 +00:00
Stanislav Shwartsman
3886e35bcb Clean code duplication 2007-04-09 21:55:07 +00:00
Stanislav Shwartsman
09360212ad Update CHANGES 2007-04-09 21:32:29 +00:00
Stanislav Shwartsman
223b9fda0e Fixed RIP relative mode when in 32-bit address size 2007-04-09 21:15:00 +00:00
Stanislav Shwartsman
e26609fa97 Support for Intel LSS/LFS/LGS in 64-bit mode
TODO: have both AMD and Intelk versions
2007-04-09 20:28:15 +00:00
Volker Ruppert
bb27085003 - partial save/restore support for USB MSD devices (TODO: buffers and SCSI
emulation status not saved)
- changed type of member 'mode' to simplify save/restore
2007-04-09 09:04:54 +00:00
Volker Ruppert
98acd5ef2e - regenerated after moving --enabled-new-pit to the deprecated section 2007-04-09 08:48:23 +00:00
Volker Ruppert
2a6200040e - removed configure option for the new PIT model from documentation and perl
build script
- added --enable-new-pit to the deprecated section of the configure script
- show DEPRECATED messages in configure script in uppercase letters (most of
  them should be removed before the next major release)
2007-04-09 08:46:24 +00:00
Stanislav Shwartsman
dee9f1b9b5 Update MSDEV workspace 2007-04-08 21:58:00 +00:00
Stanislav Shwartsman
b6c8275cfd remove old PIT model and always use Greg Alexander's new one 2007-04-08 21:57:06 +00:00
Volker Ruppert
16812f0ad2 - fixed some gcc 4.x warnings 2007-04-08 15:02:50 +00:00
Volker Ruppert
f8aec91820 - fixed some MSVC warnings 2007-04-06 15:22:17 +00:00
Volker Ruppert
8792936c44 - fixed ATA channel save/restore list size (no space for 'drive_select') 2007-04-06 07:13:19 +00:00
Stanislav Shwartsman
65b9b46de3 Fix for legacy compilers 2007-04-04 16:55:50 +00:00
Stanislav Shwartsman
9d907b5f65 Try to specify everywhere the list size in bx_list_c constructor 2007-04-03 22:38:49 +00:00
Stanislav Shwartsman
8f02078609 PADDQ is SSE2 instruction 2007-04-03 20:44:25 +00:00
Volker Ruppert
d9edfeec9c - show the line number in the error message when parsing the bochsrc file. The
format of the message is now "filename:line: error".
2007-04-03 15:47:23 +00:00
Volker Ruppert
9478cd9164 - INT 13h: sector number 0 is invalid 2007-04-02 20:35:52 +00:00
Stanislav Shwartsman
bf489aea74 Update CHANGES 2007-04-02 11:00:29 +00:00
Stanislav Shwartsman
2d47748f52 Added instruction set field for opcodes table + few bugfixes 2007-04-02 10:47:48 +00:00
Stanislav Shwartsman
1ab3297115 FCOMI are P6 instructions 2007-04-02 10:46:57 +00:00
Stanislav Shwartsman
bdc4905c8a Correctly detect SSE2 and SSE instructions and #UD when SSE2 is OFF for SSE 2007-04-02 10:46:33 +00:00
Volker Ruppert
abd7cbda87 - implemented specific save/restore method for USB HID devices
- removed USB device buffer from save/restore list (contains temporary data only)
2007-04-01 11:15:48 +00:00
Volker Ruppert
9e6a7231da - basic save/restore support for USB devices (TODO: device-specific state)
- user doc: fixed USB description
2007-03-31 09:24:04 +00:00
Stanislav Shwartsman
4bb19c2dc3 Fixed deciding and disasm of CALL in 64-bit mode (no 16-bit calls allowed) 2007-03-28 21:20:09 +00:00
Volker Ruppert
b1bf1a8bf5 - documentation update after USB devices rewrite
- removed obsolete structures and members from the USB code
- removed mouse type 'usb' (USB mouse and tablet override selected mouse type
  when connected)
- user doc: mention vmware 4 disk image support
2007-03-27 17:47:15 +00:00
Volker Ruppert
e299fd544d - updated workspaces after the USB devices rewrite 2007-03-26 21:02:32 +00:00
Volker Ruppert
22af32e57a - removed obsolete file after USB devices code rewrite 2007-03-25 17:41:19 +00:00
Volker Ruppert
324250ccb4 - code USB device 'keypad' rewritten and old-style USB device handling removed
- makefile dependencies regerated after USB device code rewrite
- improved error reporting in the new USB device code
2007-03-25 17:37:59 +00:00
Volker Ruppert
58ba0172bb - USB tablet emulation ported from the Qemu project (TODO: the Bochs gui should
generate absolute x/y values if tablet connected)
- store device name string in member d.devname
- report unknown/unsupported requests as errors
- usb_msd: removed unnecessary type definition
2007-03-24 11:43:41 +00:00
Stanislav Shwartsman
4f166369a6 Fixes for VMX disasm 2007-03-23 22:07:49 +00:00
Stanislav Shwartsman
26f08fdb2c Change my e-mail to #SF one 2007-03-23 21:27:13 +00:00
Stanislav Shwartsman
c184a3a2ba Removed redundant mem-only checks - handled in fetchdecode now 2007-03-23 14:50:45 +00:00
Stanislav Shwartsman
ef542b3790 Learn to decode and disassemble VMX opcodes
No fetchdecode support but everything is ready
2007-03-23 14:35:50 +00:00
Stanislav Shwartsman
5c57577f32 Merged Carbon GUI patch by Dave Poirier 2007-03-23 08:30:22 +00:00
Stanislav Shwartsman
1ec33ec518 Correctly #UD on aliased instructions when no SSE2 is configured 2007-03-22 22:51:41 +00:00
Volker Ruppert
859fde3feb - regenerated after adding usb_hid.* files 2007-03-21 18:57:58 +00:00
Volker Ruppert
69e0110c7b - USB HID mouse support ported from Qemu to separate file and C++ object
* removed old-style mouse stuff
  * TODO: implement USB tablet from Qemu and re-implement Bochs USB keypad
- clear out USB hub structures in constructor to avoid segfault
- keyboard: mouse capture flag must affect all mouse types
2007-03-21 18:54:41 +00:00
Stanislav Shwartsman
5e4553500b Do not print address = 0 in BIOS address param. This means deafult value - so kepp it omitted and read te default value. 2007-03-18 22:27:37 +00:00
Stanislav Shwartsman
0436125d60 Some cleanup in lazy flags CF handling 2007-03-18 19:29:17 +00:00
Volker Ruppert
7956e47de8 - removed USB port option parameter and store device and option in one single
string. This is better for devices that need to know all it's options when
  connecting to the port. Device name and option should be separated with a
  colon. The USB device 'disk' now uses this format ('disk:usbdisk.img).
- the pciusb plugin must be linked with cdrom.o
2007-03-18 17:52:15 +00:00
Volker Ruppert
58d12d7136 - SCSI cdrom support added (untested)
- MSVC warnings fixed
- indent mode fixes
2007-03-18 15:18:02 +00:00
Volker Ruppert
71df111f02 - regenerated after adding USB MSD and SCSI emulation support 2007-03-18 11:18:51 +00:00
Volker Ruppert
a70cc33578 - USB MSD support moved to separate files and C++ object
* partial rewrite of the USB device emulation code (TODO: mouse and keypad)
  * configure.in and iodev makefile updates
  * removed old-style data structure for the USB harddisk
  * TODO: save/restore support for removable devices
- PCI USB destructor now resets all runtime parameter handlers
- set log prefix for the SCSI device
- fixed a warning in the SCSI emulation code
2007-03-18 11:17:28 +00:00
Volker Ruppert
e39769a7e8 - SCSI emulation layer moved to separate file and C++ object
(TODO: cdrom support, update workspace files)
- USB mass storage device separation continued
- device qualifier descriptor implemented
2007-03-16 18:23:13 +00:00
Stanislav Shwartsman
b8787fd5a7 Some code cleanups and warning fixes 2007-03-14 21:15:15 +00:00
Volker Ruppert
55d2446fe4 - USB mass storage device support and SCSI emulation layer ported from Qemu.
USB device type 'disk' replaces the 'flash' stubs and uses the corresponding
  port option as the path to the flat image file. Successfully tested with
  OpenSUSE 10.2.
  TODO list:
    * plugging in 2 devices of the same type not supported yet
    * move all USB devices and SCSI emulation layer to separate files and C++
      objects
    * USB port runtime parameter 'optionX' should be handled in the code of the
      connected USB device
    * tests with several other guest platforms
- destructor deletes device buffer only when it exists
- handling of the USB error interrupt status bit fixed
2007-03-14 18:05:46 +00:00
Volker Ruppert
883339c458 - call bx_gui->dimension_update() in after_restore_state() if a VBE mode is
active (standard VGA and Cirrus modes don't need it, since it is handled in
  the normal screen update code)
2007-03-11 09:43:33 +00:00
Volker Ruppert
7ee4eb27af - fixed possible segfault in loopback mode #1 when using a transmit byte count
> memory size (changing variable types makes sanity checks work)
2007-03-10 15:17:31 +00:00
Volker Ruppert
e5dbe40511 - destructors added to fix memory leaks
- indent mode fixes and removed unnecessary spaces
2007-03-10 12:53:54 +00:00
Stanislav Shwartsman
8ce336cad3 Fixed PANIC message 2007-03-10 09:04:39 +00:00
Stanislav Shwartsman
d471dea435 Added trace cache patch 2007-03-07 20:26:02 +00:00
Stanislav Shwartsman
c738d82290 Fix for debugger in SMP binary executing single CPU 2007-03-06 21:18:00 +00:00
Stanislav Shwartsman
40a395a3f4 Improve single threaded simulation speed in SMP binary of Bochs
This is still significantly slower than in native no-SMP binary but faster than before at least
2007-03-06 21:12:20 +00:00
Stanislav Shwartsman
05ea111e1c Clean CPU debug methods in main cpu_loop 2007-03-06 17:47:18 +00:00
Volker Ruppert
9a7930a23f - destructor now deletes the device buffer
- attempt to implement the "get max. LUN" command for mass storage devices
- removed unnecessary spaces
2007-03-05 18:09:57 +00:00
Stanislav Shwartsman
8067503c67 PUSHA/POP instructions rewritten, fixed PANIC message 2007-03-02 21:03:25 +00:00
Volker Ruppert
0be7d6e5e3 - when clearing the run/stop bit, the "host halted" bit in the status register
must be set
- ignore unused bits on i/o writes
- fixed two warnings
2007-03-01 18:29:36 +00:00
Volker Ruppert
a3b352d4fd - don't abort command when setting maximum logical head number to 0 (Linux 2.6.x
kernels use this value when LBA48 support is available)
2007-02-27 18:16:20 +00:00
Volker Ruppert
8beb290f67 - NACK for invalid PS/2 mouse command must be added to the mouse queue 2007-02-25 13:18:33 +00:00
Stanislav Shwartsman
89d33c681f Added closed bugs and applied patches list 2007-02-23 22:09:22 +00:00
Stanislav Shwartsman
d3252fbc1c Removed unneeded invalidate_prefetch_q from RDMSR instruction 2007-02-23 22:08:43 +00:00
Stanislav Shwartsman
696f4fef0f Remove incorrect assertion 2007-02-22 17:43:29 +00:00
Volker Ruppert
252946be66 - initial ACPI SMBus support added (ported from Qemu, TODO: register devices,
bus transactions)
2007-02-20 09:39:06 +00:00
Volker Ruppert
691465ffa6 - reset the memory after 32 bit protected mode init (patch from the Qemu project
by Fabrice Bellard)
2007-02-10 17:05:38 +00:00
Volker Ruppert
4a8996153f - partial support for non-DMA mode (initial patch #1641816 by John Comeau) 2007-02-09 14:23:50 +00:00
Stanislav Shwartsman
0f289751d2 Merge patch from @SF bug tracker 2007-02-07 17:53:06 +00:00
Stanislav Shwartsman
8d2060b855 Replace access_linear by read_virtual_xword when applicable 2007-02-03 21:36:40 +00:00
Stanislav Shwartsman
2f9e1bee68 fixed code duplication and comments 2007-02-03 17:56:35 +00:00
Stanislav Shwartsman
4fecfdebbf Update CHANGES - test of posting to "subscribers only" mailing list 2007-01-29 21:03:37 +00:00
Stanislav Shwartsman
372ac39050 Report some cache info in CPUID - port from QEMU 2007-01-29 17:56:03 +00:00
Stanislav Shwartsman
c24627c00f Implemented CLFLUSH instruction
Set of minor fixes for correctness
2007-01-28 21:27:31 +00:00