Commit Graph

234 Commits

Author SHA1 Message Date
Volker Ruppert
2ea45c0e4d implemented volatile BIOS memory write support (controlled by PIIX/PIIX3 XBCS register) 2012-12-02 19:59:23 +00:00
Volker Ruppert
cc56245407 started implementing the i430FX chipset
- renamed config parameter "i440fx_support" to "enabled"
- new config parameter "chipset" added (current choices "i430FX" and "i440FX")
- don't load ACPI support if the i430FX chipset is selected
- select register values for the core PCI devices depending on the chipset
- USB UHCI must be connected to a PCI slot if the i430FX chipset is used
- rombios changes to make the i430FX chipset work
- TODO #1: implement limitation to 1 cpu and 128 MB RAM for the i430FX chipset
- TODO #2: verify register behaviour of both chipsets
2012-11-11 08:11:17 +00:00
Stanislav Shwartsman
3855c9c2fe fixed warning 2012-09-24 20:11:50 +00:00
Volker Ruppert
b560c72b52 - added check for overlapping memory regions using a Bit16u bitmap (each bit
represents a 64k block in the 1M page)
- fixed some format warnings
2012-09-23 19:09:20 +00:00
Volker Ruppert
c2560a8d44 - fpu directory is now a subdirectory in 'cpu' 2012-09-12 21:08:40 +00:00
Volker Ruppert
53438e92c6 - fixes based on Debian patches by Guillem Jover
- set SHELL variable with configure script
  - add '--tag CXX' argument to libtool calls
2012-07-14 07:01:43 +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
de94b08a1a - class bx_list_c now contains a chained list of parameters. Removed the now
obsolete maxsize parameter from all lists.
2012-02-12 18:43:20 +00:00
Volker Ruppert
ed669adfd1 - rewrite of the PCI memory management code for the expansion ROM and BIOS area
- store memory type array in the memory object to avoid calling the pci plugin
    frequently. The pci code calls a memory method to change the memory type in
    case the PAM registers are modified.
  - removed now obsolete code and minor cleanups
2012-01-19 18:32:11 +00:00
Stanislav Shwartsman
d3fe5c607e compilation fix 2011-12-02 20:11:57 +00:00
Stanislav Shwartsman
81f55b5be7 improved the fix for busmaster DMA transfers from device to memory done by Volker 2011-12-02 19:41:54 +00:00
Volker Ruppert
1f18f5831f - final fix for busmaster DMA transfers from device to memory: new memory method
writePhysicalBlock() replaces the buggy code in iodev.h.
  Calling pageWriteStampTable.decWriteStamp(addr) is required here to make memcpy() work.
2011-11-30 17:11:43 +00:00
Stanislav Shwartsman
01f27e3a0c this should fix bug report 3422638 large ramfile support broken on anything but Linux 2011-10-15 19:29:42 +00:00
Stanislav Shwartsman
30b94b112b regen Makefile.in dep 2011-08-18 05:44:54 +00:00
Stanislav Shwartsman
a03e0266fb added yonah CPUID to cpudb. remove bxversion.h from dep files 2011-08-16 19:58:56 +00:00
Stanislav Shwartsman
955f889925 change bx_info to bx_dbg 2011-07-29 08:16:28 +00:00
Stanislav Shwartsman
d11114ac19 Patch for emulating target with larger memory than host has available by Gary Cameron.
The patch was posted in mailing list at Thu 6/16/2011.

Desription for CHANGES:

- Memory
  - Added new configure option which enables RAM file backing for large guest
    memory with a smaller amount host memory, without causing a panic when
    host memory is exhausted (patch by Gary Cameron). To enable configure with
        --enable-large-ramfile option.
