Turnstone Operating System
|
cpu data types More...
Macros | |
#define | ___TYPES_H 0 |
#define | UNUSED(x) (void)(x) |
#define | NULL 0 |
#define | true 1 |
#define | false 0 |
#define | EXT_INT64_GET_BYTE(i, bo) (i >> (bo * 4) & 0xFF) |
gets byte at offset from quad word More... | |
#define | number_t int64_t |
#define | unumber_t uint64_t |
#define | va_start(v, f) __builtin_va_start(v, f); |
#define | va_end(v) __builtin_va_end(v); |
#define | va_arg(v, a) __builtin_va_arg(v, a); |
#define | MODULE(m) |
#define | nobreak __attribute__((fallthrough)) |
Typedefs | |
typedef char | char_t |
typedef char | int8_t |
typedef unsigned char | uchar_t |
typedef unsigned char | uint8_t |
typedef _Bool | boolean_t |
typedef short | int16_t |
typedef unsigned short | wchar_t |
typedef unsigned short | uint16_t |
typedef int | int32_t |
typedef unsigned int | uint32_t |
typedef unsigned int | lchar_t |
typedef long long | int64_t |
typedef unsigned long long | uint64_t |
typedef uint64_t | reg_t |
typedef uint64_t | regext_t |
typedef uint64_t | size_t |
typedef float | float32_t |
typedef double | float64_t |
typedef long double | float128_t |
typedef __int128 | int128_t |
typedef unsigned __int128 | uint128_t |
typedef __builtin_va_list | va_list |
cpu data types
This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.
#define ___TYPES_H 0 |
prevent duplicate header error macro
#define EXT_INT64_GET_BYTE | ( | i, | |
bo | |||
) | (i >> (bo * 4) & 0xFF) |
gets byte at offset from quad word
[in] | i | quad word |
[in] | bo | byte offset |
#define MODULE | ( | m | ) |
#define number_t int64_t |
alias for signed quad word at long mode
#define true 1 |
boolean type
#define unumber_t uint64_t |
alias for signed quad word at long mode
#define UNUSED | ( | x | ) | (void)(x) |
unused parameter warning supress macro
typedef char char_t |
char type
typedef long double float128_t |
alias for 64-bit precision floating point
typedef float float32_t |
alias for 32-bit precision floating point
typedef double float64_t |
alias for 64-bit precision floating point
typedef __int128 int128_t |
alias for 128-bit signed integer
typedef short int16_t |
signed word (two bytes) type
typedef int int32_t |
signed double word (four bytes) type
typedef long long int64_t |
signed quad word (eight bytes) type
typedef char int8_t |
signed byte type
typedef unsigned int lchar_t |
long char (four bytes) type
typedef unsigned char uchar_t |
unsigned char type
typedef unsigned __int128 uint128_t |
alias for 128-bit signed integer
typedef unsigned short uint16_t |
unsigned word (two bytes) type
typedef unsigned int uint32_t |
unsigned double word (four bytes) type
typedef unsigned long long uint64_t |
unsigned quad word (eight bytes) type
typedef unsigned char uint8_t |
unsigned byte type
typedef unsigned short wchar_t |
wide char (two bytes) type