Changes in kernel/arch/sparc64/include/drivers/tick.h [d46f5cc:b3f8fb7] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/include/drivers/tick.h
rd46f5cc rb3f8fb7 27 27 */ 28 28 29 /** @addtogroup sparc64 29 /** @addtogroup sparc64 30 30 * @{ 31 31 */ … … 36 36 #define KERN_sparc64_TICK_H_ 37 37 38 #include <arch/asm.h>39 38 #include <arch/interrupt.h> 40 39 41 /* mask of the "counter" field of the Tick register */42 #define TICK_COUNTER_MASK (~(1l << 63))43 44 40 extern void tick_init(void); 45 extern void tick_interrupt(unsigned int, istate_t *); 46 47 /** 48 * Reads the Tick register counter. 49 */ 50 static inline uint64_t tick_counter_read(void) 51 { 52 return TICK_COUNTER_MASK & tick_read(); 53 } 41 extern void tick_interrupt(int n, istate_t *istate); 54 42 55 43 #endif
Note:
See TracChangeset
for help on using the changeset viewer.