nuttx/arch/x86_64/include/intel64
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
..
arch.h arch/x86_64: remove 'ul' sufix from shift value 2024-08-25 19:22:15 +08:00
inttypes.h arch/x86_64/include/intel64/inttypes.h: Fix xxxPTR definitions 2020-11-22 01:46:42 -08:00
io.h arch: x86_64: fix Mixed Case errors 2021-04-07 10:48:26 -05:00
irq.h arch/x86_64: Fix wrong RDTSCP implementation 2024-09-06 17:27:20 +02:00
limits.h arch: Define WCHAR_[MIN|MAX] in arch/include/limits.h 2022-06-03 22:25:49 +03:00
types.h types.h: fix windows build error 2024-08-14 22:36:57 +08:00