Changeset c621f4aa in mainline for kernel/generic/include/stdint.h
- Timestamp:
- 2010-07-25T10:11:13Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 377cce8
- Parents:
- 24a2517 (diff), a2da43c (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. - File:
-
- 1 moved
-
kernel/generic/include/stdint.h (moved) (moved from uspace/lib/libc/include/stdint.h ) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/stdint.h
r24a2517 rc621f4aa 27 27 */ 28 28 29 /** @addtogroup libc29 /** @addtogroup generic 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef LIBC_STDINT_H_36 #define LIBC_STDINT_H_35 #ifndef KERN_STDINT_H_ 36 #define KERN_STDINT_H_ 37 37 38 /* Definitions of types with fixed size */ 39 # include <libarch/types.h>38 #define INT8_MIN (0x80) 39 #define INT8_MAX (0x7F) 40 40 41 #define MAX_INT8 (0x7F) 42 #define MIN_INT8 (0x80) 43 #define MAX_UINT8 (0xFFu) 44 #define MIN_UINT8 (0u) 41 #define UINT8_MIN (0u) 42 #define UINT8_MAX (0xFFu) 45 43 46 #define MAX_INT16 (0x7FFF) 47 #define MIN_INT16 (0x8000) 48 #define MAX_UINT16 (0xFFFFu) 49 #define MIN_UINT16 (0u) 44 #define INT16_MIN (0x8000) 45 #define INT16_MAX (0x7FFF) 50 46 51 #define MAX_INT32 (0x7FFFFFFF) 52 #define MIN_INT32 (0x80000000) 53 #define MAX_UINT32 (0xFFFFFFFFu) 54 #define MIN_UINT32 (0u) 47 #define UINT16_MIN (0u) 48 #define UINT16_MAX (0xFFFFu) 55 49 56 #define MAX_INT64 (0x7FFFFFFFFFFFFFFFll) 57 #define MIN_INT64 (0x8000000000000000ll) 58 #define MAX_UINT64 (0xFFFFFFFFFFFFFFFFull) 59 #define MIN_UINT64 (0ull) 50 #define INT32_MIN (0x80000000l) 51 #define INT32_MAX (0x7FFFFFFFl) 52 53 #define UINT32_MIN (0ul) 54 #define UINT32_MAX (0xFFFFFFFFul) 55 56 #define INT64_MIN (0x8000000000000000ll) 57 #define INT64_MAX (0x7FFFFFFFFFFFFFFFll) 58 59 #define UINT64_MIN (0ull) 60 #define UINT64_MAX (0xFFFFFFFFFFFFFFFFull) 60 61 61 62 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
