mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-09 08:37:58 +08:00
(rtems_cpu_configuration_get_clicks_per_usec, rtems_cpu_configuration_get_exceptions_in_ram): New.
This commit is contained in:
1 parent
df58582e74
commit
a4fa8bf706
1 file changed
+13
@@ -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 */
|
||||
|
||||
Reference in new issue
Block a user