cpu/x86/tsc/delay_tsc.c: Drop CAR_GLOBAL_MIGRATION support
Change-Id: I0a1e9fcea54444a84cc0a6ac30fe7d053261bb1c Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/37049 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
9e1ea54b18
commit
4e223db66c
|
@ -11,7 +11,6 @@
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <arch/early_variables.h>
|
|
||||||
#include <cpu/x86/tsc.h>
|
#include <cpu/x86/tsc.h>
|
||||||
#include <pc80/i8254.h>
|
#include <pc80/i8254.h>
|
||||||
#include <smp/spinlock.h>
|
#include <smp/spinlock.h>
|
||||||
|
@ -49,11 +48,11 @@ static struct monotonic_counter {
|
||||||
int initialized;
|
int initialized;
|
||||||
struct mono_time time;
|
struct mono_time time;
|
||||||
uint64_t last_value;
|
uint64_t last_value;
|
||||||
} mono_counter_g CAR_GLOBAL;
|
} mono_counter_g;
|
||||||
|
|
||||||
static inline struct monotonic_counter *get_monotonic_context(void)
|
static inline struct monotonic_counter *get_monotonic_context(void)
|
||||||
{
|
{
|
||||||
return car_get_var_ptr(&mono_counter_g);
|
return &mono_counter_g;
|
||||||
}
|
}
|
||||||
|
|
||||||
void timer_monotonic_get(struct mono_time *mt)
|
void timer_monotonic_get(struct mono_time *mt)
|
||||||
|
|
Loading…
Reference in New Issue