diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-11-26 23:01:34 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2007-11-26 23:01:34 +0000 |
commit | 1e2072e423da916e6ea01395ad845b603359422c (patch) | |
tree | 02406f3d98a8b813bcc41f07da65e597f9671d87 /cpukit/score/cpu | |
parent | 2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-1e2072e423da916e6ea01395ad845b603359422c.tar.bz2 |
2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com>
* rtems/score/cpu.h: Eliminate the clicks_per_microsecond field in the
SuperH CPU Table and define another mechanism for drivers to obtain
this information.
Diffstat (limited to 'cpukit/score/cpu')
-rw-r--r-- | cpukit/score/cpu/sh/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/score/cpu/sh/rtems/score/cpu.h | 8 |
2 files changed, 6 insertions, 8 deletions
diff --git a/cpukit/score/cpu/sh/ChangeLog b/cpukit/score/cpu/sh/ChangeLog index 3704799826..f210eda9e3 100644 --- a/cpukit/score/cpu/sh/ChangeLog +++ b/cpukit/score/cpu/sh/ChangeLog @@ -1,3 +1,9 @@ +2007-11-26 Joel Sherrill <joel.sherrill@oarcorp.com> + + * rtems/score/cpu.h: Eliminate the clicks_per_microsecond field in the + SuperH CPU Table and define another mechanism for drivers to obtain + this information. + 2007-05-09 Ralf Corsépius <ralf.corsepius@rtems.org> * rtems/score/cpu.h: Remove CPU_HAS_OWN_HOST_TO_NETWORK_ROUTINES. diff --git a/cpukit/score/cpu/sh/rtems/score/cpu.h b/cpukit/score/cpu/sh/rtems/score/cpu.h index 4c2d13c992..fd58a60496 100644 --- a/cpukit/score/cpu/sh/rtems/score/cpu.h +++ b/cpukit/score/cpu/sh/rtems/score/cpu.h @@ -403,7 +403,6 @@ typedef struct { void * (*stack_allocate_hook)( uint32_t ); void (*stack_free_hook)( void* ); /* end of fields required on all CPUs */ - uint32_t clicks_per_second ; /* cpu frequency in Hz */ } rtems_cpu_table; /* @@ -412,13 +411,6 @@ typedef struct { */ /* - * Macros to access SH specific additions to the CPU Table - */ - -#define rtems_cpu_configuration_get_clicks_per_second() \ - (_CPU_Table.clicks_per_second) - -/* * 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 * _CPU_Initialize and copied into the task's FP context area during |