Changeset 7f1c620 in mainline for arch/ia32/include/smp/mps.h


Ignore:
Timestamp:
2006-07-04T17:17:56Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0ffa3ef5
Parents:
991779c5
Message:

Replace old u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/include/smp/mps.h

    r991779c5 r7f1c620  
    4646
    4747struct mps_fs {
    48         __u32 signature;
    49         __u32 configuration_table;
    50         __u8 length;
    51         __u8 revision;
    52         __u8 checksum;
    53         __u8 config_type;
    54         __u8 mpfib2;
    55         __u8 mpfib3;
    56         __u8 mpfib4;
    57         __u8 mpfib5;
     48        uint32_t signature;
     49        uint32_t configuration_table;
     50        uint8_t length;
     51        uint8_t revision;
     52        uint8_t checksum;
     53        uint8_t config_type;
     54        uint8_t mpfib2;
     55        uint8_t mpfib3;
     56        uint8_t mpfib4;
     57        uint8_t mpfib5;
    5858} __attribute__ ((packed));
    5959
    6060struct mps_ct {
    61         __u32 signature;
    62         __u16 base_table_length;
    63         __u8 revision;
    64         __u8 checksum;
    65         __u8 oem_id[8];
    66         __u8 product_id[12];
    67         __u32 oem_table;
    68         __u16 oem_table_size;
    69         __u16 entry_count;
    70         __u32 l_apic;
    71         __u16 ext_table_length;
    72         __u8 ext_table_checksum;
    73         __u8 xxx;
    74         __u8 base_table[0];
     61        uint32_t signature;
     62        uint16_t base_table_length;
     63        uint8_t revision;
     64        uint8_t checksum;
     65        uint8_t oem_id[8];
     66        uint8_t product_id[12];
     67        uint32_t oem_table;
     68        uint16_t oem_table_size;
     69        uint16_t entry_count;
     70        uint32_t l_apic;
     71        uint16_t ext_table_length;
     72        uint8_t ext_table_checksum;
     73        uint8_t xxx;
     74        uint8_t base_table[0];
    7575} __attribute__ ((packed));
    7676
    7777struct __processor_entry {
    78         __u8 type;
    79         __u8 l_apic_id;
    80         __u8 l_apic_version;
    81         __u8 cpu_flags;
    82         __u8 cpu_signature[4];
    83         __u32 feature_flags;
    84         __u32 xxx[2];
     78        uint8_t type;
     79        uint8_t l_apic_id;
     80        uint8_t l_apic_version;
     81        uint8_t cpu_flags;
     82        uint8_t cpu_signature[4];
     83        uint32_t feature_flags;
     84        uint32_t xxx[2];
    8585} __attribute__ ((packed));
    8686
    8787struct __bus_entry {
    88         __u8 type;
    89         __u8 bus_id;
    90         __u8 bus_type[6];
     88        uint8_t type;
     89        uint8_t bus_id;
     90        uint8_t bus_type[6];
    9191} __attribute__ ((packed));
    9292
    9393struct __io_apic_entry {
    94         __u8 type;
    95         __u8 io_apic_id;
    96         __u8 io_apic_version;
    97         __u8 io_apic_flags;
    98         __u32 io_apic;
     94        uint8_t type;
     95        uint8_t io_apic_id;
     96        uint8_t io_apic_version;
     97        uint8_t io_apic_flags;
     98        uint32_t io_apic;
    9999} __attribute__ ((packed));
    100100
    101101struct __io_intr_entry {
    102         __u8 type;
    103         __u8 intr_type;
    104         __u8 poel;
    105         __u8 xxx;
    106         __u8 src_bus_id;
    107         __u8 src_bus_irq;
    108         __u8 dst_io_apic_id;
    109         __u8 dst_io_apic_pin;
     102        uint8_t type;
     103        uint8_t intr_type;
     104        uint8_t poel;
     105        uint8_t xxx;
     106        uint8_t src_bus_id;
     107        uint8_t src_bus_irq;
     108        uint8_t dst_io_apic_id;
     109        uint8_t dst_io_apic_pin;
    110110} __attribute__ ((packed));
    111111
    112112struct __l_intr_entry {
    113         __u8 type;
    114         __u8 intr_type;
    115         __u8 poel;
    116         __u8 xxx;
    117         __u8 src_bus_id;
    118         __u8 src_bus_irq;
    119         __u8 dst_l_apic_id;
    120         __u8 dst_l_apic_pin;
     113        uint8_t type;
     114        uint8_t intr_type;
     115        uint8_t poel;
     116        uint8_t xxx;
     117        uint8_t src_bus_id;
     118        uint8_t src_bus_irq;
     119        uint8_t dst_l_apic_id;
     120        uint8_t dst_l_apic_pin;
    121121} __attribute__ ((packed));
    122122
Note: See TracChangeset for help on using the changeset viewer.