Changeset f429331 in mainline for kernel/arch/ia32/include/cpuid.h


Ignore:
Timestamp:
2007-01-21T18:52:11Z (18 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
da1f9dc
Parents:
8dbc18c
Message:

remove some typedefs in favor of anonymous structures

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/ia32/include/cpuid.h

    r8dbc18c rf429331  
    3838#include <arch/types.h>
    3939
    40 struct cpu_info {
     40typedef struct {
    4141        uint32_t cpuid_eax;
    4242        uint32_t cpuid_ebx;
    4343        uint32_t cpuid_ecx;
    4444        uint32_t cpuid_edx;
    45 } __attribute__ ((packed));
     45} __attribute__ ((packed)) cpu_info_t;
    4646
    4747struct __cpuid_extended_feature_info {
     
    9898}
    9999
    100 static inline void cpuid(uint32_t cmd, struct cpu_info *info)
     100static inline void cpuid(uint32_t cmd, cpu_info_t *info)
    101101{
    102102        __asm__ volatile (
Note: See TracChangeset for help on using the changeset viewer.