source: rtems/c/src/lib/libbsp/powerpc/mvme5500/vme/VMEConfig.h @ bc2083c1

4.104.114.84.9
Last change on this file since bc2083c1 was bc2083c1, checked in by Till Straumann <strauman@…>, on Jan 19, 2007 at 11:01:21 PM
  • mvme5500/Makefile.am, mvme5500/preinstall.am,
  • mvme5500/vme/VMEConfig.h, mvme5500/vme/VME.h,
  • mvme5500/vme/vmeconfig.c: removed copies of vmeconfig.c, VME.h - use generic versions instead.
  • Property mode set to 100644
File size: 948 bytes
Line 
1#ifndef RTEMS_BSP_VME_CONFIG_H
2#define RTEMS_BSP_VME_CONFIG_H
3/* VMEConfig.h, S. Kate Feng modified it for MVME5500 3/04  */
4/* BSP specific address space configuration parameters */
5
6/*
7 * The BSP maps VME address ranges into
8 * one BAT.
9 * NOTE: the BSP (startup/bspstart.c) uses
10 * hardcoded window lengths that match this
11 * layout:
12 */
13#define _VME_A32_WIN0_ON_PCI            0x90000000
14#define _VME_A24_ON_PCI                 0x9f000000
15#define _VME_A16_ON_PCI                 0x9fff0000
16
17/* Reuse BAT 0 for VME */
18#define BSP_VME_BAT_IDX                 0
19
20/* start of the A32 window on the VME bus
21 * TODO: this should perhaps be a configuration option
22 */
23#define _VME_A32_WIN0_ON_VME    0x20000000
24
25/* if _VME_DRAM_OFFSET is defined, the BSP
26 * will map our RAM onto the VME bus, starting
27 * at _VME_DRAM_OFFSET
28 */
29#define _VME_DRAM_OFFSET                0x90000000
30
31#define BSP_VME_UNIVERSE_INSTALL_IRQ_MGR                        \
32        do {                                                                                    \
33                vmeUniverseInstallIrqMgr(0,64+12,1,64+13);      \
34        } while (0)
35
36#endif
Note: See TracBrowser for help on using the repository browser.