- Timestamp:
- 03/10/11 15:04:22 (13 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 627b70e
- Parents:
- 6c16501
- Location:
- c/src/lib/libcpu/powerpc
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libcpu/powerpc/ChangeLog
r6c16501 r73406bf 1 2011-03-10 Sebastian Huber <sebastian.huber@embedded-brains.de> 2 3 * shared/include/cpuIdent.h: Fixed warnings. 4 1 5 2011-02-25 Sebastian Huber <sebastian.huber@embedded-brains.de> 2 6 -
c/src/lib/libcpu/powerpc/shared/include/cpuIdent.h
r6c16501 r73406bf 91 91 typedef unsigned short ppc_cpu_revision_t; 92 92 93 extern ppc_cpu_id_t get_ppc_cpu_type ( );93 extern ppc_cpu_id_t get_ppc_cpu_type (void); 94 94 extern char *get_ppc_cpu_type_name(ppc_cpu_id_t cpu); 95 extern ppc_cpu_revision_t get_ppc_cpu_revision ( );95 extern ppc_cpu_revision_t get_ppc_cpu_revision (void); 96 96 extern ppc_cpu_revision_t current_ppc_revision; 97 97 98 98 /* PUBLIC ACCESS ROUTINES */ 99 99 #define _PPC_FEAT_DECL(x) \ 100 static inline unsigned ppc_cpu_##x( ) { \100 static inline unsigned ppc_cpu_##x(void) { \ 101 101 if ( PPC_UNKNOWN == current_ppc_cpu ) \ 102 102 get_ppc_cpu_type(); \ … … 120 120 } 121 121 122 static inline bool ppc_cpu_is_e200( )122 static inline bool ppc_cpu_is_e200(void) 123 123 { 124 124 return ppc_cpu_current() == PPC_e200z0 … … 127 127 } 128 128 129 static inline bool ppc_cpu_is_e300( )129 static inline bool ppc_cpu_is_e300(void) 130 130 { 131 131 return ppc_cpu_current() == PPC_e300c1 … … 134 134 } 135 135 136 static inline bool ppc_cpu_is_e500( )136 static inline bool ppc_cpu_is_e500(void) 137 137 { 138 138 return ppc_cpu_current() == PPC_8540
Note: See TracChangeset
for help on using the changeset viewer.