From 3fb741a0f872ffecaf516c19b0ca6279b0d9d8d3 Mon Sep 17 00:00:00 2001 From: stefan Date: Wed, 4 Aug 2010 11:18:04 +0000 Subject: [PATCH] - update of our example configuration file git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@31 315a16e6-25f9-4109-90ae-ca3045a26c18 --- include/metalsvm/config.h.example | 7 +++++++ 1 file changed, 7 insertions(+) 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;