more corrections
[AROS.git] / arch / arm-native / soc / broadcom / 2708 / include / hardware / bcm2708_boot.h
blob90fefa6df0f65b3782e8a10ffe520f6b224f905c
1 /*
2 Copyright © 2015, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #ifndef _BCM2708_BOOT_H
7 #define _BCM2708_BOOT_H
9 #include <asm/arm/mmu.h>
11 /* define the boot strap memory layout */
13 #define __bcm2708_vectsize 0x20
14 #define __bcm2708_bootstacksize (256 << 2)
15 #define __bcm2708_boottagssize (128 << 3)
17 struct bcm2708bootmem
19 UBYTE bm_vectors[__bcm2708_vectsize];
20 UBYTE bm_padding1[(0x1000 - __bcm2708_vectsize - __bcm2708_bootstacksize - __bcm2708_boottagssize - 16)];
21 UBYTE bm_boottags[__bcm2708_boottagssize];
22 UBYTE bm_bootstack[__bcm2708_bootstacksize];
23 UBYTE bm_padding2[16];
24 /* 0x1000 */
25 UBYTE bm_mboxmsg[0x1000];
26 UBYTE bm_padding3[0x2000];
27 /* 0x4000 */
28 pde_t bm_pde[4096];
29 } __attribute__((packed));
31 #define BOOTMEMADDR(offset) (&(((struct bcm2708bootmem *)0x0)->offset))
33 #endif /* _BCM2708_BOOT_H */