diff options
| author | Michael Brown | 2021-05-12 11:55:17 +0200 |
|---|---|---|
| committer | Michael Brown | 2021-05-12 12:03:01 +0200 |
| commit | a6a8bb1a9a58becb82dfacc7bc27cf645d0e216c (patch) | |
| tree | 9e38c4c1d3508b6821a3f70a96f2fee03889876d /src/core | |
| parent | [rng] Check for TSC support before using RTC entropy source (diff) | |
| download | ipxe-a6a8bb1a9a58becb82dfacc7bc27cf645d0e216c.tar.gz ipxe-a6a8bb1a9a58becb82dfacc7bc27cf645d0e216c.tar.xz ipxe-a6a8bb1a9a58becb82dfacc7bc27cf645d0e216c.zip | |
[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/core')
0 files changed, 0 insertions, 0 deletions
