Bochs/bochs/cpu
Stanislav Shwartsman 58c047c6d6 Merge part of PR by rei141
Fixes in VM Entry Checks for Guest Segment Registers #51

Correction in Type range checks for DS, ES, FS, GS:
The original code erroneously applied the check for types less than 11, excluding types equal to 11.
This is not in accordance with Intel SDM, Vol. 3C, Chapter 27.3.1.2, which states that the check should include types equal to or less than 11.
This fix corrects this by including types equal to or less than 11 in the check.
2023-08-20 18:52:53 +03:00
..
avx changes (c) date 2022-10-02 23:26:57 +03:00
cpudb cpudb: extend strings that are too small 2023-02-22 12:03:02 -08:00
decoder fixed compilation of instrumentation examples with debugger OFF 2023-04-06 22:18:01 +03:00
fpu remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
3dnow.cc cleanup return value of all instruction handlers 2018-02-16 07:57:32 +00:00
access2.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
access.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
access.h keep def of YMM/ZMM register even if AVX or EVEX are not compiled in and let reading/writing them to MEM 2018-04-04 19:31:56 +00:00
aes.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
apic.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
apic.h remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
arith8.cc cleanup return value of all instruction handlers 2018-02-16 07:57:32 +00:00
arith16.cc cleanup return value of all instruction handlers 2018-02-16 07:57:32 +00:00
arith32.cc cleanup return value of all instruction handlers 2018-02-16 07:57:32 +00:00
arith64.cc cleanup return value of all instruction handlers 2018-02-16 07:57:32 +00:00
bcd.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
bit16.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
bit32.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
bit64.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
bit.cc cleanup return value of all instruction handlers 2018-02-16 07:57:32 +00:00
bmi32.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
bmi64.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
call_far.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
cet.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
cmpccxadd32.cc a little coding style unification 2022-10-08 20:35:36 +03:00
cmpccxadd64.cc a little coding style unification 2022-10-08 20:35:36 +03:00
cpu.cc Fixed instruction pointer truncation in gdbstub 2023-05-25 00:00:24 +03:00
cpu.h Implemented CMPccXADD instructions 2022-10-08 20:04:22 +03:00
cpuid.cc Implemented CMPccXADD instructions 2022-10-08 20:04:22 +03:00
cpuid.h add CPUID definitions disclosed in recent Intel SDM 2022-10-01 14:11:45 +03:00
cpustats.h remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
crc32.cc change a bit more defines to const with type 2019-12-26 16:48:33 +00:00
crregs.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
crregs.h list in debug CR4 more already published bits (UINTR) 2022-07-30 19:15:32 +03:00
ctrl_xfer16.cc use boolean constants true/false instead of 0/1 (#26) 2022-07-30 18:38:22 +03:00
ctrl_xfer32.cc use boolean constants true/false instead of 0/1 (#26) 2022-07-30 18:38:22 +03:00
ctrl_xfer64.cc use boolean constants true/false instead of 0/1 (#26) 2022-07-30 18:38:22 +03:00
ctrl_xfer_pro.cc Add initial implementation of the CET (Control Flow Enforcement Technology) emulation according to SDM071 2019-12-20 07:42:07 +00:00
data_xfer8.cc cleanup return value of all instruction handlers 2018-02-16 07:57:32 +00:00
data_xfer16.cc improvement of the magic breakpoints fix #55 (#58) 2023-08-20 18:21:16 +03:00
data_xfer32.cc cleanup return value of all instruction handlers 2018-02-16 07:57:32 +00:00
data_xfer64.cc cleanup return value of all instruction handlers 2018-02-16 07:57:32 +00:00
debugstuff.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
descriptor.h convert many consts from #define to enum or const variables (#23) 2022-07-27 23:20:47 +03:00
event.cc implemented VMX Monitor Trap Flag handling 2022-08-16 21:17:05 +03:00
exception.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
faststring.cc Removed SVN property "executable" from some files. 2021-02-21 09:25:33 +00:00
flag_ctrl_pro.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
flag_ctrl.cc cleanup return value of all instruction handlers 2018-02-16 07:57:32 +00:00
fpu_emu.cc cleanup return value of all instruction handlers 2018-02-16 07:57:32 +00:00
generic_cpuid.cc solve code duplication between different cpudb models 2021-02-16 18:57:49 +00:00
generic_cpuid.h solve code duplication between different cpudb models 2021-02-16 18:57:49 +00:00
gf2.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
i387.h coding style changes, tab2space, macro2function or macro2const 2019-10-17 19:23:27 +00:00
icache.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
icache.h remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
init.cc updates to MTF code: 2022-08-16 21:37:36 +03:00
io.cc ! CPUID: Added TigerLake CPU definition (features CET and CLWB support) 2021-01-30 08:35:35 +00:00
iret.cc Add initial implementation of the CET (Control Flow Enforcement Technology) emulation according to SDM071 2019-12-20 07:42:07 +00:00
jmp_far.cc Add initial implementation of the CET (Control Flow Enforcement Technology) emulation according to SDM071 2019-12-20 07:42:07 +00:00
lazy_flags.h remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
load.cc dos2unix to all files 2022-07-30 14:31:16 +03:00
logical8.cc cleanup return value of all instruction handlers 2018-02-16 07:57:32 +00:00
logical16.cc more faststring cleanup 2019-10-14 14:54:07 +00:00
logical32.cc more faststring cleanup 2019-10-14 14:54:07 +00:00
logical64.cc cleanup return value of all instruction handlers 2018-02-16 07:57:32 +00:00
Makefile.in Implemented CMPccXADD instructions 2022-10-08 20:04:22 +03:00
mmx.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
msr.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
msr.h remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
mult8.cc cleanup return value of all instruction handlers 2018-02-16 07:57:32 +00:00
mult16.cc cleanup return value of all instruction handlers 2018-02-16 07:57:32 +00:00
mult32.cc cleanup return value of all instruction handlers 2018-02-16 07:57:32 +00:00
mult64.cc extract Bit128 arithmetic to separate wide_int.cc/wide_int.h compiled independently of long mode emulation 2020-05-19 16:01:23 +00:00
mwait.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
paging.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
proc_ctrl.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
protect_ctrl.cc VMX: fixed exit qualification info for VMREAD/VMWRITE instructions 2021-07-03 14:31:14 +00:00
rdrand.cc VMX: fixed exit qualification info for VMREAD/VMWRITE instructions 2021-07-03 14:31:14 +00:00
ret_far.cc Add initial implementation of the CET (Control Flow Enforcement Technology) emulation according to SDM071 2019-12-20 07:42:07 +00:00
scalar_arith.h dos2unix to all files 2022-07-30 14:31:16 +03:00
segment_ctrl_pro.cc ! CPUID: Added TigerLake CPU definition (features CET and CLWB support) 2021-01-30 08:35:35 +00:00
segment_ctrl.cc VMX: save guest CET state to VMCS on vmexit 2019-12-27 13:02:30 +00:00
sha.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
shift8.cc cleanup return value of all instruction handlers 2018-02-16 07:57:32 +00:00
shift16.cc cleanup return value of all instruction handlers 2018-02-16 07:57:32 +00:00
shift32.cc cleanup return value of all instruction handlers 2018-02-16 07:57:32 +00:00
shift64.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
simd_compare.h Implement AVX512BW and AVX512DQ extensions published in recently published Intel Archtecture Extensions manual rev20. 2014-07-18 11:14:25 +00:00
simd_int.h add support for AVX encoded VNNI INT8 extensions 2022-10-02 23:00:46 +03:00
simd_pfp.h remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
smm.cc use boolean constants true/false instead of 0/1 (#26) 2022-07-30 18:38:22 +03:00
smm.h convert many consts from #define to enum or const variables (#23) 2022-07-27 23:20:47 +03:00
soft_int.cc cleanup return value of all instruction handlers 2018-02-16 07:57:32 +00:00
sse_move.cc cleanup return value of all instruction handlers 2018-02-16 07:57:32 +00:00
sse_pfp.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
sse_rcp.cc cleanup return value of all instruction handlers 2018-02-16 07:57:32 +00:00
sse_string.cc use boolean constants true/false instead of 0/1 (#26) 2022-07-30 18:38:22 +03:00
sse.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
stack16.cc cleanup return value of all instruction handlers 2018-02-16 07:57:32 +00:00
stack32.cc cleanup return value of all instruction handlers 2018-02-16 07:57:32 +00:00
stack64.cc cleanup return value of all instruction handlers 2018-02-16 07:57:32 +00:00
stack.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
stack.h Add initial implementation of the CET (Control Flow Enforcement Technology) emulation according to SDM071 2019-12-20 07:42:07 +00:00
string.cc remove pc_system.h from bochs.h and include it only where required 2021-01-30 18:29:28 +00:00
svm.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
svm.h implement MSR PAR handling in AMD SVM 2021-03-21 15:33:18 +00:00
tasking.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
tlb.h fixed some MSVC wannings in CPU code 2021-02-08 13:06:44 +00:00
todo Add initial implementation of the CET (Control Flow Enforcement Technology) emulation according to SDM071 2019-12-20 07:42:07 +00:00
vapic.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
vm8086.cc Add initial implementation of the CET (Control Flow Enforcement Technology) emulation according to SDM071 2019-12-20 07:42:07 +00:00
vmcs.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
vmexit.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
vmfunc.cc cleanup return value of all instruction handlers 2018-02-16 07:57:32 +00:00
vmx.cc Merge part of PR by rei141 2023-08-20 18:52:53 +03:00
vmx.h remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
wide_int.cc extract Bit128 arithmetic to separate wide_int.cc/wide_int.h compiled independently of long mode emulation 2020-05-19 16:01:23 +00:00
wide_int.h remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
xmm.h remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00
xsave.cc remove trailing whitespace from source files 2022-08-23 21:46:04 +03:00