mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-23 15:32:25 +00:00
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:
parent
cc7de65c9e
commit
50ab86cd72
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user