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
|
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 |
|
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 |
|
Stanislav Shwartsman
|
893aa10359
|
cosmetic changes
|
2019-12-04 19:53:08 +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 |
|
Stanislav Shwartsman
|
4e9e3f85de
|
simplify code by merging two opcodes with similar behavior
|
2019-11-27 15:31:32 +00:00 |
|
Stanislav Shwartsman
|
36991e9f59
|
fixed typo in comment
|
2019-11-26 17:39:09 +00:00 |
|
Stanislav Shwartsman
|
7833a82347
|
fixed bug in instruction decoding - regression before release
|
2019-11-22 17:46:54 +00:00 |
|
Stanislav Shwartsman
|
3b9db9e4cd
|
fixed bug in faststring optimizations recently introduced
|
2019-11-22 10:54:36 +00:00 |
|
Stanislav Shwartsman
|
46b862fe5e
|
do not truncate disasm branch target in 64-bit mode
|
2019-11-20 20:41:03 +00:00 |
|
Stanislav Shwartsman
|
a030d03935
|
fixed bug in instruction decoding - regression before release
|
2019-11-20 20:18:22 +00:00 |
|
Stanislav Shwartsman
|
83846cc821
|
fixed bug in instruction decoding - regression before release
|
2019-11-20 20:11:00 +00:00 |
|
Stanislav Shwartsman
|
82b6f7cb6c
|
fixed bug in instruction decoding - regression before release
|
2019-11-20 19:58:51 +00:00 |
|
Stanislav Shwartsman
|
00237b5c9d
|
add missing XSAVE_PKRU_STATE_LEN define
|
2019-11-12 22:02:02 +00:00 |
|
Stanislav Shwartsman
|
4aba3b54e7
|
do not use uint
|
2019-11-12 22:00:29 +00:00 |
|
Stanislav Shwartsman
|
b1e9701e5c
|
avoid goto
|
2019-11-12 21:48:54 +00:00 |
|
Stanislav Shwartsman
|
8d7bffa311
|
optimize highest_priority_int routine
|
2019-11-12 21:42:57 +00:00 |
|
Stanislav Shwartsman
|
8d13fb3ffd
|
rewritten APIC interfaces to hold irr/isr/tmr in Bit32u values instead of array of bytes
|
2019-11-12 21:15:29 +00:00 |
|
Stanislav Shwartsman
|
a70df308fa
|
add defines for CPUID bits published in latest SDM 071
|
2019-11-12 18:54:08 +00:00 |
|
Stanislav Shwartsman
|
c098ab7de1
|
take msr.ia32_spec_ctrl out of @ifdef CPU_LEVEL=6
|
2019-10-26 20:17:41 +00:00 |
|
Stanislav Shwartsman
|
d766cc8112
|
implemented SCA (Side-Channel-Attack) Prevention reporting and corresponding MSR registers, enabled for Icelake-U CPU definition
|
2019-10-26 20:09:30 +00:00 |
|
Stanislav Shwartsman
|
a580b0ccbe
|
cosmetic change with no logic affected
|
2019-10-24 20:33:05 +00:00 |
|
Stanislav Shwartsman
|
c97bb62b6c
|
VMX: Fix RDRAND/RDSEED VMEXIT Instruction-Information Field
|
2019-10-24 20:12:00 +00:00 |
|
Stanislav Shwartsman
|
330c691367
|
VMX: Fix RDRAND/RDSEED VMEXIT Instruction-Information Field
|
2019-10-24 20:10:56 +00:00 |
|
Stanislav Shwartsman
|
27e23ad1eb
|
give priority for VMX induced #UD in INVPCID and RDTSCP instructions over all other exeptions that could be generated there
|
2019-10-24 19:49:25 +00:00 |
|
Stanislav Shwartsman
|
72b9d26717
|
coding style changes, tab2space, macro2function or macro2const
|
2019-10-17 19:23:27 +00:00 |
|
Stanislav Shwartsman
|
eec720c62b
|
convert bochs.h macros to inline functions with strong types
|
2019-10-16 20:46:00 +00:00 |
|
Stanislav Shwartsman
|
64ae3fe1ba
|
convert bochs.h macros to inline functions with strong types
|
2019-10-16 20:19:34 +00:00 |
|
Stanislav Shwartsman
|
bb5ccc97c1
|
remove unused function parameter
|
2019-10-16 19:53:04 +00:00 |
|
Stanislav Shwartsman
|
9c61e9e9f5
|
remove unused function parameter
|
2019-10-16 19:48:21 +00:00 |
|
Stanislav Shwartsman
|
10c23b5d39
|
implement fasstring for 64-bit mode as well
|
2019-10-14 19:50:47 +00:00 |
|
Stanislav Shwartsman
|
9d7233a9b5
|
fixed code duplication in fast string invocaion code
|
2019-10-14 19:15:01 +00:00 |
|
Stanislav Shwartsman
|
bf16e720f8
|
add faststring mode for REP MOVSW in 32-bit mode
|
2019-10-14 18:12:37 +00:00 |
|
Stanislav Shwartsman
|
fe7acbb6a0
|
more faststring cleanup
|
2019-10-14 14:54:07 +00:00 |
|
Stanislav Shwartsman
|
ee3f1b91a3
|
allow fast string only for forward strings and simplify the code
|
2019-10-14 14:45:01 +00:00 |
|
Stanislav Shwartsman
|
f0245b5f2b
|
introduce special handlers for zero-idiom instructions - ~1% speedup to simulation. infra for fast string emulation in 64-bit mode
|
2019-10-14 06:40:19 +00:00 |
|
Stanislav Shwartsman
|
d6e08702e4
|
add Icelake-U model to CPUDB database. TODO: verify its VMX features
|
2019-09-24 20:26:14 +00:00 |
|
Stanislav Shwartsman
|
2ae332cce8
|
patch by Luigu.B - significantly speedup multi-threaded guest simulation
|
2019-08-09 19:57:13 +00:00 |
|
Stanislav Shwartsman
|
2eb47f866f
|
added minor clarifications based on most recent AMD SDM published
|
2019-07-30 18:17:21 +00:00 |
|
Stanislav Shwartsman
|
49ebaf8397
|
typofix: attached MASK_K0 attr to wrong opcode
|
2019-05-25 19:10:55 +00:00 |
|
Stanislav Shwartsman
|
bc4af1b08d
|
add missing break statement in disasm.cc
|
2019-05-25 19:08:39 +00:00 |
|