Changeset 46c20c8 in mainline for kernel/generic/include/typedefs.h


Ignore:
Timestamp:
2010-11-26T20:08:10Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
45df59a
Parents:
fb150d78 (diff), ffdd2b9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 edited

Legend:

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

    rfb150d78 r46c20c8  
    3636#define KERN_TYPEDEFS_H_
    3737
     38#include <stdint.h>
     39#include <arch/common.h>
    3840#include <arch/types.h>
    3941
    40 #define NULL 0
    41 #define false 0
    42 #define true 1
     42#define NULL  ((void *) 0)
     43
     44#define false  0
     45#define true   1
     46
     47typedef struct {
     48        uint64_t lo;
     49        int64_t hi;
     50} int128_t;
     51
     52typedef struct {
     53        uint64_t lo;
     54        uint64_t hi;
     55} uint128_t;
     56
     57typedef struct {
     58        volatile atomic_count_t count;
     59} atomic_t;
    4360
    4461typedef void (* function)();
     
    5269typedef int32_t devno_t;
    5370
    54 typedef int32_t wchar_t;
    55 
    5671typedef volatile uint8_t ioport8_t;
    5772typedef volatile uint16_t ioport16_t;
Note: See TracChangeset for help on using the changeset viewer.