diff options
Diffstat (limited to 'core/test')
-rw-r--r-- | core/test/run-timer.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/test/run-timer.c b/core/test/run-timer.c index 986af28d..159e007a 100644 --- a/core/test/run-timer.c +++ b/core/test/run-timer.c @@ -4,12 +4,15 @@ #define __TEST__ #include <timer.h> +#include <skiboot.h> #define mftb() (stamp) #define sync() #define smt_lowest() #define smt_medium() +enum proc_gen proc_gen = proc_gen_p9; + static uint64_t stamp, last; struct lock; static inline void lock_caller(struct lock *l, const char *caller) @@ -53,6 +56,11 @@ void p8_sbe_update_timer_expiry(uint64_t new_target) /* FIXME: do intersting SLW timer sim */ } +void p9_sbe_update_timer_expiry(uint64_t new_target) +{ + (void)new_target; +} + int main(void) { unsigned int i; |