Commit Graph

5473 Commits

Author SHA1 Message Date
Volker Ruppert
8f8c4db97d - report selected multiword DMA mode in the 'identify device' block
- set initial and reset value of multiple sector count to 0
- abort multi sector read/write commands if multiple sector count is not valid
2006-07-19 19:18:42 +00:00
Volker Ruppert
92412a3fee - multi sector read/write commands implemented
- ATA command 'set multiple mode' fixed (missing interrupt and value check)
- hard disk sector read/write rewritten and simplified
- hard disk now reporting ATA-3 supported
- updated drive buffer size for save/restore
2006-07-17 18:40:26 +00:00
Volker Ruppert
a7d0cd73e0 - updated for release 2.3.pre2 2006-07-16 08:06:54 +00:00
Volker Ruppert
13fb08efed - updates for release 2.3.pre2 2006-07-16 08:05:39 +00:00
Volker Ruppert
d18be4f084 - ATA command 'read multiple sectors' prepared (not working properly with Linux
guest and some work in the hdimage code is required)
2006-07-14 17:23:58 +00:00
Volker Ruppert
10a49f6d1c - fixed implementation of the ATA command "set multiple mode" (TODO: multi sector
read/write commands)
- prepared i/o buffer for multi sector transfers
- power management commands "standby now" and "idle immediate" now returning success
2006-07-13 17:34:44 +00:00
Volker Ruppert
49f2340001 - improved save/restore documentation 2006-07-11 22:17:28 +00:00
Volker Ruppert
139ea79c70 - fixed VBE y offset check (add x offset to start address after check) 2006-07-11 07:49:23 +00:00
Volker Ruppert
60fab95d08 - fixed calculation of VBE screen height after changing virtual width
- setting VBE screen start causes now a panic if the bottom of the screen
  would be outside of video memory
- improved VBE debug messages
2006-07-08 13:05:50 +00:00
Volker Ruppert
d9be51128b - fixed ATA device detection in case of one drive only connected to controller
- applied patch from the qemu project (Fabrice Bellard)
  * improved INT 15h function AX=E820h
  * real mode PCI BIOS now returns IRQ routing information (function 0Eh)
2006-07-07 16:11:06 +00:00
Volker Ruppert
aeaff883b7 - enable interrupts before executing INT 19h and revert previous change 2006-07-06 07:28:08 +00:00
Volker Ruppert
4a5d4ad80a - enable interrupts before executing boot sector code (untested) 2006-07-05 09:20:31 +00:00
Stanislav Shwartsman
f39abc9b65 Fix for bug
[ 1513544 ] disasm of 0xec (in AL,DX) returns ilen of 2 instead of 1
2006-06-27 19:26:53 +00:00
Stanislav Shwartsman
45353d5e6f Fixed DR registers handling in x86-64 mode 2006-06-26 21:07:44 +00:00
Stanislav Shwartsman
caee480547 Fixed DR registers disasm 2006-06-26 21:06:26 +00:00
Stanislav Shwartsman
aa1a61bfde Add (when needed) or remove (when not needed) x86-64 compilation hack 2006-06-26 20:28:00 +00:00
Stanislav Shwartsman
c7aa53d044 Fixed compilation error of extdb 2006-06-25 21:44:46 +00:00
Volker Ruppert
38c6120338 - updates for release 2.3.pre1 2006-06-25 17:50:30 +00:00
Volker Ruppert
2fd7a95cb8 - user doc: improved save/restore description
- developer doc: added sections about the parameter tree and save/restore
2006-06-25 12:20:34 +00:00
Stanislav Shwartsman
f9754dadeb Fix some code duplication 2006-06-24 18:27:11 +00:00
Stanislav Shwartsman
5ade11bae4 Added exception debug print 2006-06-22 19:53:58 +00:00
Volker Ruppert
37a47de1cc - new user.dbk section describes the usage of the save/restore feature
- description of the 'cpu' option updated
2006-06-22 18:50:47 +00:00
Stanislav Shwartsman
6fd9b3107b Fix descriptor printing format 2006-06-22 16:44:37 +00:00
Stanislav Shwartsman
a48cd0c3d1 Implicitly specify deprecated options in configure script 2006-06-22 16:43:50 +00:00
Stanislav Shwartsman
275ea4f7c9 - Allow to control SMP quantum value through .bochsrc CPU
option parameter. Previous Bochs version used hardcoded quantum=5
    value.
