diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-02-15 14:19:36 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-02-15 14:19:36 +0000 |
commit | a4fa8bf7065d1bb1bb81cce8bf766cfedad660bd (patch) | |
tree | 3677ad57db2ea4ec9d7e0d2f2f081284b93a7687 /cpukit/score/cpu/powerpc | |
parent | (rtems_cpu_configuration_get_clicks_per_usec, rtems_cpu_configuration_get_exc... (diff) | |
download | rtems-a4fa8bf7065d1bb1bb81cce8bf766cfedad660bd.tar.bz2 |
(rtems_cpu_configuration_get_clicks_per_usec, rtems_cpu_configuration_get_exceptions_in_ram): New.
Diffstat (limited to 'cpukit/score/cpu/powerpc')
-rw-r--r-- | cpukit/score/cpu/powerpc/rtems/score/cpu.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/cpukit/score/cpu/powerpc/rtems/score/cpu.h b/cpukit/score/cpu/powerpc/rtems/score/cpu.h index f7dd3a95bb..57fac52df3 100644 --- a/cpukit/score/cpu/powerpc/rtems/score/cpu.h +++ b/cpukit/score/cpu/powerpc/rtems/score/cpu.h @@ -102,5 +102,18 @@ static inline uint32_t CPU_swap_u32( #endif /* ASM */ +#ifndef ASM +/* + * Macros to access PowerPC specific additions to the CPU Table + */ + +#define rtems_cpu_configuration_get_clicks_per_usec() \ + (_CPU_Table.clicks_per_usec) + +#define rtems_cpu_configuration_get_exceptions_in_ram() \ + (_CPU_Table.exceptions_in_RAM) + +#endif /* ASM */ + #endif /* _RTEMS_SCORE_CPU_H */ |