Stanislav Shwartsman
f12396566c
added CR8 to control registers print in debugger
2012-06-28 18:27:26 +00:00
Volker Ruppert
9ead528c5a
- recompiled after latest changes
2012-06-28 15:20:15 +00:00
Stanislav Shwartsman
2e9f5570d9
SF BOS patches:
...
- Basic low-level function optimization
- Optimization of bios_printf() and removal of put_int()
- Optimization of timer_tick_post
2012-06-28 11:02:39 +00:00
Stanislav Shwartsman
3415f7bb0f
add XD bit to page attributes print
2012-06-28 10:59:30 +00:00
Stanislav Shwartsman
79628a2f4f
fixed VME corner case
2012-06-27 15:09:10 +00:00
Volker Ruppert
d1fe267313
- updates
2012-06-26 20:02:09 +00:00
Volker Ruppert
1cd90a06c6
- implemented absolute x/y mouse position mode in the wx gui
...
- fixed cursor show / hide functions in wxMSW
2012-06-26 19:48:28 +00:00
Volker Ruppert
216ee2aa09
- implemented absolute x/y mouse position mode in the win32 gui
2012-06-25 20:08:52 +00:00
Volker Ruppert
b0ece1d1ea
- implemented absolute x/y mouse position mode in the rfb gui
...
- sdl / x11: fixed calculation of absolute x/y values
- x11: update "warp home" position after resize
2012-06-25 17:26:36 +00:00
Stanislav Shwartsman
4c38969ef0
fixed uninitialized variables
2012-06-24 17:52:45 +00:00
Stanislav Shwartsman
77bbea504c
merged compilation patch by Sebastian, update closed bugs in CHANGES
2012-06-24 17:42:24 +00:00
Volker Ruppert
1de1f06952
- implemented absolute x/y mouse position mode in the SDL gui
...
- converted tabs to spaces and small cleanup
2012-06-24 10:38:46 +00:00
Volker Ruppert
aba8372a78
- function InitDebugDialog() is optimized out by GCC when compiling with plugins
...
enabled (not called internally). Added new gui method init_debug_dialog() and
call it from there.
- fixed typo in enh_dbg.cc
2012-06-24 09:14:43 +00:00
Volker Ruppert
a9f27d029c
- implemented absolute x/y mouse position mode in the X11 gui
...
- minor fixes in the USB tablet HID report descriptor
2012-06-24 07:43:36 +00:00
Stanislav Shwartsman
c6ea1482b0
added ifdef
2012-06-24 07:16:14 +00:00
Stanislav Shwartsman
60ceffc5d1
fixed SF bug [3537473] GUI debugger only shows 32-bit CRx registers in x86-64 mode
2012-06-24 07:06:31 +00:00
Stanislav Shwartsman
48ae41a2fd
fixed MASKMOVDQU SSE instruction to match hardware
2012-06-23 16:25:52 +00:00
Volker Ruppert
9189105a0b
- prepared support for sending absolute x/y values from the gui to the mouse emulation
...
- new gui method set_mouse_mode_absxy() should switch the gui to absolute
x/y mode
- new DEV_mouse_motion() argument 'absxy' indicates whether or not the gui
sends absolute x/y values
- USB tablet code prepared to use the new feature
- TODO: implement this feature for each gui (sdl, win32, wx, x, ...)
2012-06-21 17:33:37 +00:00
Volker Ruppert
40f33ff8c2
- don't clear pending interrupt bits when setting the new status
2012-06-21 17:06:57 +00:00
Stanislav Shwartsman
515d8b5c25
add new instrumentation callbacks for physical memory access from CPU
2012-06-18 11:41:26 +00:00
Volker Ruppert
05fe85659a
- fixed and improved IRQ handling (ported update_irq() function from Qemu)
2012-06-17 07:14:27 +00:00
Stanislav Shwartsman
42347a26ee
fixed dbg print format
2012-06-15 14:17:17 +00:00
Stanislav Shwartsman
df57bfdc00
update CHANGES
2012-06-14 19:00:53 +00:00
Stanislav Shwartsman
720a9b2fb7
fixed 64-bit segment print from internal debugger
2012-06-14 18:56:47 +00:00
Volker Ruppert
02749956e0
- mention SDL audio output support in the docs
2012-06-10 13:47:07 +00:00
Volker Ruppert
af960685d9
- added SDL sound support (wave output only)
2012-06-09 10:12:34 +00:00
Volker Ruppert
095fd7d18a
- added SDL sound support (wave output only)
2012-06-09 10:12:05 +00:00
Volker Ruppert
3a4c3e9d54
- added method to return the type of the lowlevel sound module and use it to
...
check if a sleep / delay call is rquired in the beep generator
- preparing SDL sound support
2012-06-08 20:49:39 +00:00
Stanislav Shwartsman
171d400bd8
GATHER: update gather mask handling to match latest Intel SDM definition
...
Fixes in x86 HW breakpoint handling
2012-06-06 14:01:45 +00:00
Stanislav Shwartsman
6782efde05
correctly initialize lazy flags on reset
2012-06-05 20:53:22 +00:00
Stanislav Shwartsman
832d3a09a3
compile fix for SMP disable
2012-06-05 11:42:07 +00:00
Stanislav Shwartsman
a604818ecf
fixed another valgrind issue
2012-06-05 11:40:59 +00:00
Stanislav Shwartsman
efcca3e9d4
fixup VCVTPH2PS instruction implementation to match published Intel SDM
2012-06-05 11:36:50 +00:00
Stanislav Shwartsman
85e30bd410
remove unused configure check for struct timeval
2012-06-04 20:26:00 +00:00
Stanislav Shwartsman
37e193d49c
clean one more valgrind issue
2012-06-04 19:21:23 +00:00
Stanislav Shwartsman
7a02dd759d
added PANIC in x.cc in case it can't open display
2012-06-04 19:03:05 +00:00
Stanislav Shwartsman
5192d09655
fixed some more valgrind issues
2012-06-04 18:46:07 +00:00
Stanislav Shwartsman
7bae496840
fixed valgrind issues in apic initialization and generic cpuid reported in SF bug report
2012-06-04 14:27:34 +00:00
Stanislav Shwartsman
bd6330d480
small optimization for debugger
2012-06-03 18:46:20 +00:00
Stanislav Shwartsman
0eef00bb59
SSE: fixed missed unmasked undeflow issues
2012-06-02 11:36:17 +00:00
Stanislav Shwartsman
321cb7e9fc
SSE: raise underflow exception when adding denormal and zero values when underflow is unmasked (partially fixes missed undeflow problem)
2012-06-01 14:35:31 +00:00
Stanislav Shwartsman
2ee3386c37
cpu bugfixes
2012-05-31 14:25:49 +00:00
Volker Ruppert
262b994f41
- added missing files / directories to target 'dist-clean'
...
- iodev makefile: updated dependencies
2012-05-27 20:11:37 +00:00
Stanislav Shwartsman
f528290652
fixed bug EPT Access Dirty support
2012-05-27 19:17:13 +00:00
Stanislav Shwartsman
36ca7995af
update CHANGES
2012-05-26 19:40:18 +00:00
Volker Ruppert
5c0bd188ed
- check the beep output interface and report the one to be used in the reset()
...
method. This makes sure that the lowlevel sound interface is reported correctly.
2012-05-24 18:06:40 +00:00
Stanislav Shwartsman
88cc825040
allow 1-byte and 2-byte writes to I/O APIC index register
2012-05-22 14:48:48 +00:00
Volker Ruppert
f4134d5d29
- implemented pc speaker beep in the lowlevel sound module for win32
...
- improved square wave generator code
2012-05-21 18:45:09 +00:00
Stanislav Shwartsman
8e7f582bc3
correct init.cc fix - copy/paste issue
2012-05-20 19:02:29 +00:00
Stanislav Shwartsman
3f32517201
small fix for save/restore
2012-05-20 18:58:57 +00:00
Stanislav Shwartsman
eac0991fe1
fixed compilation err with lowlevel sound disabled
2012-05-20 18:58:08 +00:00
Volker Ruppert
bb790d2f15
- implemented pc speaker beep in the lowlevel sound module using pthreads
...
- TODO: win32 threads support
2012-05-20 17:23:07 +00:00
Volker Ruppert
076c8ff966
- implemented pc speaker beep in the lowlevel sound module using pthreads
...
- TODO: win32 threads support
2012-05-20 17:22:50 +00:00
Volker Ruppert
d6e7be922b
- prepared pc speaker beep support in the lowlevel sound module
...
- sound devices: moved wave output init to the init() method (required for
beep support)
- TODO: implement beep using a separete thread
2012-05-20 14:19:49 +00:00
Stanislav Shwartsman
f9540f1c24
- Improved CPU status restore after restoring from Bochs saved image
...
- Changed many BX_ERROR messages about VMX VMEXIT takesn to BX_DEBUG
2012-05-19 20:36:40 +00:00
Stanislav Shwartsman
2644ef5f63
another had_vex/had_xop fix
2012-05-19 19:46:10 +00:00
Stanislav Shwartsman
59eb1318d5
small fix
2012-05-19 19:38:57 +00:00
Volker Ruppert
89f716f599
- removed unused case with virtual timer support disabled
...
- TODO: rewrite virtual timer code to have both modes (normal and realtime)
available at the same time
2012-05-17 09:11:48 +00:00
Volker Ruppert
27fdc3cd45
- added new parameter 'rtc_sync' for the 'clock' option. If this option is
...
enabled together with the realtime synchronization, the RTC runs at realtime speed.
2012-05-15 17:03:45 +00:00
Volker Ruppert
4e95f44873
- added missing MADT interrupt source override and fixed MP table
...
(patches by Sebastian Herbszt)
2012-05-13 20:07:32 +00:00
Volker Ruppert
7b51b829f5
- added missing MADT interrupt source override and fixed MP table
...
(patches by Sebastian Herbszt)
2012-05-13 20:06:51 +00:00
Volker Ruppert
f4efb6f248
- discard "eh_frame" (compilation fix from Debian patches)
2012-05-12 22:25:09 +00:00
Stanislav Shwartsman
ffc5e4bf2d
optimize x2apic reg write
2012-05-12 19:07:18 +00:00
Stanislav Shwartsman
08d4655886
X2APIC: incorrect write to self IPI X2APIC register (with reserved bits set) should not trigger the self IPI
2012-05-12 12:49:05 +00:00
Stanislav Shwartsman
3e35d5b6ce
update CHANGES
2012-05-12 11:59:21 +00:00
Stanislav Shwartsman
4a22693deb
enable back the timer IRQ fix. TODO: ACPI MADT support is still required
2012-05-12 11:55:38 +00:00
Stanislav Shwartsman
03162d86f5
LAPIC: fixed timer interrupts after reloading of LAPIC Timer Divide Configuration register
2012-05-12 11:52:29 +00:00
Volker Ruppert
3202afb48e
- show ips feature: disable alarm timer on simulation exit to avoid wxBochs
...
process termination
2012-05-12 09:32:09 +00:00
Stanislav Shwartsman
9ea0987396
fixed send_ipi case in x2apic
2012-05-12 08:07:30 +00:00
Volker Ruppert
a925a07c3b
- cmos: added debug_dump()
2012-05-12 07:27:49 +00:00
Volker Ruppert
a8f899b0a9
- attempt to fix unsafe sprintf() calls in the show_ips code (sdl, wx, x)
...
- implemented "hideIPS" option in sdl and wx
2012-05-11 16:17:59 +00:00
Stanislav Shwartsman
6180a0a733
remove unused leafs from generic_cpuid
2012-05-11 06:51:04 +00:00
Stanislav Shwartsman
b5c5082ff2
Completely remove b1() field from bxInstruction structure and resuse it for AVX instructions flags.
...
the iaOpcode field has no masking anymore.
fixed bug during the code reorganization:
+ XOP: Fixed instructions with operands order depending on VEX.W (fixed VEX.W read from instruction object)
2012-05-11 06:35:16 +00:00
Volker Ruppert
e17000ef68
- changed format of PCI config space dump (16 values per line)
2012-05-08 19:04:35 +00:00
Volker Ruppert
53e1a5d204
- fixed typo (file names are case sensitive on Linux and others)
2012-05-08 18:33:26 +00:00
Stanislav Shwartsman
f01e5f3e11
removed b1() from shift methods in CPU - lead to removal of b1() field from bxInstruction_c
2012-05-08 16:42:15 +00:00
Stanislav Shwartsman
708fc666c8
Added Corei7 ivyBridge configuration to CPUDB
2012-05-07 12:31:22 +00:00
Stanislav Shwartsman
55e21bedcb
fixed possible rombios bug - according to comment in Bochs-Devs mailing list by David Laight
2012-05-06 19:36:41 +00:00
Stanislav Shwartsman
1ab623536c
optimize harddrv code
2012-05-06 19:19:00 +00:00
Stanislav Shwartsman
9d802e2762
very small cleanup
2012-05-05 18:40:37 +00:00
Volker Ruppert
62de4d9178
- speaker should only beep if both bit #0 and #1 of port 0x61 are set
...
- fixed possible division by zero when calculating beep frequency (counter value
0x0000 means 0x10000)
- small code cleanup
- TODO: implement beep generator in the lowlevel sound interaface
2012-05-03 19:45:06 +00:00
Stanislav Shwartsman
2188322ab3
fixed CR8 SVM intercepts
2012-05-03 16:12:58 +00:00
Stanislav Shwartsman
39c14ef0d1
Implemented EPT A/D extensions support.
...
Bochs is fully aligned with the latest published revision of
Intel Architecture Manual (revision 043) now.
2012-05-02 18:11:39 +00:00
Volker Ruppert
af74c6df44
- added devices ES1370 and E1000 to shortcut scripts (known to work with Linux
...
and WinXP guests)
- TODO: USB xHCI could also be added, but more tests are required
2012-05-01 18:03:43 +00:00
Volker Ruppert
378f8a04a6
- pit: added debug_dump()
...
- pit82c54: modified print_counter() for debugger usage
2012-05-01 15:53:28 +00:00
Stanislav Shwartsman
1f150d4399
update configuration examples in .bochsrc
2012-04-30 14:46:00 +00:00
Volker Ruppert
1462fcaf9c
- pci2isa debug_dump(): added option 'dump=full' to show the whole PCI config space
...
- updated debugger documentation
2012-04-25 16:50:41 +00:00
Volker Ruppert
bea07c65b1
- regenerated parser files
2012-04-24 17:50:41 +00:00
Volker Ruppert
a11e5713d7
- updated help texts
2012-04-24 17:48:38 +00:00
Stanislav Shwartsman
e1611e717e
Implemented feature request:
...
[3519794] debugger's ability to save physical/linear memory dumps
2012-04-24 11:01:59 +00:00
Stanislav Shwartsman
8871aa5da3
removed unused variable - fixing gcc warning
2012-04-23 18:52:11 +00:00
Volker Ruppert
6428ce38be
- updated generated lexer and parser files
2012-04-23 17:13:23 +00:00
Volker Ruppert
f65c4e66b8
- debugger command 'info device': implemented support for additional arguments
...
- ne2k: replaced debugger command 'info ne2k' completely by a new version based
on 'info device' with additional arguments and removed all of the now obsolete
stuff (ne2k device stub, macro for print_info())
- pci: added option 'dump=full' for the debugger command 'info device' to show
the whole PCI config space
- TODO: some other devices could have support for additional options in
debug_dump()
2012-04-23 17:06:19 +00:00
Stanislav Shwartsman
d71ed03ba1
fixed buffer overflow in serial.cc
2012-04-21 18:13:10 +00:00
Volker Ruppert
d364f22c3c
- don't panic in debugger if the iodebug plugin is not loaded
...
- iodebug: fixed some warnings
- development.dbk: updated iodebug documentation
2012-04-19 18:03:13 +00:00
Stanislav Shwartsman
32be4c9b61
fix .bochsrc example
2012-04-18 18:30:00 +00:00
Volker Ruppert
bdfe4ae1bb
- added debug_dump() (prints the same as 'info ne2k' without arguments)
...
- removed FILE parameter from print_info() (unused - since dbg_printf() doesn't
need it)
- converted tabs to spaces
- TODO: implement 'info device' with optional arguments to get rid of the
print_info() method
2012-04-18 17:03:00 +00:00
Stanislav Shwartsman
07a50eac31
closing SF bug #3518753 : update dump after manual chages to memory contents
2012-04-17 14:32:57 +00:00
Stanislav Shwartsman
e12494bf7b
fixed segfault when setting ESP/EIP in GUI debugger
2012-04-16 19:18:23 +00:00
Volker Ruppert
99a31bd150
- devices 'parallel' and 'serial':
...
- added to optional plugin control
- moved config parameter creation and bochsrc option parsing to the plugin
device code
2012-04-16 19:17:10 +00:00