Changeset f429331 in mainline for kernel/arch/ia32/include


Ignore:
Timestamp:
2007-01-21T18:52:11Z (19 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

Location:
kernel/arch/ia32/include
Files:
2 edited

Legend:

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

    r8dbc18c rf429331  
    4343#define EFLAGS_RF       (1 << 16)
    4444
    45 struct cpu_arch {
     45typedef struct {
    4646        int vendor;
    4747        int family;
     
    5151       
    5252        count_t iomapver_copy;  /** Copy of TASK's I/O Permission bitmap generation count. */
    53 };
     53} cpu_arch_t;
    5454
    5555
  • 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.