Changeset d99c1d2 in mainline for kernel/generic/include/typedefs.h


Ignore:
Timestamp:
2010-03-23T14:41:06Z (15 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1b1164e8
Parents:
7c682dd1
Message:

use [u]int{8|16|32|64}_t type definitions as detected by the autotool
replace direct usage of arch/types.h with typedefs.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/typedefs.h

    r7c682dd1 rd99c1d2  
    3636#define KERN_TYPEDEFS_H_
    3737
     38#include <arch/common.h>
    3839#include <arch/types.h>
    3940
    40 #define NULL 0
    41 #define false 0
    42 #define true 1
     41#define NULL  0
     42
     43#define false  0
     44#define true   1
     45
     46typedef struct {
     47        uint64_t lo;
     48        int64_t hi;
     49} int128_t;
     50
     51typedef struct {
     52        uint64_t lo;
     53        uint64_t hi;
     54} uint128_t;
     55
     56typedef struct {
     57        volatile atomic_count_t count;
     58} atomic_t;
    4359
    4460typedef void (* function)();
Note: See TracChangeset for help on using the changeset viewer.