coreboot/payloads
Subrata Banik 7f822a3368 libpayload/x86: Add x86-64 support to rdtsc()
This patch adds support for x86-64 to the rdtsc() function, allowing
it to correctly read the Time Stamp Counter (TSC) on both 32-bit and
64-bit x86 architectures.

BUG=b:242829490, b:351851626
TEST=Builds and boots on google/rex0 and google/rex64 systems and
manually verified correct TSC readings on x86-32 and x86-64 hardware.

Change-Id: I0afac3db2e82a245a37c2e5cf2302bf1dad62c01
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/83414
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Julius Werner <jwerner@chromium.org>
2024-07-11 15:27:30 +00:00
..
coreinfo cbfs: Remove broken remnants of PAYLOAD_INFO feature 2024-03-13 18:51:11 +00:00
external payloads/ipxe/kconfig: Fix option name prefix 2024-07-09 01:59:08 +00:00
libpayload libpayload/x86: Add x86-64 support to rdtsc() 2024-07-11 15:27:30 +00:00
linuxcheck treewide: Remove "this file is part of" lines 2020-05-11 17:11:40 +00:00
nvramcui payloads/nvramcui/nvramcui.c: Reformat code 2022-05-16 02:49:50 +00:00
Kconfig payloads: allow selecting a file for FLAT_BINARY 2024-03-13 17:09:20 +00:00
Makefile.mk payloads: Add leanefi payload 2024-06-04 00:26:14 +00:00