Benjamin David Lunt
eae6bf9396
Close cdrom image file on eject ( #145 )
...
The WIN32 configuration for the cdrom was not closing the image file on
eject. This left the handle open while Bochs was running, not allowing
the image file to be modified.
2023-11-23 08:40:39 +02:00
Benjamin David Lunt
5f6e855350
update changes ( #143 )
...
Per Volker's request, moved some items to there correct location.
2023-11-22 08:27:05 +02:00
Shwartsman
f4f41cffc4
fix code duplication and optimize code
2023-11-21 20:26:48 +02:00
Shwartsman
f47ed2a5f7
fixed one more gcc warning
2023-11-21 16:12:53 +02:00
Shwartsman
d39c93a3c6
fixed 'misleading indentation' warning and also make statement more clear
2023-11-21 16:11:48 +02:00
Stanislav Shwartsman
fcf44b2b5e
Merge branch 'master' of https://github.com/bochs-emu/Bochs
2023-11-21 15:44:33 +02:00
Stanislav Shwartsman
f90fdbc353
add methods to query local apic state
2023-11-21 15:43:38 +02:00
Shwartsman
591e2aa79f
bugfix: when CET was not compiled in the emulation behavior of non-CET CPU was altered
...
CET 'change' some x86 behavior
For example EPTP[7] become not-reserved and write to it not fail anymore
VMX doesn't check error code for CP exception if CET is enabled
These behaviors these changed even when CET was not compiled in
2023-11-21 15:35:49 +02:00
Benjamin David Lunt
01a262306f
Improved and enhanced the floppy emulation ( #135 )
...
This improves and enhances the floppy emulation.
This adds the ability to specify a controller type.
This adds all but one, known, controller command.
This fixes the format command. Issue #123
This fixes the error with older Windows guests.
2023-11-21 09:35:07 +02:00
Benjamin David Lunt
5683da27e8
reset status bar items at reset ( #142 )
...
When the user presses the "Reset" button on the gui ribbon, we need to
clear the active status of all statusbar items or they remain set after
the reset occurs.
This is mentioned in issue https://github.com/bochs-emu/Bochs/issues/136
2023-11-21 08:58:21 +02:00
Shwartsman
bd4cb7ffa6
fixed compilation without SVM configured in
2023-11-20 19:10:46 +02:00
Shwartsman
0cc21d166d
fixed compilation with CET not compiled in
2023-11-20 15:24:57 +02:00
Shwartsman
04ffb4cf03
fixed compilation with .conf.nothing
2023-11-19 23:55:52 +02:00
Shwartsman
a7a443ab46
guard SVM functions with ifdef
2023-11-19 23:24:13 +02:00
Stanislav Shwartsman
36a1a3df86
fixed FPATAN for case of |x|=|y|
...
but i am pretty sure same problem might still exists for other arguments :(
need to resurrect FPU functions unit testing ...
2023-11-19 22:00:46 +02:00
Stanislav Shwartsman
0b2231b799
fixed comment
2023-11-19 20:46:53 +02:00
Stanislav Shwartsman
c1c102ab04
coding style, cleanups and optimizations
2023-11-19 20:31:05 +02:00
Volker Ruppert
a9a15d332b
Modified error handling for display library option 'gui_debug'.
...
If Bochs debugger is not present now showing an error message box instead of a BX_PANIC for unknown option.
2023-11-19 16:16:09 +01:00
Stanislav Shwartsman
a923880b47
fix compilation warning
2023-11-19 07:54:40 +02:00
Stanislav Shwartsman
7886369102
simplify rdrand code for future extension
2023-11-19 07:29:10 +02:00
Stanislav Shwartsman
26f60a6ea4
spelling fix in the comment
2023-11-18 21:48:42 +02:00
Stanislav Shwartsman
ffec6a1898
Merge branch 'master' of https://github.com/bochs-emu/Bochs
2023-11-18 20:18:07 +02:00
Stanislav Shwartsman
12ce649b42
fix GFNI instructions emulation
2023-11-18 20:15:29 +02:00
Volker Ruppert
6aa399e9eb
Added x64 configuration for the VS2019 plugins workspace (fixes issue #8 ).
...
Since VS2019 didn't copy all settings from win32, manually editing all files
was necessary (adding OutDir/IntDir stuff).
2023-11-18 17:08:05 +01:00
Stanislav Shwartsman
a0334ef2b2
change some consts back to defines to simplify integration of code to support variable PA length (rest of the code still WIP)
2023-11-18 16:53:44 +02:00
Stanislav Shwartsman
86082838af
added missing else which caused redundant memory access for 512-bit loads
2023-11-18 14:52:55 +02:00
Stanislav Shwartsman
054767ff8c
enable MOVDIRI for TigerLake
2023-11-18 12:35:28 +02:00
Stanislav Shwartsman
a3fe8c2c8d
introduce get_efer_allow_mask function to avoid placing that code directly in init.cc
2023-11-17 23:40:28 +02:00
Stanislav Shwartsman
9bda4eba28
introduce GET64_FROM_HI32_LO32 to form 64-bit integer from 2 32-bit
2023-11-17 23:31:38 +02:00
Stanislav Shwartsman
a9625e949d
update crregs.h with all known XSAVE/XRESTOR state information
...
including not implemented state
2023-11-17 23:24:00 +02:00
Stanislav Shwartsman
0730ff4c4a
added a comment for future: some memory operations must be done atomically
...
these are include LOCKed RMW of course and also a lot of others
in the future it will be very hard to find all the cases that must be atomic so better to start marking them already now
try to mark every RMW case for atomicity requirements
no code changes, only comments
2023-11-17 23:18:43 +02:00
Stanislav Shwartsman
1ad2ee6d4c
use isReadOK instead of magic arithmetic for system_read_* methods
...
introduce system_write_qword as well
2023-11-17 23:14:38 +02:00
Stanislav Shwartsman
db17e4a4e2
Revert "reset status bar items at reset" ( #137 )
...
Reverts bochs-emu/Bochs#136
2023-11-17 09:37:46 +02:00
Benjamin David Lunt
c247b43718
reset status bar items at reset ( #136 )
...
When the user presses the "Reset" button on the gui ribbon, we need to
clear the active status of all statusbar items or they remain set after
the reset occurs.
This is mentioned in issue #123
2023-11-17 09:36:56 +02:00
Stanislav Shwartsman
447f18e53b
Merge branch 'master' of https://github.com/bochs-emu/Bochs
2023-11-17 01:35:39 +02:00
Stanislav Shwartsman
01e744b507
bugfix for CET/XSAVE: XSAVE/XRESTOR wrongly determined if CTE.U is in XINIT state
2023-11-17 01:35:32 +02:00
Volker Ruppert
eec7a55c46
Fixed another gcc 13.2 warning (overloaded virtual).
2023-11-16 19:47:59 +01:00
Volker Ruppert
def53a2928
Fixed gui DLL name.
2023-11-15 23:33:27 +01:00
Stanislav Shwartsman
a9d07b5a51
coding style, move variables definition closer to its use, use constants instead of defines
2023-11-14 20:14:38 +02:00
Stanislav Shwartsman
baaaf1b9a7
update CHANGES
2023-11-14 19:31:37 +02:00
Stanislav Shwartsman
4941bb1f07
sync emulated time when linking traces
2023-11-14 19:26:56 +02:00
Stanislav Shwartsman
fde226f31c
improve fix for VMCS_GUEST_PENDING_DBG_EXCEPTIONS saved on VMEXIT (should be cleared after most of VMEXITs)
...
handle some corner cases
2023-11-14 15:59:59 +02:00
Stanislav Shwartsman
60cc8020e8
Fixed VMCS_GUEST_PENDING_DBG_EXCEPTIONS saved on VMEXIT (should be cleared after most of VMEXITs)
2023-11-13 20:02:03 +02:00
Volker Ruppert
413507ee3a
Trying to load a 'builtin' plugin twice must cause a BX_PANIC (same as plugin version).
2023-11-12 21:00:14 +01:00
Volker Ruppert
04941fd511
Added support for cross-compiling for win64 with plugins enabled.
2023-11-12 20:15:51 +01:00
Stanislav Shwartsman
b54b135d29
Updated plugins workspace after memory code changes
2023-11-12 20:30:07 +02:00
Stanislav Shwartsman
1401bd50e1
Merge branch 'master' of https://github.com/bochs-emu/Bochs
2023-11-12 20:28:26 +02:00
Stanislav Shwartsman
a9457e466c
fixed compilation with debugger
2023-11-12 20:28:12 +02:00
Volker Ruppert
654f8796fb
Updated standard workspace after memory code changes.
2023-11-12 17:37:03 +01:00
Shwartsman
cc6f8284ff
Merge branch 'master' of https://github.com/bochs-emu/Bochs
2023-11-12 17:17:01 +02:00