Stanislav Shwartsman
6c63e84d23
Fixed CR3 masking in long mode
...
Added PANIC assertion of 32-bit physical address in PAE mode
cleanup
2006-10-04 19:08:40 +00:00
Volker Ruppert
4df1ef8af5
- clear registers using the XOR instruction
2006-10-04 19:00:19 +00:00
Stanislav Shwartsman
7dc808e7f9
Removed debug snapshot when entering SMM/RSM
2006-10-03 22:41:02 +00:00
Stanislav Shwartsman
64832bf866
Added enable-acpi configure option
2006-10-03 21:45:17 +00:00
Volker Ruppert
bc9a192668
- clear upper 16 bit of the stack pointer when returning to real mode (fixes
...
booting of Ubuntu 6.06)
2006-10-03 21:04:44 +00:00
Volker Ruppert
9d0f111995
- build an additional BIOS image without the new 32-bit extensions. It can be
...
used when the new BIOS fails
- use wbinvd instruction in the 32-bit init code
2006-10-03 20:30:09 +00:00
Volker Ruppert
8c350ca092
- added short description of the "magic breakpoint" feature
2006-10-03 15:06:39 +00:00
Volker Ruppert
2f3ce2de7d
- added debugger button to the X11 ask dialog
...
- fixed memory leaks
2006-10-03 08:13:27 +00:00
Stanislav Shwartsman
1aa7ae677d
Small cleanup in he APIC code, removed unused methods
2006-10-02 21:49:49 +00:00
Stanislav Shwartsman
719eb78a25
Fixed dbg_fetch_mem call
2006-10-02 21:27:14 +00:00
Volker Ruppert
f091c7c0ad
- SMM must be enabled until all data is read from RAM
2006-10-02 21:22:59 +00:00
Volker Ruppert
7d80118503
- SMRAME bit must be always set for SMRAM access
2006-10-02 20:29:50 +00:00
Stanislav Shwartsman
14afe14a21
New BIOS expects to see 0x64 in smm revision id when in x86-64 mode
2006-10-02 18:50:34 +00:00
Volker Ruppert
0c827dcbf1
- implemented debugger access to SMRAM area
2006-10-02 17:40:20 +00:00
Volker Ruppert
3663992ffd
- fixed possible segfault when pressing the power button with debugger enabled
...
- the textconfig 'quit' option must call bx_dbg_exit() if debugger is present
2006-10-02 17:07:36 +00:00
Volker Ruppert
8dfd8eefa7
- ExtINT implemented (some progress with FreeBSD 5.3 boot cd)
...
- fixed a warning
2006-10-02 15:08:21 +00:00
Volker Ruppert
815f2a026d
- fixed compilation with ACPI disabled
2006-10-02 10:14:07 +00:00
Volker Ruppert
c9d8c75a23
- improved SMM init (Fabrice Bellard)
2006-10-02 06:30:36 +00:00
Volker Ruppert
5d1e848a6a
- SMI generation implemented (needs to be checked for SMP)
2006-10-01 19:51:49 +00:00
Volker Ruppert
6276cae023
- applied patch from the Qemu project (Fabrice Bellard)
...
* use 32 bit pushf/popf in 32 bit PCI bios
* moved some useful defines in rombios
- minor cleanups
2006-10-01 16:40:30 +00:00
Volker Ruppert
0223ffdc6e
- ported most of the ACPI controller capabilities from Qemu (TODO: generate SMI
...
on APM control port write)
2006-10-01 13:47:26 +00:00
Volker Ruppert
fdc1b75115
- fixed number of MP table entries (caused FreeBSD 5.3 boot failure)
...
- moved shared defines to new file rombios.h (could be used to show features
on the screen after detection by rombios32)
2006-09-30 11:23:49 +00:00
Stanislav Shwartsman
c44f619039
Fix example for BIOS address in .bochsrc
2006-09-30 09:56:23 +00:00
Volker Ruppert
5ba61b49c8
- always generate MP tables (WinXP guest needs this)
...
- new code is now enabled again
2006-09-29 17:37:31 +00:00
Volker Ruppert
518c64b64f
- disabled rombios32 call until the critical bugs are fixed
...
- more accurate delay loop using the port 0x61 refresh clock bit
- fixed capabilties reported in BIOS banner
2006-09-29 12:24:05 +00:00
Volker Ruppert
aacc148f7c
- initial revision of the 32-bit init code for the Bochs BIOS
...
* CPU, PCI, ACPI and SMM init
* MP and ACPI table generation
- MP table generation hack in the Bochs memory code disabled (should be removed)
- don't test the checksum of large BIOS images (for now)
- existing 16-bit PCIBIOS init disabled for now
2006-09-28 19:01:04 +00:00
Volker Ruppert
b2468a39fd
- biossums now supports padding binary files to 64k. This is useful for BIOS
...
extensions at 0xE0000 to be concatenated with the Bochs BIOS core.
- CR/LF to LF conversion, license and CVS id added
2006-09-28 17:39:25 +00:00
Volker Ruppert
53e237b5b1
- updated workspaces after adding the acpi device
2006-09-27 18:43:50 +00:00
Stanislav Shwartsman
925ae93e22
Reveer back changes for debug.h removal from bochs.h
2006-09-26 19:16:10 +00:00
Volker Ruppert
fb762477fa
- some more basic work on the acpi device
2006-09-26 18:43:42 +00:00
Stanislav Shwartsman
aab3feb2e0
Fixed Makefile to compile with ACPI stub disabled
...
Remove bx_debug.h from bochs.h to reduce compilation dependencies
2006-09-25 20:13:52 +00:00
Stanislav Shwartsman
f37b969d1e
Enable save/restore feature by default
2006-09-24 17:15:02 +00:00
Volker Ruppert
5d78bd4d00
- regenerated after adding the acpi device
2006-09-24 17:04:58 +00:00
Volker Ruppert
2cdd6596f1
- implementation of the PIIX4 ACPI controller started. The code is not yet
...
enabled and the i/o handler only generate info messages.
2006-09-24 16:58:13 +00:00
Volker Ruppert
bf6d61de5e
- experimental USB device change support added (some more work in the emulation
...
code may be required)
- set mouse/keypad connection status to 0 when removing device
- pciusb code now accepts "none" as the device name for an unused port
2006-09-24 10:10:21 +00:00
Volker Ruppert
93534890b0
- the USB mouse connection status no longer depends on the mouse capture status.
...
The connection status is now only controlled by the USB port options (TODO:
device change support at runtime)
- a connected USB mouse now has the priority when sending mouse data from the
gui to the emulated mouse device.
2006-09-23 12:59:57 +00:00
Volker Ruppert
48ed7e1ba6
- fixes for second simulation support with wxBochs
...
* wxBochsStopSim flag is now reset before starting the SimThread
* the siminterface 'init_done' flag now controls the execution of the hardware
cleanup in bx_atexit()
2006-09-23 09:07:15 +00:00
Volker Ruppert
e315eb0fa6
- realloc wxScreen if already used (for 2nd simulation support)
2006-09-21 21:07:17 +00:00
Volker Ruppert
1f5d311ca1
- fixed memory leaks found with valgrind when trying to start a second
...
simulation with wxBochs:
* cpu: delete pageWriteStampTable array
* devices: simplified setup of initial default i/o handlers
* ne2k: delete ethernet module in destructor
2006-09-20 20:52:23 +00:00
Volker Ruppert
72283f6760
- delete i/o handlers before unloading plugins
...
- memory for i/o handler name is now dynamicly allocated (strdup's in harddrv
code removed)
2006-09-20 18:24:17 +00:00
Stanislav Shwartsman
3ab94305a0
1. Fixed bug report
...
[ bochs-Bugs-1562172 ] TLB_init() fails to initialize priv_check array if USE_TLB 0
2. Paging is always exists for i386+
To disable paging it is better to use normal model without special code, only by setting cr0.pg=0
2006-09-20 17:02:20 +00:00
Volker Ruppert
fad22265b5
- bx_list_c: after deleting the list entries, the list must be deleted, too
2006-09-18 21:24:27 +00:00
Volker Ruppert
f7d668289d
- bx_list_c: fixed deleting of the parameter list
2006-09-18 20:31:37 +00:00
Volker Ruppert
26f7f49b9a
- virtual timer method 'reset' renamed to 'setup' (it's doing other things than
...
the reset methods for devices)
- PCI register dump on exit now done in the destructor
2006-09-18 18:10:49 +00:00
Volker Ruppert
c592b9527c
- deactivate device parameter handlers in destructor
2006-09-17 20:39:37 +00:00
Volker Ruppert
f688701592
- cleanup() method added to reset the number of status items (cannot be done in
...
init() since the floppy indicators are register prior to gui init
- create framebuffer only if it doesn't exist
2006-09-17 20:37:28 +00:00
Stanislav Shwartsman
3111909a64
Merged patch from Bochs-Developers mailing list.
...
Fixes bp handling.
2006-09-17 19:22:24 +00:00
Volker Ruppert
b8c84baddb
- new PIT: exit method added to reset the timer id
...
- old PIT: exit method stub added and some code cleanup
- virtual timer: reset method added with basic init code from the constructor
2006-09-17 19:19:15 +00:00
Volker Ruppert
fdefdc5b9f
- remove logfunction from list when device is deleted
...
- fixed typos in harddrv code
2006-09-17 18:09:33 +00:00
Volker Ruppert
ec9c361e9c
- fixed handling of parameter "debug_running" for restart support
...
- wx: delete of "debugCommand" fixed
2006-09-17 07:12:50 +00:00