Commit Graph

8465 Commits

Author SHA1 Message Date
Volker Ruppert
168efb7710 - re-implemented USB port options parameter to assign specific options to the
connected device. For now this feature is only used by the 'disk' device to
  specify an alternative redolog filename of some image modes.
- added new methods set_option() and timer() to the base class usb_device_c.
  The timer() method is periodicly called from the HC's frame timer code.
- moved runtime device change stuff from the parameter handler to the end of
  timer() methods of all hubs. This makes sure that all parameters for the
  device have been set at connect time. TODO: this technique could also be used
  for the floppy and cdrom media change.
2011-01-16 12:46:48 +00:00
Stanislav Shwartsman
5560e2723b Update CHANGES (prefer to have only functionality CHANGES described) 2011-01-15 22:23:21 +00:00
Stanislav Shwartsman
d5ec286b3f fix for SMC detection for page split 2011-01-15 22:14:44 +00:00
Stanislav Shwartsman
2dd1b67564 clenaup 2011-01-15 21:46:41 +00:00
Stanislav Shwartsman
906805bb68 fix SMC detection when trace cache is not compiled in 2011-01-15 17:08:07 +00:00
Stanislav Shwartsman
45f0c72385 remove duplicated instr 2011-01-15 15:17:28 +00:00
Volker Ruppert
d2fa6b35e6 - MSVC warning fixed 2011-01-14 22:15:37 +00:00
Volker Ruppert
9b70c59980 - added own log prefix for the hdimage stuff
- added multiple sector read/write support for 'growing' images
- fixed two warnings
2011-01-14 16:43:55 +00:00
Volker Ruppert
0e008fedb0 - file attributes: added support for cleared archive bit
- report ignoring reserved clusters with BX_ERROR
2011-01-14 15:37:36 +00:00
Stanislav Shwartsman
7511729424 cleanup 2011-01-13 21:36:56 +00:00
Stanislav Shwartsman
6a20d16562 indent 2011-01-13 20:48:29 +00:00
Stanislav Shwartsman
f2bc3a19ca Use space padding for EDD host bus and interface type like Award Modular BIOS v4.51PG and AMIBIOS V3.02.
Sebastian
2011-01-13 20:47:00 +00:00
Volker Ruppert
21ccef7f32 - set file modification date and time after committing file changes
- ignore reserved cluster numbers to avoid crash
2011-01-13 20:39:53 +00:00
Volker Ruppert
be2f3feef3 - enabled vvfat floppy support for the plugin version
- fixed and cleaned up floppy xfer code
- fixed two warnings
2011-01-12 22:35:32 +00:00
Volker Ruppert
51682da8b4 - converted the hdimage stuff to a separate plugin (similar to usb_common)
- usb_common is now a core plugin
- fixed an MSVC warning in devices.cc
- updated year in copyright
2011-01-12 22:34:42 +00:00
Stanislav Shwartsman
2ce1bd299c conditional compiling with misaligned sse 2011-01-12 20:16:25 +00:00
Stanislav Shwartsman
9a2b9296f1 bugfix in leaf[0xD] report 2011-01-12 20:12:05 +00:00
Stanislav Shwartsman
f4cd9b8ac9 flush only required entries on SMC 2011-01-12 19:53:47 +00:00
Stanislav Shwartsman
fcdadabbc4 Rewritten SMC handling, removed pageWriteStamp, now trace fetch chck only for pAddr 2011-01-12 18:49:11 +00:00
Stanislav Shwartsman
c48f7b6828 _WIN32_IE for cygwin gcc for 64-bit should be higher 2011-01-12 18:18:48 +00:00
Volker Ruppert
b728142477 - the floppy media (e.g. image file) must be closed in destructor
- moved all the close() stuff to the new method close_media()
2011-01-11 22:00:41 +00:00
Volker Ruppert
bc60caaccc - added vvfat floppy support (1.44 MB media only / currently not working with
plugins enabled)
- added special characters (0xe5 <-> 0x05) conversion in short filename
2011-01-11 20:14:21 +00:00
Stanislav Shwartsman
4539848451 Fixed VMX bug reported by Russ Cox 2011-01-10 22:37:05 +00:00
Volker Ruppert
3520b9b154 - handle file attribute changes (system, hidden and read-only)
- some work on FAT12 (required for floppy support)
- moved write support code from close() to new method commit_changes()
2011-01-10 21:15:05 +00:00
Stanislav Shwartsman
e31eb4a677 typo bug fixed 2011-01-10 06:27:19 +00:00
Stanislav Shwartsman
85234807d1 fixed typo 2011-01-09 20:36:13 +00:00
Stanislav Shwartsman
a80b44b6db split more sse ops 2011-01-09 20:18:02 +00:00
Volker Ruppert
2bb3d74f70 - fixed handling of modified files if the first cluster has been changed
- handle deletes only after parsing the new directory tree
- show file attributes bits that have been modified
2011-01-09 19:20:11 +00:00
Volker Ruppert
129ce92871 - check mappings for delete request in reverse order to avoid removing non-empty
directories
- some other small changes
2011-01-09 09:19:05 +00:00
Volker Ruppert
e5122a3ccd - experimental real write added (commit changes on exit). When Bochs is shutting
down and the vvfat image has been modied, the user is asked if the vvfat
  directory should also be modified. Currently not handled: remove non-empty
  directories, system-reserved clusters and file attributes.
- some small related changes
2011-01-09 00:36:42 +00:00
Stanislav Shwartsman
c5aca5ac21 move function to inline 2011-01-08 19:50:22 +00:00
Stanislav Shwartsman
37204c0aaa split more SSE ops 2011-01-08 12:28:25 +00:00
Stanislav Shwartsman
a1bc92a46b split more SSE opcodes 2011-01-08 11:20:29 +00:00
Stanislav Shwartsman
205351f44e Split R/M all SSE fetchdecode tables
- next step optimize tables
2011-01-08 09:53:52 +00:00
Volker Ruppert
6d7900c8a5 - redolog_t: store current image position in variable and update it after
successful reads and writes (required for vvfat write support)
- added multiple sector read / write support to the undoable and volatile disk
  image mode (required for USB MSD)
2011-01-07 18:35:34 +00:00
Volker Ruppert
98a3f99d7b - improved vvfat documentation 2011-01-06 18:15:28 +00:00
Volker Ruppert
e809889d2a - added some documentation for the 'vvfat' disk image mode (to be completed) 2011-01-05 22:53:44 +00:00
Stanislav Shwartsman
9c4cca1144 optimize SMC detection from memory.cc as well 2011-01-04 21:03:44 +00:00
Volker Ruppert
7826f45408 - updated changes 2011-01-04 20:17:51 +00:00
Volker Ruppert
2511bf45a8 - always place the 'dot entries' on top of a subdirectory (for some host
file systems this position is not mandatory)
- some small code cleanups
- disabled currently unused code
2011-01-04 18:39:51 +00:00
Stanislav Shwartsman
fe0685c7f9 fine granular SMC detection (128b granularity used)
significant reduction (>80%) of false SMC flushes
2011-01-04 16:17:20 +00:00
Volker Ruppert
5dba54c861 - added support for boot sector file without MBR file. Now all cases are handled
correctly: MBR + bootsector, MBR only, boot sector only and none of the files.
2011-01-03 19:03:08 +00:00
Volker Ruppert
3ef57e9f7e - fixed some format warnings in the devices code 2011-01-02 16:51:08 +00:00
Volker Ruppert
a12768b06d - fixed Bit64u/Bit64s format warnings on 64-bit Linux 2011-01-02 16:13:06 +00:00
Volker Ruppert
e34a9da72c - improved FAT32 support (should be okay now)
- implemented reading boot sector from file
- VVFAT TODO: apply file and directory changes on exit
2011-01-02 14:44:20 +00:00
Volker Ruppert
747f2ba541 - experimental FAT32 support (works in most cases)
- volatile write support using the hdimage redolog_t class
  (TODO: apply directory and file changes on exit)
