diff --git a/include/metalsvm/config.h.example b/include/metalsvm/config.h.example index e3c16477..783461f1 100644 --- a/include/metalsvm/config.h.example +++ b/include/metalsvm/config.h.example @@ -33,12 +33,16 @@ extern "C" { #define TIMER_FREQ 100 /* in HZ */ #define CLOCK_TICK_RATE 1193182 /* 8254 chip's internal oscillator frequency */ +#define BYTE_ORDER LITTLE_ENDIAN + /* * address space / (page_size * sizeof(uint8_t)) * x86_32 => 4 GB / (4096 * 8) */ #define BITMAP_SIZE 1048576 +#define USE_LWIP +//#undef USE_LWIP #define USE_VGA //#undef USE_VGA #define USE_KEYBOARD @@ -51,6 +55,9 @@ extern "C" { #define NORETURN __attribute__((noreturn)) #define STDCALL __attribute__((stdcall)) +#define ULONG_MAX 0xffffffff +#define USHRT_MAX 0xffff + typedef unsigned long long uint64_t; typedef long long int64_t; typedef unsigned int uint32_t;