Commit Graph

5784 Commits

Author SHA1 Message Date
Volker Ruppert
6ca6b46203 - failure handling for save/restore added 2006-05-28 16:39:25 +00:00
Volker Ruppert
2b72920cb6 - updated save/restore stuff in the win32 runtime dialog 2006-05-28 08:49:20 +00:00
Stanislav Shwartsman
8ed9a2fa4e Use MAX_LFV_ENTRIES constant 2006-05-27 21:44:40 +00:00
Stanislav Shwartsman
938d9c1cbb Change format for 64-bit param print 2006-05-27 21:37:36 +00:00
Stanislav Shwartsman
42e3ebff54 Update CHANGES 2006-05-27 20:29:11 +00:00
Volker Ruppert
747d6f429b - changes updated 2006-05-27 18:34:20 +00:00
Volker Ruppert
4e0dad5c2f - removed unused save/restore declaration 2006-05-27 17:50:29 +00:00
Stanislav Shwartsman
0977bef9a2 Fix compilation err for x86-64 2006-05-27 16:05:30 +00:00
Stanislav Shwartsman
8b0df8e99b Merge SAVE_RESTORE branch to CVS 2006-05-27 15:54:49 +00:00
Stanislav Shwartsman
7c1767d17a Partial sync with save-restore 2006-05-27 14:02:34 +00:00
Stanislav Shwartsman
65e0fea773 functionally nothing changed 2006-05-26 17:24:36 +00:00
Stanislav Shwartsman
a4129e5341 Handle NULL_SEG_REG (no segment override) case in fetchdecode.cc 2006-05-24 20:57:37 +00:00
Stanislav Shwartsman
1acdb7f274 Simplify CPU loop and fix compilation error 2006-05-24 16:46:57 +00:00
Stanislav Shwartsman
c120d5dc70 remove unused and not required apic vars 2006-05-23 16:42:50 +00:00
Stanislav Shwartsman
6a22aa2328 Partially sync from save/restore branch 2006-05-22 21:29:54 +00:00
Stanislav Shwartsman
a010cfb8ca Fix amount of XMM registers in non-x86-64 mode 2006-05-22 21:17:27 +00:00
Volker Ruppert
837d104770 - unicode fixes in the wx debugger 2006-05-22 16:35:03 +00:00
Stanislav Shwartsman
8b55085c76 Merge tss286 and tss386 segment descriptor cache fields to one structure 2006-05-21 20:41:48 +00:00
Stanislav Shwartsman
d00b2dec1d LDTR and TR type check in assert_check 2006-05-21 19:31:23 +00:00
Stanislav Shwartsman
462e8c9447 Fix 'instrument stop' command 2006-05-21 16:48:05 +00:00
Stanislav Shwartsman
73e1266cbe Add CR0 consistency checks and CS.L/CS.D consistency check
Optimize icache writestamps - 2x more space to decrement for page-write-stamp
2006-05-19 20:04:33 +00:00
Stanislav Shwartsman
274e17a1fc Remove unneeded function 2006-05-18 20:16:15 +00:00
Stanislav Shwartsman
8db5723921 Wow, I forgot to commit this change for NullTimer fixes ! 2006-05-18 19:57:11 +00:00
Stanislav Shwartsman
99406e5f56 revert last change in pc_system.cc 2006-05-18 18:08:30 +00:00
Michael Brown
26056d930c The debugger can call activate_timer() on arbitrary timers, including
timer 0, so it should not be a fatal error.  Attempting to register,
unregister or deactivate timer 0 is still an error.
2006-05-18 13:42:22 +00:00
Stanislav Shwartsman
8db1de7124 - Fixed several issues, each cause to NullTimer function never be called, the method is required for icache correct functionalit
- Speed-up icache by correct purging of Icache entries
- Several new assertions for timers, to prevent bugs in future
2006-05-16 20:55:55 +00:00
Stanislav Shwartsman
7acb46cd3d Small cleanup in cpu.cc 2006-05-16 16:47:00 +00:00
Stanislav Shwartsman
16713b309d PALIGNR fixed 2006-05-16 16:20:26 +00:00
Stanislav Shwartsman
7c2c9c41e8 Remove unused CPU vars 2006-05-15 18:00:55 +00:00
Stanislav Shwartsman
26bb9e2716 Enable SEP by default for PII processor (P6+MMX) 2006-05-15 17:40:16 +00:00
Volker Ruppert
817b85045e - fixed sharing of growing harddisk images between Windows and Linux caused by
different data alignment. Added a reserved 32-bit field and changed header
  version to 2.0. The hdimage code can still handle version 1.0 images.
