source: rtems/c/src/lib/libbsp/powerpc/shared/vme/VMEConfig.h @ 98afe31

4.104.114.84.9
Last change on this file since 98afe31 was cc2fcc1, checked in by Eric Norum <WENorum@…>, on Oct 20, 2005 at 6:38:26 PM

Numerous changes and cleanups to support MVME2100.

  • Property mode set to 100644
File size: 858 bytes
Line 
1#ifndef RTEMS_BSP_VME_CONFIG_H
2#define RTEMS_BSP_VME_CONFIG_H
3/* $Id$ */
4
5/* BSP specific address space configuration parameters */
6
7/*
8 * The BSP maps VME address ranges into
9 * one BAT.
10 * NOTE: the BSP (startup/bspstart.c) uses
11 * hardcoded window lengths that match this
12 * layout:
13 */
14#if defined(mvme2100)
15#define _VME_A32_WIN0_ON_PCI    0x90000000
16#define _VME_A24_ON_PCI                 0x9f000000
17#define _VME_A16_ON_PCI                 0x9fff0000
18#else
19#define _VME_A32_WIN0_ON_PCI    0x10000000
20#define _VME_A24_ON_PCI                 0x1f000000
21#define _VME_A16_ON_PCI                 0x1fff0000
22#endif
23
24/* start of the A32 window on the VME bus
25 * TODO: this should perhaps be a configuration option
26 */
27#define _VME_A32_WIN0_ON_VME    0x20000000
28
29/* if _VME_DRAM_OFFSET is defined, the BSP
30 * will map our RAM onto the VME bus, starting
31 * at _VME_DRAM_OFFSET
32 */
33#define _VME_DRAM_OFFSET                0xc0000000
34
35#endif
Note: See TracBrowser for help on using the repository browser.