Changeset f429331 in mainline for kernel/arch/ppc32/include/cpuid.h
- Timestamp:
- 2007-01-21T18:52:11Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- da1f9dc
- Parents:
- 8dbc18c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/include/cpuid.h
r8dbc18c rf429331 38 38 #include <arch/types.h> 39 39 40 struct cpu_info{40 typedef struct { 41 41 uint16_t version; 42 42 uint16_t revision; 43 } __attribute__ ((packed)) ;43 } __attribute__ ((packed)) cpu_info_t; 44 44 45 static inline void cpu_version( struct cpu_info*info)45 static inline void cpu_version(cpu_info_t *info) 46 46 { 47 47 asm volatile (
Note:
See TracChangeset
for help on using the changeset viewer.