Ignore:
File:
1 edited

Legend:

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

    r002fd5f r83dab11  
    3636#define KERN_STDINT_H_
    3737
    38 #include <_bits/stdint.h>
     38#include <arch/common.h>
     39
     40#define INT8_MIN  INT8_C(0x80)
     41#define INT8_MAX  INT8_C(0x7F)
     42
     43#define UINT8_MIN  UINT8_C(0)
     44#define UINT8_MAX  UINT8_C(0xFF)
     45
     46#define INT16_MIN  INT16_C(0x8000)
     47#define INT16_MAX  INT16_C(0x7FFF)
     48
     49#define UINT16_MIN  UINT16_C(0)
     50#define UINT16_MAX  UINT16_C(0xFFFF)
     51
     52#define INT32_MIN  INT32_C(0x80000000)
     53#define INT32_MAX  INT32_C(0x7FFFFFFF)
     54
     55#define UINT32_MIN  UINT32_C(0)
     56#define UINT32_MAX  UINT32_C(0xFFFFFFFF)
     57
     58#define INT64_MIN  INT64_C(0x8000000000000000)
     59#define INT64_MAX  INT64_C(0x7FFFFFFFFFFFFFFF)
     60
     61#define UINT64_MIN  UINT64_C(0)
     62#define UINT64_MAX  UINT64_C(0xFFFFFFFFFFFFFFFF)
    3963
    4064#endif
Note: See TracChangeset for help on using the changeset viewer.