15 #ifndef _RTEMS_SCORE_SPARCIMPL_H 16 #define _RTEMS_SCORE_SPARCIMPL_H 33 void _SPARC_Counter_at_tick_clock(
void );
35 CPU_Counter_ticks _SPARC_Counter_read_default(
void );
37 CPU_Counter_ticks _SPARC_Counter_read_up(
void );
39 CPU_Counter_ticks _SPARC_Counter_read_down(
void );
41 CPU_Counter_ticks _SPARC_Counter_read_clock_isr_disabled(
void );
43 CPU_Counter_ticks _SPARC_Counter_read_clock(
void );
45 CPU_Counter_ticks _SPARC_Counter_read_asr23(
void );
47 uint32_t _SPARC_Get_timecount_up(
struct timecounter * );
49 uint32_t _SPARC_Get_timecount_down(
struct timecounter * );
51 uint32_t _SPARC_Get_timecount_clock(
struct timecounter * );
53 uint32_t _SPARC_Get_timecount_asr23(
struct timecounter * );
60 #define SPARC_COUNTER_DEFINITION \ 62 "\t.global\t_SPARC_Counter\n" \ 63 "\t.global\t_SPARC_Counter_mutable\n" \ 64 "\t.section\t.data._SPARC_Counter,\"aw\",@progbits\n" \ 66 "\t.type\t_SPARC_Counter, #object\n" \ 67 "\t.size\t_SPARC_Counter, 28\n" \ 69 "_SPARC_Counter_mutable:\n" \ 70 "\t.long\t_SPARC_Counter_read_default\n" \ 71 "\t.long\t_SPARC_Counter_read_default\n" \
SPARC CPU Department Source.