Changeset f429331 in mainline for kernel/arch/ia32/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/ia32/include/cpuid.h
r8dbc18c rf429331 38 38 #include <arch/types.h> 39 39 40 struct cpu_info{40 typedef struct { 41 41 uint32_t cpuid_eax; 42 42 uint32_t cpuid_ebx; 43 43 uint32_t cpuid_ecx; 44 44 uint32_t cpuid_edx; 45 } __attribute__ ((packed)) ;45 } __attribute__ ((packed)) cpu_info_t; 46 46 47 47 struct __cpuid_extended_feature_info { … … 98 98 } 99 99 100 static inline void cpuid(uint32_t cmd, struct cpu_info*info)100 static inline void cpuid(uint32_t cmd, cpu_info_t *info) 101 101 { 102 102 __asm__ volatile (
Note:
See TracChangeset
for help on using the changeset viewer.