5 Copyright (C) 2006 The AROS Development Team. All rights reserved.
9 #define NULL ((void*)0)
12 struct KernelMessage {
13 struct { void *low,*high; } GRUBData;
15 struct { void *low,*high; } kernelBase;
16 struct { void *low,*high; } kernelLowest;
17 struct { void *low,*high; } kernelHighest;
18 struct { void *low,*high; } kernelBSS;
19 struct { void *low,*high; } GDT;
20 struct { void *low,*high; } IDT;
21 struct { void *low,*high; } PL4;
23 struct { void *low,*high; } vbeModeInfo;
24 struct { void *low,*high; } vbeControllerInfo;
32 #define D(x) /* eps */
45 #define MB_MAGIC 0x1BADB002
46 #define MB_FLAGS 0x00000003
53 void *_binary_aros_o_start
;
54 void *_binary_vesa_start
;
55 long _binary_vesa_size
;
57 #if defined(__i386__) || defined(__x86_64__)
58 #define LONG2BE(v) ({ unsigned int __v32; asm volatile("bswap %0":"=a"(__v32):"0"((v))); __v32; })
60 #define LONG2BE(v) (v)
63 #endif // _BOOTSTRAP_H