1// Copyright 2017 The Fuchsia Authors
2//
3// Use of this source code is governed by a MIT-style
4// license that can be found in the LICENSE file or at
5// https://opensource.org/licenses/MIT
6
7#include <arch/x86/feature.h>
8#include <arch/x86/timer_freq.h>
9
10uint64_t x86_lookup_core_crystal_freq() {
11    return x86_get_microarch_config()->get_apic_freq();
12}
13
14uint64_t x86_lookup_tsc_freq() {
15    return x86_get_microarch_config()->get_tsc_freq();
16}
17