[timer] Rewrite the 8254 Programmable Interval Timer support
authorMichael Brown <mcb30@ipxe.org>
Tue, 17 Feb 2015 16:24:02 +0000 (16:24 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 17 Feb 2015 16:24:02 +0000 (16:24 +0000)
commit08189df4e0e4d2a4e941e638fb5f8a17115190b8
treecf63e0279522a13ec07db1d9a8e041b00138ec59
parent320e786d3dd58153355b91900ab5eb9edb7a0f50
[timer] Rewrite the 8254 Programmable Interval Timer support

The 8254 timer code (used to implement udelay()) has an unknown
provenance.  Rewrite this code to avoid potential licensing
uncertainty.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/i386/core/rdtsc_timer.c
src/arch/i386/core/timer2.c [deleted file]
src/arch/i386/include/ipxe/bios_timer.h
src/arch/i386/include/ipxe/timer2.h [deleted file]
src/arch/x86/core/pit8254.c [new file with mode: 0644]
src/arch/x86/include/ipxe/pit8254.h [new file with mode: 0644]