nuttx/arch/x86_64
ouyangxiangzhen dc7d3470e6 arch/x86_64: Fix wrong RDTSCP implementation
RDTSCP instruction reads the current value of the processor’s
time-stamp counter (a 64-bit MSR) into the EDX:EAX registers, and it
also reads the value of the IA32_TSC_AUX MSR (address C0000103H) into
the ECX register. However, the current RDTSCP implementation does not
provide a hint for the compiler that ECX has been changed, resulting in
register corrupted and subtle errors.

Signed-off-by: ouyangxiangzhen <ouyangxiangzhen@xiaomi.com>
2024-09-06 17:27:20 +02:00
..
include arch/x86_64: Fix wrong RDTSCP implementation 2024-09-06 17:27:20 +02:00
src arch/x86_64: Support QEMU PVH ELF loader 2024-09-06 20:56:46 +08:00
CMakeLists.txt arch/x86_64: add cmake support 2024-02-23 07:45:57 +08:00
Kconfig arch/x86_64: Support QEMU PVH ELF loader 2024-09-06 20:56:46 +08:00