source: trunk/platforms/linux_monocluster/segmentation.h @ 1016

Last change on this file since 1016 was 667, checked in by porquet, 11 years ago

add a new platform, known for running Linux properly

This platform is quite configurable:

  • number of cpus
  • optional framebuffer
  • optional blockdevice

This platform is also quite fast, thanks to the use of VciLocalCrossbar?
instead of DspinLocalCrossbar? (about 30% faster on Linux simulation).

File size: 560 bytes
Line 
1#ifndef _SEGMENTATION_H
2#define _SEGMENTATION_H
3
4#define MEMC_BASE   0x00000000
5#define MEMC_SIZE   0x10000000 // 256Mb
6
7#define BOOT_BASE   0xbfc00000
8#define BOOT_SIZE   0x00040000
9
10#define XICU_BASE   0x10000000
11#define XICU_SIZE   0x00001000 // 1 page
12
13#define MTTY_BASE   0x14000000
14#define MTTY_SIZE   0x0000000c // 3 mapped-registers
15
16#define BD_BASE     0x1c000000
17#define BD_SIZE     0x00000040 // 9 mapped-registers
18
19#define FB_XSIZE    640
20#define FB_YSIZE    480
21#define FB_BASE     0x20000000
22#define FB_SIZE     (FB_XSIZE * FB_YSIZE * 2)
23
24#endif
Note: See TracBrowser for help on using the repository browser.