summaryrefslogtreecommitdiff
path: root/src/ec
diff options
context:
space:
mode:
authorPatrick Rudolph <patrick.rudolph@9elements.com>2020-09-24 20:32:53 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-09-28 09:36:00 +0000
commit0348bbe9715710eca2ac93b535128cd0a5238d30 (patch)
treebe47640fe178efd7f1055744eeac5f24be87393f /src/ec
parent597922ecb4ab02467ab07ce86b0258da6b67ee99 (diff)
include/cpu/x86/tsc: Fix rdtsc on x86_64
The used assembler code only works on x86_32, but not on x86_64. Use the inline functions to provide valid rdtsc readings on both x86_32 and x86_64. Tested on Lenovo T410 with additional x86_64 patches. Change-Id: Icf706d6fb751372651e5e56d1856ddad688d9fa3 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45702 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/ec')
0 files changed, 0 insertions, 0 deletions