base-hw: Remove unused rdtsc function for x86_64

This function has no callers. Clang warns about this.

Issue #3950
This commit is contained in:
Piotr Tworek 2020-11-13 00:16:22 +01:00 committed by Christian Helmuth
parent cc7de65c9e
commit 50ab86cd72

View File

@ -246,13 +246,6 @@ struct Lapic : Mmio
Lapic(addr_t const addr) : Mmio(addr) { }
};
static inline Genode::uint64_t rdtsc()
{
Genode::uint32_t lo, hi;
asm volatile("rdtsc" : "=a" (lo), "=d" (hi));
return (Genode::uint64_t)hi << 32 | lo;
}
static inline void ipi_to_all(Lapic &lapic, unsigned const boot_frame,
Lapic::Icr_low::Delivery_mode::Mode const mode)
{