You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
525 B
20 lines
525 B
/*
|
|
* timer.h: Definitions for the timer chips on the Sparc.
|
|
*
|
|
* Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
|
|
*/
|
|
|
|
|
|
#ifndef _SPARC_TIMER_H
|
|
#define _SPARC_TIMER_H
|
|
|
|
#include <asm/system.h> /* For SUN4M_NCPUS */
|
|
#include <asm/btfixup.h>
|
|
|
|
extern __volatile__ unsigned int *master_l10_counter;
|
|
|
|
/* FIXME: Make do_[gs]ettimeofday btfixup calls */
|
|
BTFIXUPDEF_CALL(int, bus_do_settimeofday, struct timespec *tv)
|
|
#define bus_do_settimeofday(tv) BTFIXUP_CALL(bus_do_settimeofday)(tv)
|
|
|
|
#endif /* !(_SPARC_TIMER_H) */
|
|
|