Volker Ruppert
e36217533a
Added support for 256-byte EDID file (e.g. QEMU monitor).
2020-03-25 16:54:50 +00:00
Volker Ruppert
ed223c6499
DDC: changed the "off" case to Bochs default name "disabled" and updated docs.
2020-03-22 12:31:34 +00:00
Volker Ruppert
e23a930864
Added "ddc" parameter to the "vga" option to make it possible either to disable
...
the DDC feature or to read the monitor EDID from file. By the default the
builtin "Bochs Screen" EDID is used.
2020-03-21 18:00:02 +00:00
Volker Ruppert
3626b75791
Added "multiple NICs" documentation to user doc and bochsrc manual page.
2020-03-12 19:45:40 +00:00
Volker Ruppert
324b511862
Started adding documentation for the "multiple NICs" support.
2020-03-09 20:19:30 +00:00
Stanislav Shwartsman
e8bc5ac024
commit small fixes from patch by Ben
2020-03-09 07:27:55 +00:00
Volker Ruppert
762d2a35af
Some work on the "multiple NICs" support.
...
- Added support for the E1000 network card similar to ne2k implementation.
- Define BX_NE2K_MAX_DEVS to make the maximum number of devices variable.
2020-03-08 16:45:52 +00:00
Volker Ruppert
d51f6480a0
Some fixes for the "multiple NICs" support.
...
- Fixed ne2k parameter save function.
- For backward compatibility, card #0 defaults to PCI if the ne2k is assigned
to at least one PCI slot.
- The "bootrom" parameter is only valid for the PCI card type.
2020-03-04 17:37:34 +00:00
Volker Ruppert
835a745215
Added experimental "multiple NICs" support (currently NE2000 only). Unlike the
...
old SF patches this solution is compatible with the plugin architecture. The
ne2k plugin is loaded only once and a new ne2k_main_c object creates up to 4
ne2k device objects depending on the config. The new ne2k parameter "card"
specifies the zero-based card number to configure. If not given, the default
is card #0 for compatibility. The new ne2k parameter "type" specifies the bus
it is connected to ("isa" or "pci"). Card #0 defaults to PCI, the others to
ISA. In the PCI slot configuration the ne2k device can be used multiple times
if more than one card is configured.
Related changes:
- removed SMF stuff for ne2k
- always convert device prefix to uppercase (ne2k uses NE2K0 ... NE2K3)
- removed unused BXPN values
- TODO: add multiple NICs support for the E1000
2020-03-02 22:04:10 +00:00
Stanislav Shwartsman
b63f3b36dc
fixed Erroneous limits calculation in function bx_dbg_get_laddr issue
2020-02-28 18:06:39 +00:00
Stanislav Shwartsman
7d989b34a3
fixed recent segoverride assignment bug in SVN
2020-02-28 15:03:52 +00:00
Stanislav Shwartsman
6e2541daa6
CET: DS Seg override is kept for CET Endranch suppress hint even if overridden by other prefixes later
2020-02-21 19:38:23 +00:00
Stanislav Shwartsman
fb0dafa06c
update CHNAGES post 2.6.11 release
2020-02-21 19:20:04 +00:00
Stanislav Shwartsman
c61d595106
add symbolic info for branch target disasm when available
2020-02-21 19:08:25 +00:00
Stanislav Shwartsman
086f2779f5
fixed compilation with avx but without EVEX
2020-02-20 05:29:13 +00:00
Volker Ruppert
9eb1cf233c
Fixes for compiling on MacOS (bxhub and eth_socket / patch by Yasser Rathore).
2020-02-17 20:49:10 +00:00
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
Stanislav Shwartsman
6b691257dd
fixed compilation with VMX off
2020-01-17 11:55:59 +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
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
Volker Ruppert
2d950105cb
Fixed retrieving release timestamp from README file when compiling from outside
...
of the source tree.
2020-01-02 17:48:18 +00:00
Volker Ruppert
58ebb5819f
Releases (SVN flaG 0) now use the timestamp from README file instead of the
...
compilation time of main.cc for console and log file output.
2020-01-02 16:19:02 +00:00
Volker Ruppert
5cb6392ca4
Added function bx_get_timestamp() to reduce code duplication.
...
TODO: Use special timestamp in the release case (similar to Bochs BIOS).
2020-01-02 09:41:58 +00:00
Volker Ruppert
3146b45f59
Regenerated configure script
2020-01-01 19:03:42 +00:00
Volker Ruppert
4031aea715
Two changes from Debian patches for 2.6.10.
...
- pcidev: added support for recent Linux kernels
- fixed bochsrc manual page table
2020-01-01 19:02:50 +00:00
Volker Ruppert
546b4a78e5
Setting default values for VCLK registers not necessary. They should be set up
...
by the VGABIOS. Happy new year!
2020-01-01 14:16:29 +00:00
Volker Ruppert
8b5586bb79
Small optimization in the TRANSPARENTCOMP code.
2019-12-30 21:40:40 +00:00
Volker Ruppert
b6c1a4a919
Regenerated configure script and recompiled BIOS images.
2019-12-30 13:18:39 +00:00
Volker Ruppert
49a04c1399
Bochs BIOS changes partly based on Debian patches.
...
- Use 'iasl' for building ACPI table if present.
- Use the release date from README file for the BIOS_BUILD_DATE.
- Added Bochs VERSION string to the BIOS banner.
- Fixed the rombios32 delay loop for QEMU build.
- Improvement for rombios32.ld.
2019-12-30 13:16:18 +00:00
Volker Ruppert
30f0877ff8
Fixed compilation with PCI support disabled.
2019-12-30 07:16:46 +00:00
Volker Ruppert
f960acf028
Added missing Cirrus SVGA bitblt feature "tranparent color compare".
2019-12-29 21:38:05 +00:00
Stanislav Shwartsman
9a35c6de79
fix and simplify combined_access handling in EPT page walk
2019-12-29 21:00:35 +00:00
Stanislav Shwartsman
016aa349e5
handle supervisor-shadow-stack protection feature in the EPT
2019-12-29 20:40:18 +00:00
Volker Ruppert
74b9a0f6de
Bochs BIOS fix and update.
...
- Added hack fix to make SeaVGABIOS work: init video mode if not done.
- Update rombios32 release date.
2019-12-29 19:40:42 +00:00
Volker Ruppert
f7629c3896
Bochs BIOS fix and update.
...
- Added hack fix to make SeaVGABIOS work: init video mode if not done.
- Update rombios32 release date.
2019-12-29 19:38:52 +00:00
Volker Ruppert
34e475ec0a
Updated SeaBIOS ROM image to current version and added SeaVGABIOS for Cirrus.
2019-12-29 07:20:50 +00:00
Volker Ruppert
33d6956080
Added GLBCTL register read/write support (no function yet).
2019-12-28 21:04:53 +00:00
Stanislav Shwartsman
4f7aa4bd76
fixed compilation issue
2019-12-28 15:20:38 +00:00
Stanislav Shwartsman
f56e1aab86
VMX: save CET state to VMCS only if CET is supported
2019-12-28 15:18:55 +00:00
Stanislav Shwartsman
bcafd5bb7a
fix non-printable characters and add more verbose error messages
2019-12-28 15:08:53 +00:00
Stanislav Shwartsman
d091e3bda6
simplify XRSTOR* code
2019-12-28 14:03:54 +00:00
Stanislav Shwartsman
126ae0d0b4
more verbose debug print
2019-12-28 13:36:43 +00:00
Stanislav Shwartsman
9458e25486
reverting commit 13737 and doing correct fix
2019-12-28 13:11:13 +00:00
Stanislav Shwartsman
5d7c6d46b0
fixed compilation after prev commit
2019-12-28 13:02:02 +00:00
Stanislav Shwartsman
7f72252223
fixes in XSAVE/XRSTOR handling
2019-12-28 12:57:31 +00:00
Volker Ruppert
295336adfb
Fixed VESA BIOS function 0x4F15 (get EDID) for both the VBE and Cirrus version.
2019-12-27 19:56:37 +00:00
Stanislav Shwartsman
b09126aa34
use enums for assign_srcs error output - help with debugging unexpected #UD cases
2019-12-27 19:34:32 +00:00
Stanislav Shwartsman
6879feebf5
SHA: SHA instructions in 128-bit memory operand require to be explicitly aligned
2019-12-27 14:24:43 +00:00
Stanislav Shwartsman
5c45f6b324
AVX512: EVEX.Z is forbidden for any vector instruction using opmask as source or destination (should cause #UD)
2019-12-27 14:23:53 +00:00
Stanislav Shwartsman
8bd5272591
correctly handle CET Enbranch override prefix 0x3E in 64-bit mode
2019-12-27 13:44:57 +00:00
Stanislav Shwartsman
596c197cea
fix decoder: SHA1RNDS4 instruction should be with no SSE prefix
2019-12-27 13:08:20 +00:00
Stanislav Shwartsman
a2be16873c
VMX: save guest CET state to VMCS on vmexit
2019-12-27 13:02:30 +00:00
Stanislav Shwartsman
8e2391c44b
fixed compilation when compiling without EVEX
2019-12-26 20:12:40 +00:00
Volker Ruppert
70691fa532
Some fixes in the build system based on Debian patches for 2.6.10.
...
- The pthread library is not needed at all by the Windows ports.
- Link the ALSA and SDL sound modules only with required library.
- Fixed curses cross-compilation issue found by Debian.
- slirp/cksum.cc: NOTE for Debian.
2019-12-26 19:17:47 +00:00
Stanislav Shwartsman
ff167d0f65
change a bit more defines to const with type
2019-12-26 16:48:33 +00:00
Volker Ruppert
955a466df0
BX_KEY_* defines replaced by enum list.
2019-12-26 16:14:31 +00:00
Volker Ruppert
0bcc86716d
Operational registers can be accessed as dwords only (from a patch by Ben Lunt).
2019-12-25 09:07:12 +00:00
Stanislav Shwartsman
d6c3dcf033
revert for full vector read until figured out the right behavior for VPSHUFBITQMB
2019-12-24 20:08:33 +00:00
Stanislav Shwartsman
edcdce927c
added ability to configure hidden VMCS field mapping through CPUID
2019-12-22 18:53:07 +00:00
Stanislav Shwartsman
fc1dbe68bc
update dependencies in Mafefile.in
2019-12-21 21:42:35 +00:00
Stanislav Shwartsman
e593bb0084
CPUDB: Allow Icelake-U CPU model to exists without EVEX
2019-12-21 21:06:34 +00:00
Stanislav Shwartsman
e38cca20be
disable fault suppression for VPEXPAND* until fugured out how it should work in real life
2019-12-21 20:54:45 +00:00
Stanislav Shwartsman
f99258a2fd
fixed copy-paste issue
2019-12-21 20:30:15 +00:00
Stanislav Shwartsman
c16816485e
use optimized function for broadcastss
2019-12-21 20:20:33 +00:00
Stanislav Shwartsman
1a0237e9af
make order in AVX512 broadcast handlers, extract them into separate file
2019-12-21 20:07:03 +00:00
Stanislav Shwartsman
11585e4982
AVX512: VPBROADCASTB/W/D/Q with GPR source are only reg/reg
2019-12-21 18:29:51 +00:00
Stanislav Shwartsman
afa3626eb3
AVX512: fixed compressed immediate size (and memory access size) for VPBROADCASTB_Eb form
2019-12-21 18:17:51 +00:00
Stanislav Shwartsman
0169605f79
seems like GFNI VGF2P8AFFINEQB and VGF2P8AFFINEINVQB do not have fault suppression
2019-12-21 18:01:58 +00:00
Stanislav Shwartsman
4ac2122f3a
rename function to correct English, add broadcast and fault suppression support for EVEX encoded GFNI instructions
2019-12-21 16:12:06 +00:00
Stanislav Shwartsman
dd1ab303df
rename function to correct English
2019-12-21 15:54:52 +00:00
Stanislav Shwartsman
723554d535
AVX512: Allow masked fault suppression for many AVX512 instructions - not all cases reviewed yet, more to come
2019-12-21 15:47:29 +00:00
Stanislav Shwartsman
74c73e5a76
AVX512: Allow masked fault suppression for many AVX512 instructions - not all cases reviewed yet, more to come
2019-12-20 15:34:14 +00:00
Stanislav Shwartsman
0e5d843597
AVX512: Allow masked fault suppression for many AVX512 instructions - not all cases reviewed yet, more to come
2019-12-20 14:58:56 +00:00
Stanislav Shwartsman
cff6a67adb
AVX512: Allow masked fault suppression for many AVX512 instructions - not all cases reviewed yet, more to come
2019-12-20 14:57:42 +00:00
Stanislav Shwartsman
9fbf974e6b
AVX512: Allow masked fault suppression for many AVX512 instructions - not all cases reviewed yet, more to come
2019-12-20 13:45:00 +00:00
Stanislav Shwartsman
222185ad11
AVX512: Allow masked fault suppression for many AVX512 instructions - not all cases reviewed yet, more to come
2019-12-20 13:42:59 +00:00
Stanislav Shwartsman
553a9471d1
fixed push error check for VMX injecting event vector 21 on configuration that doesn't support CET
2019-12-20 13:27:18 +00:00
Stanislav Shwartsman
ec5f526ac0
ENBRANCH and RDSSP should remain NOP when CET not enabled, this means they not require an specifical CPU feature to be decoded into the hnadler
2019-12-20 13:16:52 +00:00
Stanislav Shwartsman
96b2cb5825
update lexer/parser for internal debugger after CET additions
2019-12-20 07:57:59 +00:00
Stanislav Shwartsman
b523a202f4
update configure script
2019-12-20 07:46:17 +00:00
Stanislav Shwartsman
70d6cdc418
update CHANGES
2019-12-20 07:43:36 +00:00
Stanislav Shwartsman
f90e5f4f44
Add initial implementation of the CET (Control Flow Enforcement Technology) emulation according to SDM071
...
Only missing items (to be added soon):
- Supervisor Shadow Stack EPT Control is not implemented yet
- SMM placing for SSP
Currently have to be added manually to some CPUID model, for example to ICL-U
To enable configure with --enable-cet
2019-12-20 07:42:07 +00:00
Stanislav Shwartsman
9c98d68f87
AVX512_VBMI2: Fixed shift count from register source for VBMI2 shift instructions (VPSHRDVD/VPSHLDVD/VPSHRDVQ/VPSHLDVQ)
2019-12-19 21:55:46 +00:00
Stanislav Shwartsman
1b9e0081b4
fixed bugs in recently implemented load methods with fault suppression support
2019-12-19 21:36:13 +00:00
Stanislav Shwartsman
39aee8773f
AVX512: Allow masked fault suppression for many AVX512 instructions - not all cases reviewed yet, more to come
2019-12-19 21:21:24 +00:00
Stanislav Shwartsman
682fbda5af
AVX512: Allow masked fault suppression for many AVX512 instructions - not all cases reviewed yet, more to come
2019-12-19 21:12:47 +00:00
Stanislav Shwartsman
59cad2e156
AVX512: Allow masked fault suppression for many AVX512 instructions - not all cases reviewed yet, more to come
2019-12-19 21:12:23 +00:00
Volker Ruppert
d290e5ba93
Changes updated (NSIS + HPET).
2019-12-19 20:36:42 +00:00
Stanislav Shwartsman
b2749a1a18
notify about significant amount of CPU bugs fixed in CHANGES
2019-12-19 20:13:35 +00:00
Stanislav Shwartsman
2df60c3b3f
AVX512: Allow masked fault suppression for many AVX512 instructions - not all cases reviewed yet, more to come
2019-12-19 20:08:49 +00:00
Stanislav Shwartsman
df986a05ca
fixed bug in SHA256RNDS2 instruction - wrong order of dwords in result
2019-12-19 19:20:13 +00:00
Stanislav Shwartsman
9b556d7656
fixed compilation error in crregs.cc xsave method init code - more methods to fix
2019-12-19 19:14:37 +00:00
Stanislav Shwartsman
258679b6dc
fixed compilation error in crregs.cc xsave method init code
2019-12-19 19:12:39 +00:00
Stanislav Shwartsman
bb58ef5548
fixed bug in SHA256RNDS2 instruction (wrong sha transformation used)
2019-12-19 19:08:50 +00:00
Stanislav Shwartsman
019c934cfd
decode GFNI opcodes in 64-bit mode too
2019-12-18 19:55:04 +00:00
Stanislav Shwartsman
6b1992783e
w/a compilation issue in gcc7
2019-12-18 18:19:52 +00:00
Stanislav Shwartsman
26b67c1942
fixed calling for XSAVE methods with BX_USE_SMF=0
2019-12-17 19:14:09 +00:00
Volker Ruppert
75aabad381
Fixed some HPET issues with a patch by Oleg. The following tests are passed now:
...
wraparound test, masked level interrupt test, one shot 32-bit test, periodic
32-bit test, mode change test, long 32-bit one-shot timer test.
2019-12-17 17:40:30 +00:00
Stanislav Shwartsman
eca847c8b3
fixed compilation error
2019-12-16 19:47:41 +00:00
Stanislav Shwartsman
895c4b75df
rewritten xsave/xrestore implementation in generic way to simplify adding new xsave/xrestore extensions
2019-12-16 16:14:51 +00:00
Stanislav Shwartsman
112e61f1c3
coding style: avoid goto, magic constants and defines which could be replaced by enums
2019-12-15 18:45:04 +00:00
Volker Ruppert
2b49ecde3f
Now using different setup file names for each platform.
2019-12-15 12:25:31 +00:00
Stanislav Shwartsman
bcfcaf3958
unify branch_far32 and branhc_far64 methods
2019-12-14 17:20:35 +00:00
Volker Ruppert
a01a0262be
Two small Bochs debugger changes.
...
- Fixed a warning in the enhanced debugger core.
- Update generated file parser.c.
2019-12-14 12:55:08 +00:00
Volker Ruppert
f1cd051748
Added 64-bit support to the NSIS installer script.
2019-12-13 22:25:50 +00:00
Stanislav Shwartsman
c117208bbf
extending fix to AMD SVM
2019-12-13 18:47:51 +00:00
Stanislav Shwartsman
1968cdf248
proposed fix for SF issue #547 vmcshostptr not invalidated after memory swapped out
2019-12-13 18:31:43 +00:00
Stanislav Shwartsman
134b23a809
enable AVX512_CD for Icelake configuration
2019-12-13 16:48:15 +00:00
Stanislav Shwartsman
2ea27f1afb
more correct fix for load with mask and broadcast
2019-12-13 14:57:32 +00:00
Stanislav Shwartsman
6d612df280
AVX512_BITALG: Fixed decoding of VPSHUFBITQMB instruction
2019-12-13 14:11:08 +00:00
Stanislav Shwartsman
abdeea560a
AVX512: fix masked broadcast with mask of all zero corner case - no memory access should be made at all
2019-12-13 13:44:30 +00:00
Stanislav Shwartsman
c9ac9a1e43
AVX512_VBMI: Fixed decoding of VPERMB instruction
2019-12-13 13:24:02 +00:00
Stanislav Shwartsman
fc79466dcb
AVX512_VBMI: Fixed decoding of VPERMI2B/VPERMT2B instructions
2019-12-13 13:08:45 +00:00
Stanislav Shwartsman
eb009ddd00
fixed VPACKSSDW/VPACKUSDW opcodes - allow broadcast
2019-12-13 12:53:48 +00:00
Stanislav Shwartsman
f9d04849b3
fixed decoding for VPSHLDVW/VPSHRDVW/VPSHLDVD/VPSHLDVQ/VPSHRDVD/VPSHRDVQ
2019-12-13 12:34:16 +00:00
Stanislav Shwartsman
9bbf43ed4b
fixed decoding of AVX512_VNNI instructions
2019-12-13 08:39:23 +00:00
Stanislav Shwartsman
27e96c807c
fixed decoding of VPBROADCASTMW2D opcode
2019-12-13 08:09:18 +00:00
Stanislav Shwartsman
49ceb971cd
apply SF patch #1409 usb_msd failing to read/write requests larger than 131k
2019-12-12 18:05:20 +00:00
Volker Ruppert
8945fa4895
Added missing HPET entry in devices tree
2019-12-11 17:06:45 +00:00
Stanislav Shwartsman
7090abe1a1
fix one more place with incorrect detection of x2apic MSR space. use function instead of magic numbers in all places
2019-12-10 21:07:19 +00:00
Stanislav Shwartsman
e35fcd1782
clarify err message
2019-12-10 20:38:45 +00:00
Stanislav Shwartsman
6c8db0f569
simplify interfaces to DTLB/ITLB
2019-12-09 18:46:36 +00:00
Stanislav Shwartsman
4b66fecaad
split Bochs CPU TLB to DTLB and ITLB to avoid aliasing conflicts between them. ~5% speedup measured
2019-12-09 18:37:02 +00:00
Stanislav Shwartsman
311ef81e87
fixed comment
2019-12-09 18:16:29 +00:00
Stanislav Shwartsman
b228d22303
expose TLB_INDEX_OF for debugger compilation
2019-12-09 16:55:41 +00:00
Stanislav Shwartsman
8befc3bf82
make separate class for TLB to be used in CPU class. preparation to DTLB and ITLB split of TLB structure
2019-12-09 16:49:51 +00:00
Stanislav Shwartsman
44b3ebeca2
remove BX_TRUE/BX_FALSE macros, use stdc++ true/false instead
2019-12-09 16:44:36 +00:00
Stanislav Shwartsman
96e2c50bef
applying SF patch #545 Speling fixes
2019-12-09 16:29:23 +00:00
Stanislav Shwartsman
d7d80aa61c
apply SF patch #544 Use format specifiers in printf-based calls
2019-12-09 15:18:47 +00:00
Stanislav Shwartsman
a257f03c8b
update comment in usb_xhci.h
2019-12-09 15:14:23 +00:00
Stanislav Shwartsman
12d228abde
split vmx initialization to multiple methods for better code readability, improve VMX error messages
2019-12-08 20:46:51 +00:00
Stanislav Shwartsman
b3076793b7
fixed MSR range reserved for x2apic
2019-12-08 19:17:46 +00:00
Volker Ruppert
445bf01b2a
Removed deprecated function GetVersion() from eth_win32.cc and niclist.c.
...
Since the presence of UNICODE or ANSI format only depends on the PACKET.DLL
version, no Windows version check is necessary.
2019-12-08 18:14:30 +00:00
Volker Ruppert
038ebf5815
Replaced deprecated function GetVersionEx() with newer code based on Windows
...
Dev Center example (expecting Bochs is not used on hosts older than XP).
TODO: Similar changes required in eth_win32.cc and niclist.c.
2019-12-08 15:32:23 +00:00
Stanislav Shwartsman
aaa18f5384
applied patch: Some endian-conditional functions had incorrect signatures on BE hosts.
2019-12-07 06:10:30 +00:00
Stanislav Shwartsman
c7fdf6d428
add ability to read or write LVT_CMCI APIC register. It will never fire and interrupt as #MC is don't care but user can configure the interface
2019-12-06 19:38:59 +00:00
Stanislav Shwartsman
06d826755b
increase max configurable msrs to 0x1000 again
2019-12-06 12:31:51 +00:00
Stanislav Shwartsman
8c385f2a9a
fix in cpu features print
2019-12-06 11:05:05 +00:00
Stanislav Shwartsman
7861ff5160
fixed typo in feature name
2019-12-06 10:39:42 +00:00
Stanislav Shwartsman
0c75e0beaf
extract xcr0_support bits calculation to a function
2019-12-06 09:23:28 +00:00
Volker Ruppert
6bd7a954fc
Updated generated files.
2019-12-04 21:32:55 +00:00
Stanislav Shwartsman
2b394c9e9f
allow delivery of SMI or NMI from debugger using take command
2019-12-04 19:53:47 +00:00
Stanislav Shwartsman
893aa10359
cosmetic changes
2019-12-04 19:53:08 +00:00
Stanislav Shwartsman
79d6bf9d42
fixes for internal debugger for 64-bit guest debugging
2019-12-04 19:40:21 +00:00
Stanislav Shwartsman
276482e67d
fix set_PKRU method
2019-12-04 18:52:00 +00:00
Stanislav Shwartsman
951361a3a5
bugfix: PKRU should affect only user-mode memory accesses (bug in page translation)
2019-12-04 17:27:57 +00:00
Volker Ruppert
4aad922419
Now using wxFONTWEIGHT_XXX constant instead of deprecated one.
...
Removed some extra spaces.
2019-12-01 18:57:08 +00:00
Volker Ruppert
b950a2e192
Removed legacy subsystem version number (was required for XP compatiblity).
2019-12-01 17:32:40 +00:00
Volker Ruppert
eb37ec33b1
Updates after release (version number, release tag, minor devel doc update)
2019-12-01 13:30:34 +00:00
Volker Ruppert
26d79038da
Regenerated for release.
2019-12-01 07:59:22 +00:00
Volker Ruppert
c4b3f97ad0
Preparing release 2.6.10
2019-12-01 07:57:56 +00:00
Stanislav Shwartsman
20a14f3376
Update breif summary in CHANGES
2019-12-01 04:47:56 +00:00
Volker Ruppert
5a8066e093
Started preparing new Bochs release: summary of changes (to be completed).
2019-11-30 18:07:44 +00:00
Volker Ruppert
0a805faf02
Fixes related to Windows registry key for Bochs.
...
- Fixed typo in registry key created by installer.
- Updated registry key name used for BXSHARE environment variable generation.
2019-11-30 17:51:19 +00:00
Volker Ruppert
16d9d04ee7
Changed the name of the 3rd part of the Bochs version number from "patch" to "revision".
2019-11-30 12:20:00 +00:00
Volker Ruppert
5fac7314af
Some work on the NSIS win32 installer script.
...
- Added version check and reinstall page based on NSIS example.
- Since the registry keys changed with each Bochs version, it is not possible
to detect all of them. Added special code to make this possible for previous
version 2.6.9.
- Updated tested NSIS version number in docs.
2019-11-30 10:00:37 +00:00
Stanislav Shwartsman
4e9e3f85de
simplify code by merging two opcodes with similar behavior
2019-11-27 15:31:32 +00:00
Volker Ruppert
cb1c03efec
Add version information to NSIS installer script.
...
TODO: check for installed Bochs version and ofter suitable options.
2019-11-26 20:21:56 +00:00
Stanislav Shwartsman
cf23a59a55
silence compiler warning and do better code. no impact as both buffers are same size
2019-11-26 19:04:55 +00:00