2006-06-21 20:42:26 +00:00
Stanislav Shwartsman
c0747c8b35 Fix compilation 2006-06-21 16:30:14 +00:00
Stanislav Shwartsman
3b9ef78c0a Compilation fix. 2006-06-21 16:28:06 +00:00
Stanislav Shwartsman
b794e6b54a Indent changes 2006-06-20 17:17:46 +00:00
Stanislav Shwartsman
c88ce82156 Update CHANGES for coming 2.3 release 2006-06-20 17:05:57 +00:00
Stanislav Shwartsman
6468398104 Fixed APIC interrupt priority bug 2006-06-20 16:51:03 +00:00
Volker Ruppert
514952f78c - enabled save/restore feature on Linux and Windows (for binary packages) 2006-06-18 07:28:55 +00:00
Volker Ruppert
cf6ec36040 - updated dependencies 2006-06-17 18:10:10 +00:00
Stanislav Shwartsman
070d782ec8 Move paddr_valid param of dbg_xlate_linear2phy method to return value.
This is much easier to use.
2006-06-17 12:09:55 +00:00
Volker Ruppert
dbfc8f42c8 - always use geometry detection for 'vmware3' images
- updated documentation for hard disk images
- user.dbk: added save/restore config option and removed obsolete one
2006-06-17 07:45:27 +00:00
Stanislav Shwartsman
f44190ed27 Comment most likely redundant invalid_prefetch_q 2006-06-16 20:08:03 +00:00
Volker Ruppert
43838a54fa - file descriptor check fixed 2006-06-16 09:10:26 +00:00
Volker Ruppert
a2327441ca - endianness fixed 2006-06-16 08:56:13 +00:00
Volker Ruppert
075ee17ac9 - geometry autodetection for 'sparse' mode hard disk images added
- store size of virtual disk in sparse header to simplify geometry detection/check
- enabling geometry autodetection causes a panic if not supported by image
2006-06-16 07:29:33 +00:00
Volker Ruppert
02fbf84630 - geometry autodetection for 'vmware3' mode hard disk images added
- simplified geometry detection code
- unsupported ATAPI commands now cause a BX_DEBUG message and no addtional
  error code info (avoid flooding log file)
2006-06-15 09:44:37 +00:00
Stanislav Shwartsman
9269288319 Fix SR macros mis-use. Need to add assertion into bxlist_c and check that it has no 2 params with same name inside ! 2006-06-14 16:44:33 +00:00
Stanislav Shwartsman
8ed8916ea9 Break to debugger on triple fault or panic (this time do it correctly)
Indent changes
2006-06-12 19:51:31 +00:00
Stanislav Shwartsman
49d7b4614f Fixed another bug generator - duplication between descriptor type field and four descriptor cache bits 2006-06-12 16:58:27 +00:00
Stanislav Shwartsman
5a80bf51ca Added more definitions 2006-06-11 21:55:39 +00:00
Stanislav Shwartsman
308521e7ce Fixes in SYSCALL/SYSRET instructions
Use parse_selector to avoid code duplication
2006-06-11 21:37:22 +00:00
Stanislav Shwartsman
bfebb40326 Fixed bug report:
[ 1503978 ] movsb/w/d doesn't work when direction is stored
2006-06-11 18:03:45 +00:00
Volker Ruppert
c562a1243e - fixed broken save/restore function for binary data 2006-06-11 18:03:11 +00:00
Stanislav Shwartsman
869f74b3ee Reduce amount of dbg_get_cpu calls (I would like to remove this function) and use save/restore power in debugger 2006-06-11 16:40:37 +00:00
Stanislav Shwartsman
deab206378 More useful debug prints 2006-06-09 22:39:50 +00:00
Stanislav Shwartsman
6c3420a18b Add debug prints before any #GP excepion which only possible to be generated 2006-06-09 22:29:07 +00:00
Stanislav Shwartsman
3cb38b3c45 Indent changes 2006-06-09 21:17:26 +00:00