Commit Graph

8761 Commits

Author SHA1 Message Date
Volker Ruppert
1f18f5831f - final fix for busmaster DMA transfers from device to memory: new memory method
writePhysicalBlock() replaces the buggy code in iodev.h.
  Calling pageWriteStampTable.decWriteStamp(addr) is required here to make memcpy() work.
2011-11-30 17:11:43 +00:00
Stanislav Shwartsman
1e3e6ff2af BMI: fixed EFLAGS after BMI instructions (set EFLAGS while preserving PF was not implemented properly in 2.5 release) 2011-11-29 19:50:26 +00:00
Volker Ruppert
be53c733cf - temporary fix for the possible failure of busmaster DMA transfers caused by
memcpy(). The reason for the failure is unknown. Using writePhysicalPage()
  is safe, but slower and it only works on little endian hosts. On big endian
  hosts the data block would be copied in reverse order. We have to check
  whether or not this behaviour is expected for blocks > 8 bytes.
2011-11-29 19:36:41 +00:00
Stanislav Shwartsman
b8f2d91b9a fixed compilation err 2011-11-28 21:16:40 +00:00
Stanislav Shwartsman
99bec5155e fixed compilation err in instrumentation module 2011-11-28 10:08:03 +00:00
Stanislav Shwartsman
f37ec997ba removed very old deprecated configure options from configure script - they are deprecated for more than 2 releases 2011-11-27 21:45:08 +00:00
Volker Ruppert
57a543bebd - regenerated after release 2.5 2011-11-27 20:28:38 +00:00
Volker Ruppert
2a227f4381 - updated SVN release instructions and version strings 2011-11-27 20:27:45 +00:00
Volker Ruppert
67ff1d3dfe - regenerated for release 2011-11-27 15:57:17 +00:00
Volker Ruppert
9fd437d22c - preparing release 2.5 2011-11-27 15:55:49 +00:00
Stanislav Shwartsman
8cb359fab5 fixed flags handling for BMI instructions 2011-11-27 13:23:26 +00:00
Volker Ruppert
bc3b84e43c - added 'x' display library option "nokeyrepeat" to documentation 2011-11-27 12:13:22 +00:00
Stanislav Shwartsman
100622e958 fix ULL suffix for 64bit int, use BX_CONST64 instead 2011-11-26 19:01:53 +00:00
Stanislav Shwartsman
06e88c4984 fixed uninitialized var 2011-11-26 18:38:43 +00:00
Stanislav Shwartsman
ea87faad6e update CHANGES 2011-11-26 17:42:31 +00:00
Volker Ruppert
3029d55f4a - hdimage 'flat' mode: added support for Linux block devices (part of SF patch #3412431)
- hdimage: renamed 'sectors' to 'spt' (same as the config parameter)
- harddrv: fixed info message
2011-11-26 15:09:00 +00:00
Volker Ruppert
f66a04e7d1 - recompiled BIOS images 2011-11-24 17:24:05 +00:00
Volker Ruppert
58cadd6779 - disabled memory mapping mode check and panic. The vga mem write code seems to
handle it properly.
2011-11-24 17:21:17 +00:00
Stanislav Shwartsman
5e2834b69f update CHANGES with more fixed bug 2011-11-24 16:27:23 +00:00
Stanislav Shwartsman
f09bdf353a RDMSR can also read TSC so make it end-of-trace as well (same as RDTSC) 2011-11-24 16:03:51 +00:00
Stanislav Shwartsman
f660d3dc68 implemented missed XOP instructions FRCZPS/PD/SS/SD + update CHANGES with fixed bugs 2011-11-24 11:34:26 +00:00
Stanislav Shwartsman
9f5dabf839 added to CHANGES info about internal dbger and GUI dbger fixes 2011-11-23 20:09:21 +00:00
Stanislav Shwartsman
62b811e48f disasm: correctly handle VEX and XOP based opcodes 2011-11-23 19:43:50 +00:00
Stanislav Shwartsman
7158cf7228 fixed xop opcodes disasm tables 2011-11-23 16:44:38 +00:00
Volker Ruppert
67db6ee123 - disk geometry detection and check code rewritten:
* if the image provides a geometry, always use it.
  * if the cylinder value is set to 0 and the image supports autodetection,
    calculate the cylinder value from disk size, sectors and heads.
  * in all other cases the specified geometry is used.
  * a panic only occurs if the image size is too small for the geometry.
  * extra data past the end of the disk now causes an info message.
- TODO #1: 'flat' mode hdimage: read disk size of raw devices on Linux
- TODO #2: 'flat' mode hdimage: use geometry from MBR on image if present
2011-11-21 20:58:35 +00:00
Stanislav Shwartsman
44c3b65961 update CHANGES with fixed bug 2011-11-21 13:21:19 +00:00
Stanislav Shwartsman
c74f590077 implemented TSC-Deadline APIC timer mode 2011-11-21 12:51:50 +00:00
Stanislav Shwartsman
76b742bd93 fixed timer breakpoint handling in internal debugger 2011-11-21 12:50:37 +00:00
Stanislav Shwartsman
e4bd200119 do not report TSC Deadline for Sandy Bridge CPUID - not implemented yet 2011-11-20 18:25:39 +00:00
Volker Ruppert
f5981e0ba2 - turn off the mouse capture when the internal debugger or gdbstub enter the input loop
- gdbstub: fixed compilation errors and warnings
2011-11-20 16:21:53 +00:00
Stanislav Shwartsman
25ac87009b update CHANGES 2011-11-19 14:32:13 +00:00
Volker Ruppert
42e571ab1b - fix package size in pointing device flags 2 (SF patch #3435049)
- implemented legacy BIOS int13 AL=17/18h diskette functions (patch taken from
  comment to SF feature request #3424738)
2011-11-19 12:38:41 +00:00
Volker Ruppert
e247b0f14d - fix package size in pointing device flags 2 (SF patch #3435049)
- implemented legacy BIOS int13 AL=17/18h diskette functions (patch taken from
  comment to SF feature request #3424738)
2011-11-19 12:38:12 +00:00
Stanislav Shwartsman
34130cc1ad clearify about deprecated configure option 2011-11-18 13:15:17 +00:00
Stanislav Shwartsman
d78ff1134d fix for debugger creg command - correct fix this time 2011-11-18 12:56:33 +00:00
Stanislav Shwartsman
23b7b23d63 automatically turn off handlers chaining if gdb-stub is compiled in at configure time 2011-11-10 19:27:29 +00:00
Stanislav Shwartsman
cf314eb064 update CHANGES with closed bug 2011-11-08 18:01:35 +00:00
Stanislav Shwartsman
801a3f920f some more docs updates with cvs->svn transition 2011-11-07 19:20:11 +00:00
Stanislav Shwartsman
39ddc75098 update TESTFORM for 2.5 release 2011-11-07 19:04:52 +00:00
Stanislav Shwartsman
c68fdf4223 fixed typo in CHANGES 2011-11-06 21:51:30 +00:00
Volker Ruppert
a4d763d5bc - regenerated after release 2011-11-06 12:13:45 +00:00
Volker Ruppert
7e253cf7b6 - excluding CVS files no longer required
- set SVN flags in version strings after release
2011-11-06 12:11:46 +00:00
Volker Ruppert
d8a5ae0933 - regenerated for pre-release 2011-11-06 09:02:06 +00:00
Volker Ruppert
80be7ef9b1 - preparing Bochs 2.5.pre1 2011-11-06 09:00:41 +00:00
Stanislav Shwartsman
9be8552b80 - Implemented VM Functions support and EPTP-Switching VM Functions
- Added VMEXIT conditions for INVPCID instruction

Now Bochs is fully aligned with latest pulished Intel's SDM rev040.
2011-11-05 07:31:51 +00:00
Volker Ruppert
280b82dc0e - reverted unwanted change (as stated in rev. 10759)
- use absolute path to Bochs webspace
2011-11-01 20:40:04 +00:00
Stanislav Shwartsman
5bb7c8dbba final cvs->svn in docs 2011-11-01 17:44:56 +00:00
Volker Ruppert
fdeb25dde3 - finished CVS -> SVN changes (local website repository is still CVS)
- some other small fixes / cleanups
2011-11-01 17:10:58 +00:00
Stanislav Shwartsman
f6396de61e fixed segfault in debugger creg command when xsave is disabled 2011-11-01 13:24:42 +00:00
Stanislav Shwartsman
ae6513014d some more cvs -> svn updates in developr's docs 2011-11-01 13:13:24 +00:00
Volker Ruppert
1fd9f1e48c - added parameter type bx_shadow_filedata_c 2011-11-01 08:38:00 +00:00
Volker Ruppert
85ef8a6705 - SVN instructions replace the CVS ones 2011-10-31 18:30:22 +00:00
Volker Ruppert
dcca9d9a31 - documentation updates (bochsrc options, CVS -> SVN changes)
- added FIXME to all CVS-related sections that still need a rewrite
2011-10-31 10:00:32 +00:00
Volker Ruppert
de38d27b99 - changes updated 2011-10-30 17:15:59 +00:00
Volker Ruppert
0d4392fc13 - updated LGPL'd VGABIOS to version 0.7a 2011-10-30 17:03:09 +00:00
Stanislav Shwartsman
42a0a178eb disasm for XOP instructions 2011-10-30 08:58:49 +00:00
Stanislav Shwartsman
088cb441db updated user docs - some references to cvs replaced with references to svn instead, removed description about removed options and debugger commands, added description of new handlers chaining optimization 2011-10-29 19:15:54 +00:00
Stanislav Shwartsman
360900d7bd merge more pic patches 2011-10-23 21:53:56 +00:00
Stanislav Shwartsman
f73cdfaeac change nickname ('ch100') to realname ('Christian Inci') in CHANGES 2011-10-23 04:47:33 +00:00
Stanislav Shwartsman
ad9bdbe550 fixed compilation failure 2011-10-21 08:06:55 +00:00
Stanislav Shwartsman
60582e2b9d merge patch [3426460] [PATCH] PIC: remove never-executed code by ch100 2011-10-20 19:19:06 +00:00
Stanislav Shwartsman
21b96a5c8d fixed compilation err in win64 2011-10-20 19:10:06 +00:00
Stanislav Shwartsman
b1a6b34616 implemented PERMIL2PS/PERMIL2PD XOP instructions 2011-10-20 17:37:57 +00:00
Volker Ruppert
e4b92b55bb - implemented tooltip feature in win32ParamDialog using the parameter description 2011-10-20 16:09:28 +00:00
Stanislav Shwartsman
ddecc0234a fixed (c) info 2011-10-20 14:06:12 +00:00
Stanislav Shwartsman
3035fcd0af implemented XOP FMADCSWD/FMADCSSWD instructions 2011-10-20 13:55:26 +00:00
Stanislav Shwartsman
5d9bbae71c bugfix: cant use ib2 it is overlap with disp32 2011-10-19 21:28:36 +00:00
Stanislav Shwartsman
5cc04b9955 Implemented AMDs Buldozer XOP and TBM extensions.
XOP: few instructions are still missing, coming soon

  BX_PANIC(("VPERMILPS_VpsHpsWpsVIbR: not implemented yet"));
  BX_PANIC(("VPERMILPD_VpdHpdWpdVIbR: not implemented yet"));
  BX_PANIC(("VPMADCSSWD_VdqHdqWdqVIbR: not implemented yet"));
  BX_PANIC(("VPMADCSWD_VdqHdqWdqVIbR: not implemented yet"));
  BX_PANIC(("VFRCZPS_VpsWpsR: not implemented yet"));
  BX_PANIC(("VFRCZPD_VpdWpdR: not implemented yet"));
  BX_PANIC(("VFRCZSS_VssWssR: not implemented yet"));
  BX_PANIC(("VFRCZSD_VsdWsdR: not implemented yet"));
2011-10-19 20:54:04 +00:00
Stanislav Shwartsman
887aac2a4e updating CHANGES 2011-10-16 06:27:09 +00:00
Stanislav Shwartsman
01f27e3a0c this should fix bug report 3422638 large ramfile support broken on anything but Linux 2011-10-15 19:29:42 +00:00
Volker Ruppert
1f7f9bc2ff - moved OSX specific cdrom code to separate file 2011-10-10 17:33:23 +00:00
Volker Ruppert
515683a237 - moved OSX specific cdrom code to separate file 2011-10-10 17:32:53 +00:00
Stanislav Shwartsman
b16d71175d Fixed 'show off' command in internal debugger
Removed not working record/playback obsolete commands from internal debugger
2011-10-09 19:26:30 +00:00
Stanislav Shwartsman
314171bb56 fixed compilation w/o AVX 2011-10-09 13:56:39 +00:00
Stanislav Shwartsman
71cbff104b fixing xsave/xrstor flows with AVX 2011-10-09 09:19:49 +00:00
Stanislav Shwartsman
1c0a257b16 change PIT message to BX_DEBUG - it is flooding log too much when playing old MSDOS games 2011-10-09 08:21:12 +00:00
Stanislav Shwartsman
2a31661d83 change beep messages to BX_DEBUG - it is flooding log too much when playing old MSDOS games 2011-10-09 08:20:32 +00:00
Stanislav Shwartsman
03bcf7540a print xcr0 together with cregs 2011-10-08 21:58:17 +00:00
Stanislav Shwartsman
8ada4ce5e4 added to cpudb: Intel(R) Core(TM) i5 M 520 (Arrandale) - based on Westmere arch 2011-10-07 19:32:44 +00:00
Stanislav Shwartsman
2580d8c46d added FMA4 AMD instructions support, fixed mem access length for Intel scalar FMA instructions 2011-10-07 14:09:35 +00:00
Stanislav Shwartsman
aad57310c2 disasm for FMA4, better dbg print SSE rounding control with MXCSR 2011-10-06 20:33:10 +00:00
Stanislav Shwartsman
fc2f8f2266 correctly handle unmasked undeflow in SSE 2011-10-04 06:40:19 +00:00
Stanislav Shwartsman
8691ee7747 removed redundant ifdef 2011-10-03 17:41:48 +00:00
Stanislav Shwartsman
8a9b8f4622 MXCSR.FUZ is ignoired for F16 instructions 2011-10-03 15:08:22 +00:00
Volker Ruppert
fc9410ba41 - renamed cdrom.cc to cdrom_misc.cc and created new file cdrom.cc that contains
shared code (create TOC from image, seek)
- TODO: create new file cdrom_osx.cc that contains the OSX stuff only
2011-10-03 07:25:23 +00:00
Volker Ruppert
972560b83c - renamed cdrom.cc to cdrom_misc.cc and created new file cdrom.cc that contains
shared code (create TOC from image, seek)
- TODO: create new file cdrom_osx.cc that contains the OSX stuff only
2011-10-03 07:23:44 +00:00
Stanislav Shwartsman
e282b5e88d Move DAZ handling into softfloat library (for float16, float32 and float64 only) and cleanup SSE and AVX code
Fix decoding of opcodes with VEX.W=1 in 32-bit mode (AVX2, FMA)
2011-10-01 15:40:36 +00:00
Volker Ruppert
822eed13fb - fixes related to the removal of the BX_PASS log level 2011-10-01 12:48:48 +00:00
Stanislav Shwartsman
88768b22a4 optimize FMA functions 2011-10-01 09:05:12 +00:00
Stanislav Shwartsman
f66830d77f fixed assertion failure in win32dialog when trying to set log options for a device 2011-10-01 07:24:18 +00:00
Stanislav Shwartsman
391b4d9eee fix more warings 2011-09-30 21:02:09 +00:00
Stanislav Shwartsman
f425400af5 fixed warnings from compilation with mingw-gcc 4.6.1 2011-09-30 20:38:18 +00:00
Stanislav Shwartsman
ea94f4b141 fixup for flush-underflow-to-zero mode 2011-09-30 11:11:03 +00:00
Stanislav Shwartsman
e4560dd814 some comments about usb xhci support 2011-09-29 22:51:33 +00:00
Stanislav Shwartsman
e5d0540365 commit new added files 2011-09-29 22:38:38 +00:00
Stanislav Shwartsman
6751af5d8e added AVX FMA extensions support. The implementation is based on QEMU patch by Peter Maydell (fixed) 2011-09-29 22:20:56 +00:00
Stanislav Shwartsman
4b9c87513a added softfloat16.cc to win32 ws files 2011-09-29 21:32:01 +00:00
Stanislav Shwartsman
e3dae7adb1 added disasm for avx fma instructions 2011-09-29 19:50:27 +00:00
Stanislav Shwartsman
275194fb32 #GP on reading VMX_EPT_VPID_CAP MSR when EPT and VPID disabled 2011-09-26 20:36:26 +00:00
Stanislav Shwartsman
f0d9f8fab7 added some comments 2011-09-26 20:10:15 +00:00