Commit b5a9e8b0 authored by Najumon B.A's avatar Najumon B.A Committed by Carles Cufi
Browse files

arch: x86: add a sperate timer interface for acpica lib



add a separate timer interface for acpica lib instead of using
system timer which might use driver interface such as HPET and this
might cause init priority issue if a driver which need to init
before system timer driver instantiate.

Signed-off-by: default avatarNajumon B.A <najumon.ba@intel.com>
parent 5273af6b
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -26,4 +26,9 @@ static inline void *acpi_rsdp_get(void)
	return bios_acpi_rsdp_get();
}
#endif /* CONFIG_X86_EFI */

static inline uint64_t acpi_timer_get(void)
{
	return z_tsc_read();
}
#endif /* ZEPHYR_ARCH_X86_INCLUDE_X86_ACPI_H_ */