#include <stdint.h>
Go to the source code of this file.
◆ CONTAINING_RECORD
| #define CONTAINING_RECORD |
( |
| ptr, |
|
|
| type, |
|
|
| member ) |
◆ FIELD_OFFSET
| #define FIELD_OFFSET |
( |
| t, |
|
|
| f ) |
Value:((uint32_t)(uint32_t*)&(((t*) 0)->f))
Definition at line 67 of file macros.h.
◆ FREEZE
Value:
FORCEINLINE void __hlt(void)
FORCEINLINE void __cli(void)
Definition at line 64 of file macros.h.
◆ likely
Value:__builtin_expect(!!(x), 1)
Definition at line 58 of file macros.h.
◆ LK_KERNEL_END
◆ LK_KERNEL_SIZE
◆ LK_KERNEL_START
◆ MAX
Value: ({ \
__typeof__(a) _a = (a); \
__typeof__(b) _b = (b); \
_a > _b ? _a : _b; \
})
Definition at line 34 of file macros.h.
◆ MIN
Value: ({ \
__typeof__(a) _a = (a); \
__typeof__(b) _b = (b); \
_a > _b ? _b : _a; \
})
Definition at line 40 of file macros.h.
◆ RETADDR
◆ SIZE_T_MAX
| #define SIZE_T_MAX (size_t)-1 |
◆ UINT64_T_MAX
| #define UINT64_T_MAX (uint64_t)-1 |
◆ unlikely
Value:__builtin_expect(!!(x), 0)
Definition at line 62 of file macros.h.
◆ kernel_end
◆ kernel_start