Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 2038 → Rev 2044

/trunk/kernel/arch/sparc64/include/cycle.h
39,7 → 39,7
 
static inline uint64_t get_cycle(void)
{
return 0; /* not yet supported */
return tick_read();
}
 
#endif
/trunk/kernel/arch/sparc64/include/cpu.h
55,6 → 55,9
uint32_t mid; /**< Processor ID as read from UPA_CONFIG. */
ver_reg_t ver;
uint32_t clock_frequency; /**< Processor frequency in MHz. */
uint64_t next_tick_cmpr; /**< Next clock interrupt should be
* generated in this amount of ticks.
*/
};
#endif