Changeset 7f1c620 in mainline for arch/ia64/include/register.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/ia64/include/register.h

    r991779c5 r7f1c620  
    137137/** Processor Status Register. */
    138138union psr {
    139         __u64 value;
     139        uint64_t value;
    140140        struct {
    141141                unsigned : 1;
     
    180180/** Register Stack Configuration Register */
    181181union rsc {
    182         __u64 value;
     182        uint64_t value;
    183183        struct {
    184184                unsigned mode : 2;
     
    193193/** External Interrupt Vector Register */
    194194union cr_ivr {
    195         __u8  vector;
    196         __u64 value;
     195        uint8_t  vector;
     196        uint64_t value;
    197197};
    198198
     
    207207                unsigned mmi: 1;                /**< Mask Maskable Interrupts. */
    208208        } __attribute__ ((packed));
    209         __u64 value;
     209        uint64_t value;
    210210};
    211211
     
    221221                unsigned m : 1;                 /**< Mask. */
    222222        } __attribute__ ((packed));
    223         __u64 value;
     223        uint64_t value;
    224224};
    225225
     
    235235                                unsigned ge_code : 4;
    236236                        } __attribute__ ((packed));
    237                         __u16 code;
     237                        uint16_t code;
    238238                };
    239                 __u8 vector;
     239                uint8_t vector;
    240240                unsigned : 8;
    241241                unsigned x : 1;                 /**< Execute exception. */
     
    252252                unsigned : 20;
    253253        } __attribute__ ((packed));
    254         __u64 value;
     254        uint64_t value;
    255255};
    256256
     
    260260union cpuid3 {
    261261        struct {
    262                 __u8 number;
    263                 __u8 revision;
    264                 __u8 model;
    265                 __u8 family;
    266                 __u8 archrev;
    267         } __attribute__ ((packed));
    268         __u64 value;
     262                uint8_t number;
     263                uint8_t revision;
     264                uint8_t model;
     265                uint8_t family;
     266                uint8_t archrev;
     267        } __attribute__ ((packed));
     268        uint64_t value;
    269269};
    270270
Note: See TracChangeset for help on using the changeset viewer.