Go to the documentation of this file. 30 #if defined(__GNUC__) || defined(__clang__) 31 #if __has_include("user_constants.h") 32 #include "user_constants.h" 43 #define BAREFLANK_VERSION_MAJOR 1ULL 44 #define BAREFLANK_VERSION_MINOR 1ULL 45 #define BAREFLANK_VERSION_PATCH 0ULL 52 #ifndef USER_VERSION_MAJOR 53 #define USER_VERSION_MAJOR 0ULL 56 #ifndef USER_VERSION_MINOR 57 #define USER_VERSION_MINOR 0ULL 60 #ifndef USER_VERSION_PATCH 61 #define USER_VERSION_PATCH 0ULL 74 #ifndef MAX_CACHE_LINE_SHIFT 75 #define MAX_CACHE_LINE_SHIFT (6ULL) 87 #ifndef MAX_CACHE_LINE_SIZE 88 #define MAX_CACHE_LINE_SIZE (1 << MAX_CACHE_LINE_SHIFT) 101 #ifndef MAX_PAGE_SHIFT 102 #define MAX_PAGE_SHIFT (12ULL) 115 #ifndef MAX_PAGE_SIZE 116 #define MAX_PAGE_SIZE (1ULL << MAX_PAGE_SHIFT) 129 #ifndef MAX_HEAP_POOL 130 #define MAX_HEAP_POOL (256ULL * MAX_PAGE_SIZE * sizeof(uintptr_t)) 141 #ifndef MAX_PAGE_POOL 142 #define MAX_PAGE_POOL (32 * 256ULL * MAX_PAGE_SIZE) 153 #ifndef MAX_MEM_MAP_POOL 154 #define MAX_MEM_MAP_POOL (256ULL * MAX_PAGE_SIZE * sizeof(uintptr_t)) 165 #ifndef MEM_MAP_POOL_START 166 #define MEM_MAP_POOL_START 0x200000ULL 176 #ifndef MAX_NUM_MODULES 177 #define MAX_NUM_MODULES (75LL) 191 #ifndef DEBUG_RING_SHIFT 192 #define DEBUG_RING_SHIFT (15) 206 #define DEBUG_RING_SIZE (1 << DEBUG_RING_SHIFT) 225 #define STACK_SIZE (1ULL << 15) 240 #ifndef THREAD_LOCAL_STORAGE_SIZE 241 #define THREAD_LOCAL_STORAGE_SIZE (0x1000ULL) 253 #ifndef STACK_RESERVED 254 #define STACK_RESERVED (0x20) 262 #ifndef VMCALL_IN_BUFFER_SIZE 263 #define VMCALL_IN_BUFFER_SIZE (32 * MAX_PAGE_SIZE) 271 #ifndef VMCALL_OUT_BUFFER_SIZE 272 #define VMCALL_OUT_BUFFER_SIZE (32 * MAX_PAGE_SIZE) 288 #ifndef DEFAULT_COM_PORT 289 #define DEFAULT_COM_PORT 0x3F8U 297 #ifndef DEFAULT_BAUD_RATE 298 #define DEFAULT_BAUD_RATE baud_rate_9600 306 #ifndef DEFAULT_DATA_BITS 307 #define DEFAULT_DATA_BITS char_length_8 315 #ifndef DEFAULT_STOP_BITS 316 #define DEFAULT_STOP_BITS stop_bits_1 324 #ifndef DEFAULT_PARITY_BITS 325 #define DEFAULT_PARITY_BITS parity_none 335 #ifndef SECONDARY_ENABLE_IF_VERBOSE 336 #define SECONDARY_ENABLE_IF_VERBOSE true