From a4fa8bf7065d1bb1bb81cce8bf766cfedad660bd Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 15 Feb 2005 14:19:36 +0000 Subject: (rtems_cpu_configuration_get_clicks_per_usec, rtems_cpu_configuration_get_exceptions_in_ram): New. --- cpukit/score/cpu/powerpc/rtems/score/cpu.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'cpukit/score') 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 */ -- cgit v1.2.3