2006-05-14 21:15:33 +00:00
Stanislav Shwartsman
8a925c1522 Removed file until permission from ASUS (again) 2006-05-14 17:42:06 +00:00
Volker Ruppert
6a299e61a7 - get rid of the unused description field of shadow bool and data parameters
(new/modified constructor)
- new constructor for bx_list_c objects without title
- shadow parameter bitmasks fixed
- functions bx_sr_before_save_state() and bx_sr_after_restore_state() prepared
- ne2k.cc: reset behaviour fixes
- sb16: some variable types changed
2006-05-14 15:47:37 +00:00
Volker Ruppert
0a953ffa75 - updated CVS server name (new SF CVS infrastructure) 2006-05-14 09:16:29 +00:00
Stanislav Shwartsman
f4c7b4074e Support for x86-64 in x86 debugger (DR0-DR7) 2006-05-13 12:49:45 +00:00
Stanislav Shwartsman
9a32d0e98f Optimize debug registers handling 2006-05-13 12:29:12 +00:00
Stanislav Shwartsman
fc799ab623 FetchDecode tables are constant. Marking them const implicitly will help to compiler/linker in optimization. 2006-05-12 18:03:26 +00:00
Stanislav Shwartsman
fe644dfcbf - Code cleanup, remove x86-64 code from functions which cannot be called from x86-64
- Fix PANIC multiple SSE prefix decoding (fetchdecode and disasm)
- More Bit32u -> bx_phy_address convert
- Lazy flags optimization
2006-05-12 17:04:19 +00:00
Stanislav Shwartsman
b0e49a9a05 Warn if somebody used BSWAP with 16-bit opsize (behavior undefined) 2006-05-07 20:56:40 +00:00
Stanislav Shwartsman
91ada6c72c Separate RepeatSpeedups code in io.cc to stand-alone CPU methods
FestRepINSW and FastRepOUTSW similar to that is done in string.cc
Done to simplify the code, it was just impossible to understand it.
2006-05-07 20:45:42 +00:00
Stanislav Shwartsman
784b6dcc05 Update recent CPU CHANGES 2006-05-07 19:19:55 +00:00
Stanislav Shwartsman
4d1a609c8c BSWAP 16-bit mode not exists, correctly disasm this case 2006-05-07 19:12:56 +00:00
Stanislav Shwartsman
20b14aefa6 Fix in BSWAP 64-bit mode - allow to use additional R8-R15 registers
Also fixed code duplication story with BSWAP instruction
2006-05-07 18:58:47 +00:00
Stanislav Shwartsman
d69eba6c07 Split in/out instructions based on operand size 2006-05-07 18:27:36 +00:00
Volker Ruppert
96463c44d4 - APM cpu idle function fixed (from qemu) 2006-05-07 10:40:53 +00:00
Volker Ruppert
8f16594a42 - unicode fix for the BX_SHOW_IPS feature 2006-05-07 09:49:16 +00:00
Volker Ruppert
a419ec3423 - fixed busmouse usage (wrong parameter) 2006-05-07 09:34:51 +00:00
Stanislav Shwartsman
ae6c38b202 Style and TAB2SPACE changes 2006-05-06 15:19:57 +00:00
Stanislav Shwartsman
767fb77ebd Fully handle segment limits inside prefetch method.
1. Should speed up the simulation (eliminate seg.limit check per every instruction exec)
2. Should help for DT (h.johansson request)
2006-05-04 19:54:25 +00:00
Volker Ruppert
9340f3b3f8 - partial sync with BRANCH_SAVE_RESTORE_3 (hardware save/restore not present yet)
* changed data format of text files for save/restore (looks like C/C++ structures,
    similar to the format used in old save/restore branches)
  * don't set the initial value of shadow bool parameters
  * don't set the initial value of bool parameters twice
  * cpu/init.cc: missing #undef added
  * ne2k.cc: variable tx_timer_active was never set to 1 (type now bx_bool)
  * floppy.cc: missing initialization of the 'eot' array in reset() added
  * pic.h: type of member 'byte_expected' changed to Bit8u
  * pit_wrap.h: unused members removed
2006-05-01 18:24:47 +00:00