2011-07-22 17:46:06 +00:00
Stanislav Shwartsman
f57b14d338 Extended the interface of the fetch handler to general direct memory access handler.
Now the handler receives 'rw' (BX_READ, BX_WRTE, BX_EXECUTE) access type as parameter.
If returning a pointer to <addr> - itr is assumed that whole 4K page containing the <addr> could be accessed using the same pointer with offset.
You can return a pointer for READ/WRITE only and disallow execute, this is handled properly in the CPU code.
2011-06-30 18:07:14 +00:00
Stanislav Shwartsman
84214f7119 added comment 2011-06-29 19:53:45 +00:00
Stanislav Shwartsman
03879cf90d added infrastructure for prefetch support in the memory handlers 2011-06-29 19:48:46 +00:00
Stanislav Shwartsman
16021a0ddb rename model_specific.h to be cpuid.h 2011-03-19 17:35:18 +00:00
Stanislav Shwartsman
00981cd7a6 Adding Id and Rev property to all files 2011-02-24 22:05:47 +00:00
Volker Ruppert
525e5a46f7 - moved array 'rom_present' to the memory class and initialize it at startup.
This is required for the "second run" feature of the wx port. The simulation
  thread can be run multiple times without restarting the application.
2011-02-11 15:33:08 +00:00
Stanislav Shwartsman
b5ebe5865e Fixes for incoming bug report, missed changes in CVS, repository fixups and etc 2011-02-11 09:56:23 +00:00
Volker Ruppert
2d57f0c3e9 - moved array 'rom_present' to the memory class and initialize it at startup 2011-02-10 23:00:16 +00:00
Volker Ruppert
44ece7cf26 - including vga.h in iodev.h no longer necessary and symbol NO_DEVICE_INCLUDES
is useless then
- updated makefile dependenies
2011-01-24 20:35:51 +00:00
Stanislav Shwartsman
9c4cca1144 optimize SMC detection from memory.cc as well 2011-01-04 21:03:44 +00:00
Stanislav Shwartsman
9aa503cb9d fixed warnings for win64 compilation 2010-11-23 14:59:36 +00:00
Stanislav Shwartsman
c7dba3525a Fixed warnings (patch from mailing list) 2010-08-15 19:57:50 +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
44885c4ef5 rom_present is not need to be BX_MEM_C member 2010-05-17 19:42:30 +00:00
Stanislav Shwartsman
79466dffe2 apic virtualization + vmx fixes 2010-03-16 14:51:20 +00:00
Stanislav Shwartsman
11de02bd89 MONITOR/MWAIT: rewritten MONITOR/MWAIT implementation from scratch 2010-03-07 09:16:24 +00:00
Stanislav Shwartsman
5df864b1f1 Move param_names.h into bochs root folder 2010-02-26 14:18:19 +00:00
Stanislav Shwartsman
bd60e0264c change Copyright to Bochs Project 2009-12-04 16:53:12 +00:00
Stanislav Shwartsman
714a537a77 fixed typo bug causing Bochs crash 2009-11-29 17:24:29 +00:00
Stanislav Shwartsman
d1a0303d43 Use 1M blocks to allocated memory - avoid crash with odd mem sizes 2009-10-24 14:37:44 +00:00
Stanislav Shwartsman
07222cc375 cleanup 2009-10-23 13:23:31 +00:00
Stanislav Shwartsman
3457cbb78c Fixed PANIC message about all allocated memory already used 2009-10-23 08:50:07 +00:00
Stanislav Shwartsman
1c70aad0f9 fixes for >=4G physical memory 2009-10-17 18:42:15 +00:00
Stanislav Shwartsman
0a86c3c06f fixed restore bug 2009-10-16 21:54:00 +00:00
Stanislav Shwartsman
da4722e257 optimize sr params 2009-10-16 18:29:45 +00:00
Stanislav Shwartsman
ab3f2cb6d3 desctructor fixes 2009-10-16 17:21:49 +00:00
Stanislav Shwartsman
92aecadb18 allow to emulate more guest RAM that host could allocate, it is fine until guest tries to access all the allocated memory 2009-10-16 17:10:36 +00:00
Stanislav Shwartsman
140d2d1508 cleanups 2009-10-15 21:39:40 +00:00
Stanislav Shwartsman
a7680fe2ec remove unused function 2009-10-15 20:53:30 +00:00
Stanislav Shwartsman
3dbb1da68a remove "dirty" pages tracking - it is too memory consuming and can fit with >4G phy addr space 2009-10-15 20:50:33 +00:00
Stanislav Shwartsman
1b248b5212 fixes for future 2009-10-15 16:14:30 +00:00