diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/score/cpu/mips/rtems/score/cpu.h | 5 | ||||
-rw-r--r-- | cpukit/score/cpu/mips64orion/rtems/score/cpu.h | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/cpukit/score/cpu/mips/rtems/score/cpu.h b/cpukit/score/cpu/mips/rtems/score/cpu.h index ba0e15ab10..0722a81ca6 100644 --- a/cpukit/score/cpu/mips/rtems/score/cpu.h +++ b/cpukit/score/cpu/mips/rtems/score/cpu.h @@ -435,9 +435,12 @@ typedef struct { void (*stack_free_hook)( void* ); /* end of fields required on all CPUs */ - unsigned32 some_other_cpu_dependent_info; + unsigned32 clicks_per_microsecond; } rtems_cpu_table; +#define rtems_cpu_configuration_get_clicks_per_microsecond() \ + (_CPU_Table.clicks_per_microsecond) + /* * This variable is optional. It is used on CPUs on which it is difficult * to generate an "uninitialized" FP context. It is filled in by diff --git a/cpukit/score/cpu/mips64orion/rtems/score/cpu.h b/cpukit/score/cpu/mips64orion/rtems/score/cpu.h index ba0e15ab10..0722a81ca6 100644 --- a/cpukit/score/cpu/mips64orion/rtems/score/cpu.h +++ b/cpukit/score/cpu/mips64orion/rtems/score/cpu.h @@ -435,9 +435,12 @@ typedef struct { void (*stack_free_hook)( void* ); /* end of fields required on all CPUs */ - unsigned32 some_other_cpu_dependent_info; + unsigned32 clicks_per_microsecond; } rtems_cpu_table; +#define rtems_cpu_configuration_get_clicks_per_microsecond() \ + (_CPU_Table.clicks_per_microsecond) + /* * This variable is optional. It is used on CPUs on which it is difficult * to generate an "uninitialized" FP context. It is filled in by |