- updated makefile dependencies
2011-01-01 19:14:25 +00:00
Volker Ruppert
6d0b6c69b9 - implemented reading MBR from file (TODO: read boot sector)
- value of 'sectors_per_fat' must be 32 bit (for FAT32)
- some other small fixes
2010-12-31 15:39:27 +00:00
Stanislav Shwartsman
2946d0ac26 split more SSE ops 2010-12-30 21:45:39 +00:00
Stanislav Shwartsman
f9f868247a split more SSE ops 2010-12-30 20:35:10 +00:00
Volker Ruppert
a9a6bbfe22 - added support for reserved sectors between bootsector and FAT containing a copy
of the bootsector and the "FS info sector" (required for FAT32)
- implemented a more accurate way to calculate the number of clusters and the
  corresponding FAT size
- some other small fixes
2010-12-30 12:30:58 +00:00
Stanislav Shwartsman
2a6df4fc1e Spelling fixes from VirtualBox.
Sebastian
2010-12-29 06:39:53 +00:00
Volker Ruppert
c521ec6ba1 - fixed MBR and boot sector values 2010-12-28 22:31:40 +00:00
Volker Ruppert
d45c98a267 - fixed crash caused by uninitialized value (found with MSVC)
- fixed cylinder overflow check
2010-12-27 22:37:36 +00:00
Volker Ruppert
52e4917f52 use C/H/S values from image for the CMOS setup 2010-12-27 18:37:25 +00:00
Volker Ruppert
a8ced63e31 - more fixes for configurable disk geometry
- check the root entries limit of FAT16
- some work on the FAT32 support (not yet complete)
- report volume creation date and time
- some other small fixes
2010-12-26 23:13:29 +00:00
Stanislav Shwartsman
fd5558d4be another way to implement this op 2010-12-26 20:54:23 +00:00
Stanislav Shwartsman
25b1e2e58d split more SSE ops 2010-12-26 20:41:47 +00:00
Stanislav Shwartsman
cb43e52240 asize mask 2010-12-25 19:46:07 +00:00
Stanislav Shwartsman
f705cbbc63 rename functions 2010-12-25 19:34:43 +00:00
Stanislav Shwartsman
1bd512e98d split more SSE ops, optimizations in MMX code 2010-12-25 17:04:36 +00:00
Stanislav Shwartsman
d0ee1c1b80 Fixed for compilation with cpu-level=3 2010-12-25 15:00:20 +00:00
Stanislav Shwartsman
c005444d5b split more SSE opcodes 2010-12-25 07:59:15 +00:00
Volker Ruppert
ba41f4cbff - set cluster size depending on disk size (FAT32 support not complete)
- several fixes related to configurable geometry (some more tests required)
- skip MBR and boot sector image files when reading directory (still unused)
- support overriding cylinder value with 0 in the command line
- don't return failure value when reading unused sectors
- increment buffer pointer when reading more than one sector
2010-12-24 20:47:22 +00:00
Stanislav Shwartsman
fee7a91d86 Fixed compilation with cpu-level=3 2010-12-24 16:34:55 +00:00
Stanislav Shwartsman
040a8e1a3a split bunch of SSE opcodes 2010-12-24 08:35:00 +00:00
Volker Ruppert
341c764e1f - added initial 'virtual VFAT' image support (shadows a local directory)
* ported the read part of the Qemu vvfat block driver
  * added win32 specific directory functions (required for MSVC)
  * TODO: write support, FAT32 support, read MBR and boot sector from file
2010-12-23 16:17:12 +00:00
Stanislav Shwartsman
709059ddcc integrate misaligned SSE into code 2010-12-22 21:24:19 +00:00
Stanislav Shwartsman
43600f3756 complete rework of SSE code
next step - split all SSE opcodes by ModC0
2010-12-22 21:16:02 +00:00
Volker Ruppert
1e3f3ee0c0 - added new hdimage method get_capabilities() that can return special flags
- HDIMAGE_HAS_GEOMETRY flag added to vmware3 & vmware4 modes (these modes use
  the CHS values from image file)
- harddrv: renamed pointer to hdimage object
2010-12-21 21:47:41 +00:00
Stanislav Shwartsman
a63b9900a7 optimization 2010-12-19 22:50:28 +00:00
Stanislav Shwartsman
29a674e520 split rd/wr CR opcodes for simplicity 2010-12-19 22:36:19 +00:00
Stanislav Shwartsman
c7017b1c05 simplification 2010-12-19 21:41:15 +00:00
Stanislav Shwartsman
f2355a8249 Fixed FXSAVE/FXRSTOR exceptions order 2010-12-19 21:07:46 +00:00
Stanislav Shwartsman
4a85a8680e SSE optimization 2010-12-19 07:06:40 +00:00
Stanislav Shwartsman
48d94d6dc3 optimization 2010-12-18 11:58:16 +00:00
Volker Ruppert
99eb027531 - modified usb_common plugin implementation to make Windows DLL plugins compile
* added new "pseudo device" for the USB device control (init, send message)
  * moved register_state() call from the hubs to the common device init code
- fixed unresolved symbols in usb_msd code
2010-12-14 21:20:37 +00:00
Volker Ruppert
3eba961c0d - USB documentation updates 2010-12-11 08:25:39 +00:00
Volker Ruppert
29c8824bab - added support for HD image modes in usb_msd (TODO: specify journal file)
- siminterface: added helper method hdimage_get_mode()
- moved hdimage related stuff from harddrv.cc to the hdimage code
- changed hdimage related names
2010-12-10 17:02:18 +00:00
Stanislav Shwartsman
1047acb2cc rename SSE register param - prepare for wide SSE register (AVX) 2010-12-06 21:52:41 +00:00
Stanislav Shwartsman
d60b7c0919 rename accessor for opcodeReg() in instruction 2010-12-06 21:45:56 +00:00
Volker Ruppert
fab6cfdf98 - regenerated after usb_common plugin separation 2010-12-06 18:53:21 +00:00
Volker Ruppert
c214fffa5e - created a separate plugin that contains the USB devices, the devices init
code and the generic USB stuff. Up to now, in plugin mode each host controller
  staticly links all this stuff with the plugin library. So it existed twice and
  e.g. it wasn't possible to create a unique serial number for disks/cdroms
  connected to different HCs. Some other sanity checks could be added now, too.
- Added a register mechanism for the USB device init function in the main
  devices code.
- TODO: Some other device plugins could be fixed the same way: network devices
        (sharing ethernet modules), harddrive & usb_msd (sharing hdimage and
        cdrom)
2010-12-06 18:51:13 +00:00
Volker Ruppert
cd7b703a5b - init() method added to the USB device class
- new USB device class method get_info() for improved device connect BX_INFOs
- USB printer: output file creation failure now causes BX_ERROR and disconnect
  instead of BX_PANIC (similar to usb_msd)
