|
| __asm__ ("\t.section\t\".text\"\n" "\t.align\t4\n" "\t.globl\t_CPU_Counter_read\n" "\t.globl\t_SPARC_Counter_read_ISR_disabled\n" "\t.type\t_CPU_Counter_read, #function\n" "\t.type\t_SPARC_Counter_read_ISR_disabled, #function\n" "_CPU_Counter_read:\n" "_SPARC_Counter_read_ISR_disabled:\n" "\tsethi\t%hi(leon3_timecounter_instance), %o0\n" "\tld [%o0 + %lo(leon3_timecounter_instance)], %o1\n" "\tor\t%o0, %lo(leon3_timecounter_instance), %o0\n" "\tor\t%o7, %g0, %g1\n" "\tcall\t%o1, 0\n" "\t or\t%g1, %g0, %o7\n" "\t.previous\n") |
|
uint32_t | _CPU_Counter_frequency (void) |
| Gets the current CPU counter frequency in Hz. More...
|
|
| RTEMS_SYSINIT_ITEM (leon3_counter_initialize, RTEMS_SYSINIT_CPU_COUNTER, RTEMS_SYSINIT_ORDER_FIRST) |
|
This source file contains the implementation of the CPU Counter.