diff options
author | Michael Brown <mcb30@ipxe.org> | 2021-05-12 10:55:17 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2021-05-12 11:03:01 +0100 |
commit | a6a8bb1a9a58becb82dfacc7bc27cf645d0e216c (patch) | |
tree | 9e38c4c1d3508b6821a3f70a96f2fee03889876d /src/image | |
parent | 05fcf1a2f0809b8d87ca5affea1f1bfe0996235b (diff) | |
download | ipxe-a6a8bb1a9a58becb82dfacc7bc27cf645d0e216c.tar.gz |
[undi] Read TSC only when profiling
Avoid using the "rdtsc" instruction unless profiling is enabled. This
allows the non-debug build of the UNDI driver to be used on a CPU such
as a 486 that does not support the TSC.
Reported-by: Nikolai Zhubr <n-a-zhubr@yandex.ru>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/image')
0 files changed, 0 insertions, 0 deletions