Files
rtems/c/src/lib/libbsp/powerpc/shared/vme/VMEConfig.h
Joel Sherrill 0bedb7eced 2004-11-23 Richard Campbell <richard.campbell@oarcorp.com>
* startup/bspstart.c: Removed mpc824x conditionals around call to
	L1_caches_enables, conditionals are now in mmuAsm.S.
 	* vme/VMEConfig.h: Set up VME A16, A24 and A32 windows at different
	locations for mvme2100.
	* vme/vmeconfig.c: Fixed spelling.
2004-11-23 15:44:50 +00:00

35 lines
888 B
C

#ifndef RTEMS_BSP_VME_CONFIG_H
#define RTEMS_BSP_VME_CONFIG_H
/* $Id$ */
/* BSP specific address space configuration parameters */
/*
* The BSP maps VME address ranges into
* one BAT.
* NOTE: the BSP (startup/bspstart.c) uses
* hardcoded window lengths that match this
* layout:
*/
#if defined(mvme2100)
#define _VME_A32_WIN0_ON_PCI 0x80000000
#define _VME_A24_ON_PCI 0x8f000000
#define _VME_A16_ON_PCI 0x8fff0000
#else
#define _VME_A32_WIN0_ON_PCI 0x10000000
#define _VME_A24_ON_PCI 0x1f000000
#define _VME_A16_ON_PCI 0x1fff0000
#endif
/* start of the A32 window on the VME bus
* TODO: this should perhaps be a configuration option
*/
#define _VME_A32_WIN0_ON_VME 0x20000000
/* if _VME_DRAM_OFFSET is defined, the BSP
* will map our RAM onto the VME bus, starting
* at _VME_DRAM_OFFSET
*/
#define _VME_DRAM_OFFSET 0xc0000000
#endif