- removed obsolete include statements
2010-12-05 13:09:41 +00:00
Stanislav Shwartsman
dab658f136 update with AMD CPUID spec from sep2010 2010-11-27 20:20:32 +00:00
Volker Ruppert
45148b3eb7 - fixed compiler warning and big endian issue in "send buffer" command code 2010-11-26 15:42:41 +00:00
Volker Ruppert
cdfedaa9bc - data type SOCKET doesn't exist on non-win32 platforms 2010-11-23 20:26:37 +00:00
Stanislav Shwartsman
4a8d69caf6 bugfix for x86-64 mode 2010-11-23 15:42:26 +00:00
Stanislav Shwartsman
9aa503cb9d fixed warnings for win64 compilation 2010-11-23 14:59:36 +00:00
Volker Ruppert
50d9fa3e9a - added support for VGA graphics mode with 400 lines (partial fix for SF bug #2948724) 2010-11-22 22:11:30 +00:00
Volker Ruppert
6573d29d1a - log options: added missing entry for returning to parent menu 2010-11-22 21:55:56 +00:00
Volker Ruppert
21d53ee619 - setting the ISR transmit complete bit doesn't depend on the corresponding IMR bit 2010-11-21 16:21:41 +00:00
Stanislav Shwartsman
d011594114 Added option to disable MWAIT using .bochsrc 2010-11-21 12:02:12 +00:00
Volker Ruppert
a41ab5ccf9 - attempt to fix win64 compilation (Win 95/98/ME specific floppy access method
not required on this platform)
2010-11-20 12:37:00 +00:00
Volker Ruppert
3d0a3a0c6e - removed debug output 2010-11-19 18:42:11 +00:00
Volker Ruppert
7d3d32afcc - fixed panic when using floppy write protection parameter in bochsrc 2010-11-19 18:41:38 +00:00
Stanislav Shwartsman
4feda0c3fe compilation fix w/o vmx 2010-11-19 08:39:52 +00:00
Stanislav Shwartsman
85250931dd fix typo 2010-11-13 13:06:00 +00:00
Stanislav Shwartsman
e5bb07e366 a few more steps towards win64 compilation under windows 2010-11-13 13:00:26 +00:00
Stanislav Shwartsman
8c45aa2454 fixed buffer overflow in perv commit 2010-11-13 09:18:16 +00:00
Stanislav Shwartsman
36291b0b1d accessor to upper part of 64-bit reg 2010-11-12 20:46:59 +00:00
Stanislav Shwartsman
c676875421 vmcs read/write check 2010-11-12 20:26:01 +00:00
Stanislav Shwartsman
07d68e9222 fix for win64 compilation 2010-11-12 18:20:35 +00:00
Stanislav Shwartsman
e6981218dc next step for fully configurable CPU + more optimal VMX execution
- check at startup time which VMX fields are accessible
- next step: simplify VMREAD and VMWRITE instructions - eliminate switch statements
2010-11-11 21:41:03 +00:00
Stanislav Shwartsman
a6d2047f4d dos2unix 2010-11-11 17:09:13 +00:00
Stanislav Shwartsman
93cc615a40 moved vmcs stuff to separate file 2010-11-11 16:25:45 +00:00
Stanislav Shwartsman
9e6bf42527 x87 fix in 64 bit mode 2010-11-11 15:48:56 +00:00
Stanislav Shwartsman
4aef7661aa Fix buffer overflow 2010-11-03 21:46:09 +00:00
Stanislav Shwartsman
d9734249b9 compilation fixes for mingw64 gcc 2010-11-01 15:02:14 +00:00
Stanislav Shwartsman
8d46433679 compilation fixes for mingw64 gcc 2010-11-01 14:50:18 +00:00
Stanislav Shwartsman
024c0073fc fix for makefile 2010-10-25 21:05:44 +00:00
Stanislav Shwartsman
49c85b07f6 Fixed address size wrap 2010-10-18 22:19:45 +00:00
Volker Ruppert
e027d2d8e0 - replaced underscore by minus character in internal links (possible docbook
compilation failure
2010-10-17 19:50:46 +00:00
Stanislav Shwartsman
d6f2454414 fixed x87 bug 2010-10-17 16:24:33 +00:00
Stanislav Shwartsman
dc72673bb3 Fixed arpl disasm 2010-10-11 15:33:11 +00:00
Stanislav Shwartsman
5ea2591cd9 fixes 2010-10-07 20:40:01 +00:00
Stanislav Shwartsman
13e2b6eba1 added new file 2010-10-07 16:40:00 +00:00
Stanislav Shwartsman
6d089dd238 changed CPUID constants to defines 2010-10-07 16:39:31 +00:00
Stanislav Shwartsman
3f2b440584 added compilation DATE/TIME after Bochs version string 2010-10-02 20:52:47 +00:00
Stanislav Shwartsman
e3431a98e6 Bugfix for 32-bit shift/rotate in 64-bit mode 2010-10-01 09:13:21 +00:00
Stanislav Shwartsman
a9b569978a bugfix 2010-09-29 17:46:30 +00:00
Stanislav Shwartsman
dcc11e1b85 naming change 2010-09-28 14:18:58 +00:00
Stanislav Shwartsman
f2a87171c1 Fixed BX_INSTR_OPCODE callback, now its implementation closer to original definition.
New, updated definition of the callback:

	void bx_instr_opcode(unsigned cpu, const Bit8u *opcode, unsigned len, bx_bool is32, bx_bool is64);

The  callback  is  called  each  time, when Bochs completes  to  decode  a new
instruction.  Through  this callback function Bochs could provide an opcode of
the instruction, opcode length and an execution mode (16/32/64).

Please note, that Bochs uses translation  caches so each simulated instruction
might be executed multiple times but decoded only once.
2010-09-27 15:29:36 +00:00
Stanislav Shwartsman
9ed116ada7 avoid similar issues (like it was in mmx.cc) in future 2010-09-26 20:35:24 +00:00
Stanislav Shwartsman
471d33fc1d fix BE issue 2010-09-26 20:20:27 +00:00
Stanislav Shwartsman
715e65dd05 Merge EDD INT 15 Fn 48h code between int13_harddisk() and int13_cdrom().
Sebastian
2010-09-26 18:38:58 +00:00
Volker Ruppert
e99736e27a - regenerated after latest changes 2010-09-26 06:43:28 +00:00
Stanislav Shwartsman
f655e33779 imm mode2 could be only with imm_mode1 2010-09-25 10:17:04 +00:00
Stanislav Shwartsman
75f2ae9c18 fetchdecode simplification rework 2010-09-25 09:55:40 +00:00
Stanislav Shwartsman
3994761b08 Patch by Sebastian:
Missing EDD fixes for cdrom code
2010-09-25 07:21:25 +00:00
Stanislav Shwartsman
8308a47168 trying to get rid of b1() in instruction class 2010-09-24 21:15:16 +00:00
Stanislav Shwartsman
369aba757d style change 2010-09-23 20:38:02 +00:00
Stanislav Shwartsman
e0fcc80ec3 introduce bswap functions, big endian fix for CPUID 2010-09-20 20:43:16 +00:00
Stanislav Shwartsman
a6ad162346 separate param tree code out of rest of siminterface
create new module
2010-09-16 21:46:45 +00:00
Stanislav Shwartsman
273f256603 some changes in siminterface 2010-09-12 20:47:23 +00:00
Stanislav Shwartsman
a0705392d3 Fixed failure on BE hosts 2010-09-12 17:33:34 +00:00
Stanislav Shwartsman
1107ce138e small fetchdecode optimization 2010-09-07 19:54:50 +00:00
Stanislav Shwartsman
c7dba3525a Fixed warnings (patch from mailing list) 2010-08-15 19:57:50 +00:00
Volker Ruppert
deb572b355 - recompiled BIOS images 2010-08-07 20:59:07 +00:00
Stanislav Shwartsman
e989201277 I could not find DPTE revision 0x10 mentioned in the specifications.
Size of 66 bytes is invalid. Also clear DPT "reserved3" field.

Sebastian
2010-08-07 06:58:10 +00:00
Volker Ruppert
19398ed178 - added missing break statement 2010-08-02 19:26:13 +00:00
Stanislav Shwartsman
fd155a5f56 Bios fixes by Sebastian 2010-08-01 21:54:32 +00:00
Stanislav Shwartsman
31e8bfc5a7 Fixed fsgsbase cpuid bit 2010-07-22 20:19:00 +00:00
Stanislav Shwartsman
55cb12badf fixed missed canonical failure on system access 2010-07-22 20:12:25 +00:00
Stanislav Shwartsman
91ac0df65c implemented GS/FS BASE access instructions published in _319433-007.pdf document 2010-07-22 16:41:59 +00:00
Stanislav Shwartsman
7f7c249934 disasm and some cpuid code according to recently published AVX_319433-007.pdf document 2010-07-22 15:12:08 +00:00
Stanislav Shwartsman
21e39a66c9 print cpuid options in more readable form (less options in a line) 2010-07-16 21:10:48 +00:00
Stanislav Shwartsman
cd6314b65c Added ability to configure CPUID stepping through .bochsrc.
Next is CPUID model/extended model.
2010-07-16 21:03:52 +00:00
Stanislav Shwartsman
59ad9d8de8 Fixes 2010-07-15 20:18:03 +00:00
Stanislav Shwartsman
9a104c8f65 update bx_write_floppy_options with write protected floppy 2010-07-03 11:13:40 +00:00
Volker Ruppert
8b46dcfc0b - added parameter to control the floppy media write protection. This is based on
the SF patch #1539417, but rewritten from scratch (patch too old). Differences
  to the original version:
  * internal parameter name "readonly"
  * update parameter if floppy image is readonly
  * wxWidgets support
  * documentation updates
  * no specific toolbar buttons
2010-07-03 05:34:27 +00:00
Stanislav Shwartsman
41ddb26c6f Fixed save/restore of x87 regs 2010-07-01 20:00:33 +00:00
Stanislav Shwartsman
4cf15cd18b Fixed RDTSCP VMEXIT reason 2010-07-01 16:31:46 +00:00
Stanislav Shwartsman
d47c84320a swap bits in instr 2010-06-29 19:38:56 +00:00
Stanislav Shwartsman
8e94474e03 bug fix 2010-06-21 05:35:45 +00:00
Stanislav Shwartsman
63a984bf71 typo fix 2010-06-18 18:47:21 +00:00
Volker Ruppert
e801f4a256 - removed floppy method get_media_status() (floppy media change handler already
updates the parameter)
2010-06-18 17:23:50 +00:00
Stanislav Shwartsman
8099effaf5 typo 2010-06-18 14:24:45 +00:00
Stanislav Shwartsman
9ec1d79b8c warning fix 2010-06-18 14:15:53 +00:00
Stanislav Shwartsman
ca9ab30aec Update config.guess/config.sub o latest revision (May 2010) 2010-06-10 17:56:46 +00:00
Stanislav Shwartsman
a896dbfb2d compilation fix for win64 2010-06-10 15:59:04 +00:00
Stanislav Shwartsman
eaa2e0e0ea [PATCH] cpu/init.cc: proper CPL restore in after_restore_statE 2010-06-04 20:31:04 +00:00
Stanislav Shwartsman
23a28d2892 Fixed compilation with vs2008 2010-06-03 19:36:13 +00:00
Stanislav Shwartsman
86c1df8168 updated vs2008 workspace 2010-06-03 19:10:03 +00:00
Stanislav Shwartsman
f3980b522f bugfux 2010-06-02 05:44:12 +00:00
Stanislav Shwartsman
b195cb7ccf bugfix in GUI dbg 2010-05-29 18:55:59 +00:00
Stanislav Shwartsman
67aec1dc22 warning fix 2010-05-26 18:37:54 +00:00
Stanislav Shwartsman
84880793f3 optimize for speed 2010-05-26 18:34:25 +00:00
Stanislav Shwartsman
95df639614 compilation fix 2010-05-25 18:52:01 +00:00
Volker Ruppert
fb668371f4 - fixed mouse capture toggle with F12 on win32 (missing key release) 2010-05-24 22:06:17 +00:00
Stanislav Shwartsman
ecde5ffea9 simplify disasm tables 2010-05-23 20:30:23 +00:00
Stanislav Shwartsman
2dbe559ad9 simpler disasm tables 2010-05-23 20:05:14 +00:00
Stanislav Shwartsman
8d8d1590f5 fetchdecide rework for AVX (0xF3 SSE prefix encoded as 2 in VEX) 2010-05-23 19:17:41 +00:00
Stanislav Shwartsman
f7b79e0057 bugfix 2010-05-23 17:59:50 +00:00
Stanislav Shwartsman
b2dffd9258 undo incorrect change for ia32_feature_control msr init 2010-05-23 05:32:00 +00:00
Stanislav Shwartsman
c21a8fd935 sse4.2 string instruction do not required aligned mem access 2010-05-22 19:55:12 +00:00
Stanislav Shwartsman
1c00193616 cleanup 2010-05-22 10:43:39 +00:00
Stanislav Shwartsman
b6c26d394c enable VMX lock bit - required for VMXON 2010-05-22 10:21:31 +00:00
Stanislav Shwartsman
d8b1d60239 when in HLT run time faster for single cpu 2010-05-22 10:17:58 +00:00
Volker Ruppert
0a4c91815d - small fixes in the DHCP code (SF patch #2862322) 2010-05-22 10:15:58 +00:00
Stanislav Shwartsman
fff0a79aea a little simpler fetchdecode 2010-05-21 21:17:32 +00:00
Volker Ruppert
fd477dac71 - ignore single mode command 0x02 (386BSD writes it, but works with it ignored) 2010-05-18 17:48:48 +00:00
Volker Ruppert
5471cfbc34 - mouse capture toggle option choice 'f12' replaces win32 'legacyF12' option
- implemented mouse capture toggle method option in RFB
- user documentation updates (mouse, usb)
2010-05-18 15:33:41 +00:00
Stanislav Shwartsman
155c527e35 Enable 2M BIOS images 2010-05-18 09:01:08 +00:00
Stanislav Shwartsman
e3e797a2de ready to enlarge supported BIOS ROM to 2M 2010-05-18 08:54:01 +00:00
Stanislav Shwartsman
d22427ede1 mark places what have to be fixed to enable 2M BIOS ROM images 2010-05-18 07:44:37 +00:00
Stanislav Shwartsman
3dfcfd0ccd Split shift opcodes | optimize SAR opcode 2010-05-18 07:28:05 +00:00
Stanislav Shwartsman
44885c4ef5 rom_present is not need to be BX_MEM_C member 2010-05-17 19:42:30 +00:00
Volker Ruppert
8a2a1dc04c - implemented mouse capture toggle method option in win32.cc
- updated mouse option description and added cpuid options section in the user docs
2010-05-16 20:44:08 +00:00
Volker Ruppert
ae20efc894 - added entry for the new 'cpuid' option and updated 'mouse' option description 2010-05-16 15:12:15 +00:00
Volker Ruppert
84364ae889 - implemented mouse capture toggle method option in wxWidgets 2010-05-16 14:40:53 +00:00
Stanislav Shwartsman
bfac0dd6c6 Move some defines from rombios32.c to rombios.h
Sebastian
2010-05-16 14:35:22 +00:00
Stanislav Shwartsman
32ff6e4879 MSR BX_DEBUG prints 2010-05-16 13:56:22 +00:00
Volker Ruppert
19ed74f642 - added new config option to select mouse capture toggle method. In addition to
the default Bochs method using the CTRL key and the middle mouse button there
  are now the choices CTRL+F10 (like DOSBox) and CTRL+ALT (like QEMU).
  * currently implemented in the X11 and SDL guis only
  * TODO: porting to wxWidgets and Win32, documentation updates
2010-05-16 09:01:36 +00:00
Stanislav Shwartsman
05bbbb1a2c compilation fix 2010-05-16 05:23:18 +00:00
Stanislav Shwartsman
bdc7b4bf89 Updates of CMOS map 2010-05-15 19:35:41 +00:00
Volker Ruppert
cdb7e0eb96 - fixed usage of variable 'apic_id_mask' for compatibility with win32 plugin target 2010-05-15 09:23:50 +00:00
Stanislav Shwartsman
35f8e91cad APIC ID mask cleanup 2010-05-14 12:10:00 +00:00
Stanislav Shwartsman
9c69b15ecb fetchdecode tables reorg phase1 2010-05-13 05:38:24 +00:00
Stanislav Shwartsman
74b87d2b68 fixes for CPUID and alloweds bits in CRs 2010-05-12 21:33:04 +00:00
Stanislav Shwartsman
f95ddc4029 Debug Extensions was introduced in Pentium 2010-05-12 18:48:51 +00:00
Stanislav Shwartsman
d849cdf128 - Determine and select max physical address size automatically at
configure time:
    - 32-bit physical address for 386/486 guests
    - 36-bit physical address for PSE-36 enabled Pentium guest
    - 40-bit physical address for PAE enabled P6 or later guests
2010-05-12 14:55:12 +00:00
Stanislav Shwartsman
f899949c3a Sebastian define port number constants 2010-05-10 05:24:39 +00:00
Stanislav Shwartsman
49934bc853 cache page split instructions
next step - cache page split traces
2010-05-08 08:30:04 +00:00
Stanislav Shwartsman
b0d5142e18 comp fixes 2010-05-06 21:46:39 +00:00
Volker Ruppert
60a6476e40 - added directory structure of the Bochs project webspace 2010-05-06 16:59:44 +00:00
Stanislav Shwartsman
1c47847e23 Show more fields for verbose debugger 'page'command 2010-05-05 20:10:15 +00:00
Stanislav Shwartsman
2b1ea37252 verbose page command from debugger 2010-05-04 20:17:26 +00:00
Stanislav Shwartsman
9a43a89a61 verbose page command from the debugger 2010-05-04 20:16:38 +00:00
Stanislav Shwartsman
aa76181208 Fixed debug translation 2010-05-04 19:02:51 +00:00
Stanislav Shwartsman
41e9663b89 optimization 2010-05-02 17:01:15 +00:00
Stanislav Shwartsman
4e6d7835c6 #GP/#SS priority 2010-05-02 17:00:05 +00:00
Stanislav Shwartsman
0478b326c3 remove ome ifdefs 2010-05-02 15:11:39 +00:00
Stanislav Shwartsman
acc82363cd undefined CR fault higher prio than CPL GP 2010-05-02 15:10:27 +00:00
Volker Ruppert
7d1d56a6d2 - added some webmastering infos (TODO: Bochs project webspace directory structure) 2010-05-02 11:04:42 +00:00
Stanislav Shwartsman
48a461116f PUSH segment register fix to be like real CPU 2010-04-30 09:12:52 +00:00
Stanislav Shwartsman
1f0d4f9663 compilation fix 2010-04-29 21:04:23 +00:00
Stanislav Shwartsman
f5a2ca3b48 optimize for x86-64 OFF 2010-04-29 20:03:03 +00:00
Stanislav Shwartsman
50f3547dbe optimize for x86-64 OFF 2010-04-29 19:56:10 +00:00
Stanislav Shwartsman
ca95477b7f Implement x86-64 PCID extension 2010-04-29 19:34:32 +00:00
Stanislav Shwartsman
f2177071e2 after 2.4.5 release 2010-04-29 19:22:02 +00:00
Volker Ruppert
cf365b7cea - regenerated for release 2010-04-25 07:58:15 +00:00
Volker Ruppert
d260c84bd3 - preparing release 2.4.5 2010-04-25 07:57:19 +00:00
Stanislav Shwartsman
4992c4b89f one more Teylor element to fsin 2010-04-24 14:41:07 +00:00
Stanislav Shwartsman
bd7ed90efe 1g_pages 2010-04-24 10:13:31 +00:00
Stanislav Shwartsman
1c2fa8cd0c move 1G_pages support to runtime option 2010-04-24 09:36:04 +00:00
Stanislav Shwartsman
637d055ccd improved FSIN/FCOS/FSINCOS/FTAN precision 2010-04-24 08:01:54 +00:00
Stanislav Shwartsman
ea95341e05 compile fix 2010-04-22 18:48:39 +00:00
Stanislav Shwartsman
30fecf9792 changes in comments only 2010-04-22 17:51:37 +00:00
Stanislav Shwartsman
3c6a8375fd small optimization 2010-04-22 17:41:05 +00:00
Stanislav Shwartsman
25b315bb8b fixes for compilation for win64 2010-04-22 17:30:11 +00:00
Stanislav Shwartsman
c9f0779199 cleanup 2010-04-20 06:14:55 +00:00
Stanislav Shwartsman
b9be4fcd3e fix 2010-04-19 11:09:35 +00:00
Stanislav Shwartsman
7319d2eee1 FENCE instructions are SSE2 only 2010-04-18 09:21:24 +00:00
Stanislav Shwartsman
e76cad98ec updated CHANGES 2010-04-16 20:31:42 +00:00
Stanislav Shwartsman
cb281a1440 typo fix 2010-04-16 20:09:23 +00:00
Stanislav Shwartsman
43bc0f1f2b optimize some of x87 tables 2010-04-16 19:52:44 +00:00
Stanislav Shwartsman
59eb1200c2 fixed IMUL eflags 2010-04-15 19:50:57 +00:00
Stanislav Shwartsman
749d6c33d2 relocate lazy_flags code from cpu.h 2010-04-15 05:51:00 +00:00
Stanislav Shwartsman
9746e16657 SSE unmasked exceptions report fix 2010-04-14 20:20:17 +00:00
Stanislav Shwartsman
89c87e2743 fixes 2010-04-14 17:33:19 +00:00
Stanislav Shwartsman
77f8857ddb Fixed dbg_linear2phy function for legacy PAE 2010-04-14 15:41:57 +00:00
Stanislav Shwartsman
df07dab80f verbose phy mem access tracing 2010-04-13 17:56:50 +00:00
Stanislav Shwartsman
1a2c73bba3 cleanups 2010-04-13 15:55:02 +00:00
Stanislav Shwartsman
afcbca5bba bugfix 2010-04-11 05:28:19 +00:00
Stanislav Shwartsman
b85791686b fixed mtrr_deftype reset value 2010-04-10 07:32:48 +00:00
Stanislav Shwartsman
1c31d1e339 fix for configure script 2010-04-10 06:15:32 +00:00
Stanislav Shwartsman
6dbafd6f60 bugfix 2010-04-09 15:19:14 +00:00
Stanislav Shwartsman
51b6180b28 don't use magic constant 2010-04-09 11:34:52 +00:00
Stanislav Shwartsman
955e237e46 unrestricted guests support (VMXx2) 2010-04-09 11:31:55 +00:00
Stanislav Shwartsman
82900311da update CHANGES 2010-04-09 08:36:02 +00:00
Stanislav Shwartsman
04349e1041 compilation fix for CPU < 6 2010-04-09 07:15:54 +00:00
Stanislav Shwartsman
dd6cc5ce42 update todo 2010-04-08 20:08:05 +00:00
Stanislav Shwartsman
689ecc57dd split 2 more SSE opcodes 2010-04-08 17:35:32 +00:00
Stanislav Shwartsman
546d974248 If CR0.PE = 0, the following instructions cause invalid-opcode exceptions and
do not cause VM exits: INVEPT, INVVPID, LLDT, LTR, SLDT, STR, VMCLEAR,
VMLAUNCH, VMPTRLD, VMPTRST, VMREAD, VMRESUME, VMWRITE, VMXOFF,
and VMXON.
2010-04-08 17:00:55 +00:00
Stanislav Shwartsman
50462dde9a RDTSCP could be run outside long64 2010-04-08 16:38:41 +00:00
Stanislav Shwartsman
6e1204cb84 Merged X2APIC + X2APIC virtualization 2010-04-08 15:50:39 +00:00
Stanislav Shwartsman
df7db31fb4 EPT + VPID - VMXx2 support 2010-04-07 17:12:17 +00:00
Stanislav Shwartsman
fa57efb9a8 fix PANIC on 386 2010-04-07 16:02:52 +00:00
Stanislav Shwartsman
62b5c27e1b compilation fixes 2010-04-07 14:49:18 +00:00
Stanislav Shwartsman
c94e72d4d3 make lpf_mask smaller 2010-04-07 14:38:53 +00:00
Stanislav Shwartsman
10505dca81 PDPTR checks fix 2010-04-06 19:26:03 +00:00
Stanislav Shwartsman
0b07759d4c update CHANGES 2010-04-05 14:05:24 +00:00
Volker Ruppert
e21873deab - regenerated after latest changes 2010-04-05 13:08:13 +00:00
Stanislav Shwartsman
bd8789646a cleanup 2010-04-05 09:49:26 +00:00
Stanislav Shwartsman
7b23a893ac P5 has 4 LVT entries 2010-04-05 09:36:17 +00:00
Stanislav Shwartsman
b4cd188f07 Update (c) 2010-04-04 19:56:55 +00:00
Stanislav Shwartsman
c98cc9ec86 very old typo fix 2010-04-04 19:48:18 +00:00
Stanislav Shwartsman
3363256a22 update CHANGES 2010-04-04 19:46:35 +00:00
Stanislav Shwartsman
bcc5747abe Handle tables correctly if BX_USE_EBDA_TABLES is set.
- Sebastian
2010-04-04 19:38:02 +00:00
Stanislav Shwartsman
969eb42454 Fixes by Sebastian 2010-04-04 19:33:50 +00:00
Stanislav Shwartsman
aea9f50b4a implemented Descriptor Table exiting control 2010-04-04 19:23:47 +00:00
Stanislav Shwartsman
9cece96d14 fixes 2010-04-04 18:46:03 +00:00
Stanislav Shwartsman
88fe93cdc7 VMXx2 require x86-64 2010-04-04 18:37:54 +00:00
Stanislav Shwartsman
a842b4ddad VMXx2 require x86-64 support 2010-04-04 17:08:40 +00:00
Volker Ruppert
62378ec5b9 - make CPUID options available in textconfig 2010-04-04 11:28:33 +00:00
Stanislav Shwartsman
eec8c8e3d2 dbg function fix 2010-04-04 09:05:21 +00:00
Stanislav Shwartsman
21de4f8b8b remove cr3_masked 2010-04-04 09:04:12 +00:00
Stanislav Shwartsman
58bbf0d0b1 compilation fix for 386 2010-04-03 19:21:07 +00:00
Stanislav Shwartsman
25d3d950b2 vmx fix 2010-04-03 19:18:38 +00:00
Stanislav Shwartsman
eab8826173 restore back some code - optimization conflicting with EPT implementation 2010-04-03 18:00:30 +00:00
Stanislav Shwartsman
a445b5c4f3 optimization + fix 2010-04-03 16:52:33 +00:00
Stanislav Shwartsman
393ec36da1 typo fix 2010-04-03 13:30:58 +00:00
Stanislav Shwartsman
2830030c39 Update CHANGES 2010-04-03 10:58:48 +00:00
Stanislav Shwartsman
3f4cf46c2d fixed crash in single cpu mode due to early construction of APIC 2010-04-03 10:14:42 +00:00
Stanislav Shwartsman
330cdf1f0d update CHANGES 2010-04-03 07:37:47 +00:00
Stanislav Shwartsman
7c42447c77 move secondary VMEXEC controls to -enable-vmx=2 option
EPT coming next
2010-04-03 07:30:23 +00:00
Stanislav Shwartsman
d39d485ece changes variable name to better one 2010-04-03 05:59:07 +00:00
Stanislav Shwartsman
93220f6b6e fixes 2010-04-02 21:22:17 +00:00
Stanislav Shwartsman
9d3eee21fc LAR fix in long mode 2010-04-02 19:53:29 +00:00
Stanislav Shwartsman
01de3e1926 PEXTRB/W/D/EXTRACTPS fixed 2010-04-02 19:03:47 +00:00
Stanislav Shwartsman
69517f9143 Fix PEXTRB/PEXTRW/PEXTRD/EXTRACTPS 2010-04-02 19:01:17 +00:00
Stanislav Shwartsman
caa30e3462 bugfix 2010-04-02 18:24:27 +00:00
Stanislav Shwartsman
53d4ce5260 Bochs boots with seabios now, think of adding seabios.bin into distribution ... 2010-04-02 18:12:47 +00:00
Stanislav Shwartsman
f0f9f7f5ea update CHANGES 2010-04-02 17:22:11 +00:00
Stanislav Shwartsman
87ad43d25a handle DMA when halted as well 2010-04-02 17:15:14 +00:00
Stanislav Shwartsman
8260358afe removed redundant check 2010-04-02 16:56:59 +00:00
Stanislav Shwartsman
7080435433 VMX compilation fix 2010-04-02 08:03:04 +00:00
Stanislav Shwartsman
d06b3ffe13 compilation fix 2010-04-02 08:00:57 +00:00
Stanislav Shwartsman
929ea0e071 update VMX msrs + bugfix in VMENTRY capabilities MSR 2010-04-01 21:32:25 +00:00
Stanislav Shwartsman
b049646621 compilation fix for x86_64 disable 2010-04-01 20:53:55 +00:00
Stanislav Shwartsman
a625abaaf0 small fixes 2010-04-01 20:08:57 +00:00
Stanislav Shwartsman
585cc3492b paging similication 2010-04-01 20:06:09 +00:00
Stanislav Shwartsman
5c23538d94 redundant ifdef 2010-04-01 12:32:11 +00:00
Stanislav Shwartsman
9224bf60aa paging phase 3 2010-04-01 12:23:52 +00:00
Stanislav Shwartsman
6f7b68e1ca paging redo - step2 2010-04-01 11:53:22 +00:00
Stanislav Shwartsman
3a2fbd0aae VMREAD for APIC virtualization 2010-04-01 11:43:45 +00:00
Stanislav Shwartsman
1b24ebe9bb paging anti-code-duplication, phase1 2010-04-01 05:26:20 +00:00
Stanislav Shwartsman
24bd0399d2 fixed dbg paging lookup 2010-03-31 14:17:51 +00:00
Stanislav Shwartsman
62d316e5cf fix 2010-03-31 14:03:07 +00:00
Stanislav Shwartsman
6d01eb5c1f announce (not implement yet) PCID 2010-03-31 14:00:46 +00:00
Stanislav Shwartsman
4560eaab97 fxsave enable 2010-03-30 18:16:48 +00:00
Stanislav Shwartsman
2efb11f2bc fixes 2010-03-30 18:12:19 +00:00
Stanislav Shwartsman
2614b3ca2f continue NX fix 2010-03-30 16:56:41 +00:00
Stanislav Shwartsman
845af0dc24 decode fix 2010-03-30 16:39:57 +00:00
Stanislav Shwartsman
26688136a7 bugfix 2010-03-30 15:01:09 +00:00
Stanislav Shwartsman
fcab6f13e6 improved debug print 2010-03-29 08:29:14 +00:00
Stanislav Shwartsman
33262356ec small optimization 2010-03-27 16:30:01 +00:00
Stanislav Shwartsman
6280a9560f bugfixes for luvalley boot 2010-03-27 11:14:19 +00:00
Stanislav Shwartsman
2f01469007 fix 2010-03-27 10:42:43 +00:00
Stanislav Shwartsman
6ac1bdcbdf apic_dest_t as datatype 2010-03-27 09:56:30 +00:00
Stanislav Shwartsman
e7933d9dc2 enable EFER_MSR VMX controls 2010-03-27 09:27:40 +00:00
Stanislav Shwartsman
dc732f21bc MSR_PAT VMX support 2010-03-26 21:26:08 +00:00
Stanislav Shwartsman
23927343d5 convert apic id to 32-bit -> pilot before x2apic merge
no functional change supposed to be seen yet
2010-03-26 13:00:14 +00:00
Stanislav Shwartsman
01d88bc155 minimize diff with x2apic patch 2010-03-26 11:17:02 +00:00
Stanislav Shwartsman
a220edc5bb compile fixes 2010-03-26 11:09:12 +00:00
Stanislav Shwartsman
cceb0a5a17 invept/invvpid disasm 2010-03-26 10:39:40 +00:00
Stanislav Shwartsman
64e9ff6aff add PDPTRS into param tree 2010-03-25 22:04:31 +00:00
Stanislav Shwartsman
c3afd368ef checkPDPTR in task switch 2010-03-25 21:57:26 +00:00
Stanislav Shwartsman
f675bb852c setCR3 change 2010-03-25 21:39:34 +00:00
Stanislav Shwartsman
2279b770e2 setCR3 change 2010-03-25 21:38:33 +00:00
Stanislav Shwartsman
f5ce2a7639 split crreg access functions to separate file 2010-03-25 21:33:07 +00:00
Stanislav Shwartsman
35f47968d9 fix 2010-03-24 21:26:13 +00:00
Stanislav Shwartsman
88c1d0252d update CHANGES 2010-03-23 19:59:34 +00:00
Stanislav Shwartsman
4400edc746 fix for 2795115 NX fault could be missed 2010-03-23 19:58:20 +00:00
Stanislav Shwartsman
bfde54f9ca FPREM/FPREM1 fix 2010-03-22 22:11:00 +00:00
Stanislav Shwartsman
e757d6d030 x87 fixes 2010-03-22 18:09:40 +00:00
Stanislav Shwartsman
d9574caafe Return max standard not max extended leaf.
- Sebastian
2010-03-21 20:52:36 +00:00
Stanislav Shwartsman
674724122a bugfix 2010-03-21 20:03:17 +00:00
Stanislav Shwartsman
d8f65d66e0 IDIV64 fix 2010-03-21 06:53:14 +00:00
Stanislav Shwartsman
b47c493388 fixes 2010-03-20 13:58:02 +00:00
Stanislav Shwartsman
15cba8d09a fail on obviosly not-supported MSRs 2010-03-19 21:04:00 +00:00
Stanislav Shwartsman
da656bf93d optimization for paging disable mode + preparing for future 2010-03-19 17:00:05 +00:00
Stanislav Shwartsman
f53a54a5e2 fix 2010-03-19 15:07:04 +00:00
Stanislav Shwartsman
9147ac4b63 MOVMSKPD/PS fix 2010-03-19 14:43:13 +00:00
Stanislav Shwartsman
11c4223519 fix 2010-03-19 11:38:21 +00:00
Stanislav Shwartsman
c4412bf357 movdq2q fix 2010-03-19 10:44:02 +00:00
Stanislav Shwartsman
e88e168081 bswap undefined behavior 2010-03-19 10:00:48 +00:00
Stanislav Shwartsman
af27d82b66 fixed IDIV result corruption 2010-03-18 22:19:10 +00:00
Stanislav Shwartsman
d0bd30e4b9 optimization 2010-03-18 15:19:16 +00:00
Stanislav Shwartsman
78badcbde4 cleanup 2010-03-17 21:55:19 +00:00
Stanislav Shwartsman
6b230414a4 mini optimization 2010-03-17 21:08:21 +00:00
Stanislav Shwartsman
855c19e396 Limit max CPUID for WinNt fix 2010-03-17 20:25:13 +00:00
Stanislav Shwartsman
6b3c785b68 more like real hardware behaves 2010-03-16 21:09:11 +00:00
Stanislav Shwartsman
bc96e7e411 PANIC fix 2010-03-16 15:11:03 +00:00
Stanislav Shwartsman
f4e2801e13 compile err fix 2010-03-16 14:55:58 +00:00
Stanislav Shwartsman
79466dffe2 apic virtualization + vmx fixes 2010-03-16 14:51:20 +00:00
Stanislav Shwartsman
b8dfe6d9b1 assert check 2010-03-15 22:58:41 +00:00
Stanislav Shwartsman
d0e118a1d0 register new fields 2010-03-15 16:34:03 +00:00
Stanislav Shwartsman
514a375cc5 fix 2010-03-15 15:49:55 +00:00
Stanislav Shwartsman
f0ac7c576e enable secondary proc-based ctrls 2010-03-15 15:48:01 +00:00
Stanislav Shwartsman
1c6cc35b06 fixed TPR shadow 2010-03-15 14:18:36 +00:00
Stanislav Shwartsman
77b4c671b2 optimization 2010-03-15 13:57:12 +00:00
Stanislav Shwartsman
6134283932 vmx update 2010-03-15 13:54:54 +00:00
Stanislav Shwartsman
3b3b920795 vmx updates 2010-03-15 13:47:18 +00:00
Stanislav Shwartsman
3c1b8a63d7 VMX bugfix 2010-03-15 13:22:14 +00:00
Stanislav Shwartsman
9f25df5568 compile fix 2010-03-14 20:14:30 +00:00
Stanislav Shwartsman
ced1e41a9f code reorg 2010-03-14 16:02:42 +00:00
Stanislav Shwartsman
cffe32dd2c remove unused param from exception() call 2010-03-14 15:51:27 +00:00
Stanislav Shwartsman
36b0b3c682 compilation fixes 2010-03-13 21:06:56 +00:00
Stanislav Shwartsman
97b4155f31 VMX_MSR_MISC implemented 2010-03-12 21:20:42 +00:00
Stanislav Shwartsman
cc509ff454 fix 2010-03-12 20:59:05 +00:00
Stanislav Shwartsman
6dd9c7d5f5 ifdef 2010-03-12 20:30:12 +00:00
Stanislav Shwartsman
a69d3b002c fixes 2010-03-12 11:42:34 +00:00
Stanislav Shwartsman
93be0a18e9 update Makefile.in 2010-03-12 11:38:12 +00:00
Stanislav Shwartsman
b6f8ccb91c missed include 2010-03-12 11:35:34 +00:00
Stanislav Shwartsman
380bf0f4d3 extra checkin to msr.cc 2010-03-12 11:30:04 +00:00
Stanislav Shwartsman
4ce211e358 MWAIT_IS_NOP option 2010-03-12 11:28:59 +00:00
Stanislav Shwartsman
173f4ed1f9 fixed perm check for MONITOR 2010-03-07 09:41:12 +00:00
Stanislav Shwartsman
ae005b5e32 fix 2010-03-07 09:22:20 +00:00
Stanislav Shwartsman
11de02bd89 MONITOR/MWAIT: rewritten MONITOR/MWAIT implementation from scratch 2010-03-07 09:16:24 +00:00
Stanislav Shwartsman
0ead9fe8ae new opcode grp 2010-03-07 08:08:40 +00:00
Stanislav Shwartsman
65a78f9887 dos2unix 2010-03-06 21:41:26 +00:00
Stanislav Shwartsman
7357d1664e fix 2010-03-06 17:09:25 +00:00
Stanislav Shwartsman
a217b7b08e fix 2010-03-06 17:07:25 +00:00
Stanislav Shwartsman
5d2c2879a7 IA32_FEATURE_CONTROL_MSR is implemented 2010-03-06 16:59:05 +00:00
Stanislav Shwartsman
ef4731ef49 bugfix 2010-03-06 07:00:05 +00:00
Stanislav Shwartsman
e5dc6c51a8 one more sanity check 2010-03-05 20:43:56 +00:00
Stanislav Shwartsman
13a602d069 fix undefined CPUID options when CPU_LEVEL is too small 2010-03-05 20:42:10 +00:00
Stanislav Shwartsman
538dc0577e INT1 should set EXT bit 2010-03-05 20:24:08 +00:00
Stanislav Shwartsman
a16eb3c4bf typo fix 2010-03-05 19:52:18 +00:00
Stanislav Shwartsman
23b1f058e0 fixes 2010-03-05 19:49:22 +00:00
Stanislav Shwartsman
895c6729eb cpuid debug info 2010-03-05 15:49:44 +00:00
Stanislav Shwartsman
51618b181c winxp doesn't want to boot with CPUID[0].EAX < 3 2010-03-05 15:19:15 +00:00
Stanislav Shwartsman
803e586a01 bugfix 2010-03-05 14:26:23 +00:00
Stanislav Shwartsman
189553d702 bugfix 2010-03-05 08:54:07 +00:00
Stanislav Shwartsman
4b53af902f change VMEXIT messages back to ERROR 2010-03-03 15:12:44 +00:00
Stanislav Shwartsman
14b578938d bugfixes and cleanups 2010-03-03 14:33:35 +00:00
Stanislav Shwartsman
105deb58bc typofix 2010-03-02 20:09:17 +00:00
Stanislav Shwartsman
c829df1f0a update CHANGES 2010-03-02 20:02:08 +00:00
Stanislav Shwartsman
da7812f90c long time goal: avoid using tmpcb variable! 2010-03-02 20:01:33 +00:00
Stanislav Shwartsman
9124f00645 Fixed format 2010-03-02 07:07:57 +00:00
Stanislav Shwartsman
d36e6d78e7 typo fix 2010-03-02 06:49:41 +00:00
Stanislav Shwartsman
d639cd88be report deprecated MMX option 2010-03-01 18:55:50 +00:00
Stanislav Shwartsman
01cfbdccbc Move MMX to be runtime option 2010-03-01 18:53:53 +00:00
Stanislav Shwartsman
160d4bbded Fixed typo 2010-03-01 17:35:49 +00:00
Stanislav Shwartsman
e3a13a7a55 Make XAPIC runtime option as well 2010-02-28 14:52:17 +00:00
Stanislav Shwartsman
3e1db66bc0 Fixed defaults for SSE option 2010-02-28 06:22:24 +00:00
Stanislav Shwartsman
fd0f428263 optimization 2010-02-26 23:09:30 +00:00
Stanislav Shwartsman
5b6a14656d Make XSAVE as runtime option 2010-02-26 22:53:43 +00:00
Stanislav Shwartsman
5df864b1f1 Move param_names.h into bochs root folder 2010-02-26 14:18:19 +00:00
Stanislav Shwartsman
84ba84ea9d updates 2010-02-26 12:10:17 +00:00
Stanislav Shwartsman
927c3594d6 enable compilation with CPU_LEVEL <= 6
converted SEP to runtime option as well
2010-02-26 11:44:50 +00:00
Stanislav Shwartsman
32e5f1ffc8 fixes 2010-02-25 22:44:46 +00:00
Stanislav Shwartsman
78a420faa1 first updates 2010-02-25 22:34:56 +00:00
Stanislav Shwartsman
033a20b3b2 allow to configure CPU features at runtime - implemened on example of SSE/AES/MOVBE/POPCNT 2010-02-25 22:04:31 +00:00
Stanislav Shwartsman
50eb55d0f2 introduce --enable-xapic configure option 2010-02-24 20:59:49 +00:00
Stanislav Shwartsman
b4db09c203 typo fix 2010-02-24 19:59:04 +00:00
Stanislav Shwartsman
59963e8b4d missed ; 2010-02-24 19:43:40 +00:00
Stanislav Shwartsman
8450728794 cleanup 2010-02-24 19:41:32 +00:00
Stanislav Shwartsman
70dc124b3a 1st step of moving CPU options to runtime 2010-02-24 19:27:51 +00:00
Stanislav Shwartsman
5a81abb795 code duplication fix 2010-02-21 18:23:50 +00:00
Stanislav Shwartsman
9268646239 cleanup and optimization 2010-02-21 06:56:48 +00:00
Stanislav Shwartsman
064dcf5d61 RPM preuninstall scriptlet removes /core - ID: 2955911 2010-02-21 06:38:21 +00:00
Stanislav Shwartsman
c201a53c76 cleanup and optimization 2010-02-15 14:04:48 +00:00
Stanislav Shwartsman
ef1dadcdd8 cleanup and optimization 2010-02-15 08:42:57 +00:00
Stanislav Shwartsman
440f9e0217 compilation err fix 2010-02-14 15:17:14 +00:00
Stanislav Shwartsman
bc7f9d4ced move boundaryFetch to another file 2010-02-13 10:35:51 +00:00
Stanislav Shwartsman
11b7f83a93 rename trace ilen to tlen 2010-02-13 09:41:51 +00:00
Stanislav Shwartsman
f227349fa6 BX_SUPPORT_SMP is getting used before that define is defined. 2010-02-12 10:42:57 +00:00
Stanislav Shwartsman
c701b10a68 Fixed non-rpintable character 2010-02-11 22:12:17 +00:00
Stanislav Shwartsman
eb13ccdb10 extra vmexit info for ins/outs 2010-02-11 14:19:11 +00:00
Stanislav Shwartsman
c322f07be9 bugfix 2010-02-11 08:06:25 +00:00
Stanislav Shwartsman
5f89b554aa split few more opcodes 2010-02-10 17:21:15 +00:00
Volker Ruppert
348d36ce80 - regenerated 2010-02-09 23:51:01 +00:00
Stanislav Shwartsman
81350b3df1 don;t fail on magic_break configure option when debugger isn't compiled in 2010-02-09 22:14:54 +00:00
Stanislav Shwartsman
2bc3d23464 CPU features set should be runtime options - could be done for most of the CPU stuff without emulation slowdown at all.
So the TODO entry isn't relevant ...
2010-02-09 21:55:08 +00:00
Stanislav Shwartsman
bd9e7d3a1f The default i440_pcidev values represent a valid bus and devfn. Set it to invalid values to make failed detection noticable.
- Sebastian
2010-02-09 21:23:17 +00:00
Stanislav Shwartsman
08aa9fef6d disasm updates 2010-02-09 20:28:12 +00:00
Stanislav Shwartsman
c841eaa953 fixes and cleanups in disasm and decoder 2010-02-09 19:44:25 +00:00
Stanislav Shwartsman
63140a9c57 rombios32.o should depend on rombios.h.
- Sebastian
2010-02-08 21:25:35 +00:00
Stanislav Shwartsman
27d82f8856 Init PIC on CMOS shutdown status 05h. Should fix bug #2734455.
- Sebastian
2010-02-08 20:56:55 +00:00
Stanislav Shwartsman
7f7b2cfcf0 cleanup 2010-02-08 15:22:53 +00:00
Stanislav Shwartsman
3974c44800 new files 2010-02-08 15:13:39 +00:00
Stanislav Shwartsman
8330354f67 split disasm to more files 2010-02-08 15:11:58 +00:00
Stanislav Shwartsman
be646e042b cleanup 2010-02-08 14:54:26 +00:00
Stanislav Shwartsman
55ee809cf7 fix warning 2010-02-08 14:53:31 +00:00
Stanislav Shwartsman
4882aa035a fix 2010-02-08 14:28:20 +00:00
Stanislav Shwartsman
94a00978f7 Fixed bug in task_switch logic 2010-02-08 14:22:39 +00:00
Stanislav Shwartsman
a2a080894b split fetchdecode.h for better readability 2010-02-08 10:39:30 +00:00
Stanislav Shwartsman
9d934cb989 small updates 2010-02-06 20:52:27 +00:00