Commit Graph

12145 Commits

Author SHA1 Message Date
Volker Ruppert
185fbd7287 Adding option -march=i386 to GCC32 switches makes BIOS-bochs-latest compiled
with gcc 7.5.0 work with Bochs compiled for cpu level 5.
2020-02-16 09:19:01 +00:00
Volker Ruppert
a1b44c72b8 In the plugins case, don't use vncsrv link options for bochs.exe.
Removed unused GUI_LINK_OPTS from gui Makefile.
2020-02-07 23:32:27 +00:00
Volker Ruppert
9131b0dfb1 Fixed some more gcc warnings (strncpy() usage in wx gui). 2020-02-07 15:10:55 +00:00
Volker Ruppert
d9297100b1 Fixed some more gcc warnings (SDL and win32 gui debugger). 2020-02-06 21:42:08 +00:00
Volker Ruppert
d1822224a9 Fixed some gcc 9.2 warnings on Windows. 2020-02-06 17:13:01 +00:00
Stanislav Shwartsman
1b208b0e93 fixed compilation under Visual Studio 2020-02-02 07:25:00 +00:00
Volker Ruppert
a6329d4a3e Some fixes in the build system.
- Fixed target name for 32-bit MSVC
- Don't probe for audio conversion libraries when configuring for MSVC
2020-02-01 18:05:54 +00:00
Volker Ruppert
7dd471210f Configure script fixes for the vncsrv gui.
- Added LibVNCServer detection in Cygwin when using --with-all-libs
- If pkg-config is installed, use it to set up variables for LibVNCServer
2020-02-01 15:07:56 +00:00
Volker Ruppert
260d1f68d4 Some fixes for configuration and compilation with MSYS2.
- Added case for "*-msys" to the existing "*.mingw*" cases.
- Fixed $JADE value in case the program is not installed.
- Fixed RedirectIOToConsole() function for MSYS with 64-bit gcc 9.2.
2020-01-31 16:43:25 +00:00
Volker Ruppert
cc523e4034 Updated configure helper scripts from automake 1.16 (required for MSYS2). 2020-01-31 13:41:25 +00:00
Volker Ruppert
55ee6a4b85 Regenerated after docbook changes. 2020-01-27 18:23:01 +00:00
Volker Ruppert
79e1dfafcc Added support for using jade directly if docbook2html is not installed (based
on Debian patch). Removed outdated jade specific Makefile.
2020-01-27 18:22:12 +00:00
Volker Ruppert
21e035957d Don't force a gui display update in bx_vgacore_c::after_restore_state() since it
makes trouble with SDL / SDL2. The first timer-based update after restore should
draw the screen correctly.
2020-01-24 19:42:52 +00:00
Volker Ruppert
a088949447 Save / restore fixes
- Don't set up and load pre-defined optional plugins in restore mode.
- Remove the save/restore registration in Voodoo destructors.
- TODO: Fix frozen SDL/SDL2 display after restore.
2020-01-24 16:01:00 +00:00
Volker Ruppert
512d54cc5d Moved internal debugger sections to a new chapter with two main sections:
command line debugger and debugger gui. Improved gui debugger section a
little bit. TODO: use some parts of docs-html/enh_dbg_user_man.txt and
remove this file when ready.
2020-01-19 00:11:34 +00:00
Volker Ruppert
1e4157a7f6 Fixed typo 2020-01-18 13:56:10 +00:00
Volker Ruppert
36c540c36b Added accidently removed line. 2020-01-18 13:49:44 +00:00
Volker Ruppert
6d28b89712 Removed broken links and added two new ones. 2020-01-18 13:45:34 +00:00
Stanislav Shwartsman
6b691257dd fixed compilation with VMX off 2020-01-17 11:55:59 +00:00
Volker Ruppert
647dd1320c Fixed broken mailing list links. SF project page cannot be displayed within a
frame. Improved releases link.
2020-01-15 22:01:53 +00:00
Volker Ruppert
38581dc7ed Added new configure shortcut script for compiling Bochs WIN64 on MSVC. 2020-01-15 21:42:38 +00:00
Volker Ruppert
48e07bcf7b Recompiled BIOS image for i586. 2020-01-15 17:55:14 +00:00
Stanislav Shwartsman
a24b562e32 now when bios knows to set msr ia32_feature_ctrl, no need to initialize from reset code 2020-01-15 17:18:10 +00:00
Volker Ruppert
8679542678 Set VMX and LOCK bit in IA32_FEATURE_CONTROL. 2020-01-15 17:06:10 +00:00
Volker Ruppert
23b442e80d Updated LGPL'd VGABIOS from SVN (some fixes for Bochs VBE). 2020-01-13 20:38:00 +00:00
Stanislav Shwartsman
c4d0001229 Apply SF [patch:#549] Fix snapshot param overflowing 32-bit integers
This patch fixed an integer overflow issue when restoring a snapshot whose parameters that are larger than ULONG_MAX.
We run into this issue when restoring a Windows snapshot whose pc_system.ticksTotal exceeds ULONG_MAX, which caused the subsequent confusion in bx_virt_timer_c::timer_handler which relies on pc_system.ticksTotal to function correctly.
2020-01-13 05:23:24 +00:00
Volker Ruppert
c15d3a27ad Reduce maximum screen height by the height of header bar and status bar. 2020-01-12 19:00:56 +00:00
Stanislav Shwartsman
5620a4968b set msr IA32_FEATURE_CTRL lock bit to ensure VMX is enabled - normally this should be done in Bios but init.cc can w/a 2020-01-11 07:04:44 +00:00
Stanislav Shwartsman
902ff1ef52 Part of the SF patch #548: Support Windows Hyper-V in Bochs by Xinyang
When BX_SUPPORT_SMP is not defined, clear the bit in CPUID.[EAX=1].Bit[28] to indicate Hyper-Threading is unavailable.
2020-01-11 06:18:13 +00:00
Volker Ruppert
d641af80bb Removed lfb_enabled switch from Bochs VBE code. Now banked and LFB writes to
VRAM are possible at the same time without changing mode. This makes the GRUB
bootloader menu visible when using the Bochs VBE adapter instead of Cirrus.
2020-01-11 06:07:18 +00:00
Stanislav Shwartsman
50bde4a38c flush TLBs on CR4.CET change 2020-01-10 20:04:22 +00:00
Volker Ruppert
24e3cda7c0 Fixed building ACPI table source with latest iasl version (Debian patch). 2020-01-08 18:15:01 +00:00
Stanislav Shwartsman
72dffd320d fixed CET fault on task switch when SSP is not 8-byte aligned. Bochs did #GP whiel SDM says #TS 2020-01-07 18:17:34 +00:00
Stanislav Shwartsman
526a565602 fixed compitaion with SMP and debugger enabled (SF bug #1411) 2020-01-06 13:41:46 +00:00
Volker Ruppert
ef88b43248 Configure script regenerated after release 2020-01-05 12:59:23 +00:00
Volker Ruppert
fa0c6f4be8 Updates after release, added release tag to user doc, fixed BIOS install list 2020-01-05 12:58:25 +00:00
Volker Ruppert
6863e4a478 Website updates after release 2.6.11 2020-01-05 12:33:52 +00:00
Volker Ruppert
08928b8b0c Regenerated for release 2020-01-05 07:37:34 +00:00
Volker Ruppert
fc5b1c6e50 Preparing release 2.6.11 2020-01-05 07:36:44 +00:00
Volker Ruppert
70ea45b83d Moved and updated biossums.txt to the developer doc.
Small fix in biossums.c.
2020-01-04 22:46:00 +00:00
Volker Ruppert
ecba5b807e CHANGES updated 2020-01-04 10:14:05 +00:00
Volker Ruppert
acac6ecf45 Fixed hdimage lock file handling in the USB MSD case.
- Store file name string instead of pointer to file name.
- Increased size of the info text to fix a warning,
2020-01-03 21:17:15 +00:00
Stanislav Shwartsman
694112732b use default base CPUID class method to detemine values of 0x80000008 leaf for IceLake CPUID 2020-01-03 19:53:20 +00:00
Stanislav Shwartsman
b69f2b052a extract calculation of MSR_IA32_XSS supported bits to a function 2020-01-03 19:33:16 +00:00
Stanislav Shwartsman
45a25a2b67 CET: make sure enbranch64 and enbranch32 do the right thing when mode mismatch 2020-01-03 18:55:17 +00:00
Stanislav Shwartsman
495206650b fixed CET wrmsr reserved bit checking 2020-01-03 18:44:15 +00:00
Stanislav Shwartsman
ea6b0c766c added more VMX reasons to enum according to Intel SDM 2020-01-03 17:35:02 +00:00
Volker Ruppert
bce3c28bb5 Temporary fix for Bochs BIOS not working with CPU level < 6. Compiled BIOS on
a 32-bit Linux inside of Bochs. Now only i386 fails, newer CPUs are okay.
2020-01-03 15:48:20 +00:00
Volker Ruppert
b23d52ad44 LGPL'd VGABIOS updated to version 0.7b 2020-01-03 09:29:54 +00:00
Stanislav Shwartsman
bac9104f73 fixed compilation of init.cc for old CPU models 2020-01-03 05:29:45 +00:00