source: rtems/c/src/lib/libbsp/powerpc/score603e/vme/VMEConfig.h @ 42b6dd2a

4.104.115
Last change on this file since 42b6dd2a was 42b6dd2a, checked in by Jennifer Averett <Jennifer.Averett@…>, on 05/05/09 at 16:24:04

2009-05-05 Jennifer Averett <jennifer.averett@…>

  • Makefile.am, configure.ac, preinstall.am, PCI_bus/PCI.c, PCI_bus/PCI.h, PCI_bus/flash.c, PCI_bus/universe.c, console/85c30.c, console/85c30.h, console/console.c, console/consolebsp.h, console/tbl85c30.c, include/bsp.h, include/gen2.h, include/irq-config.h, include/tm27.h, irq/FPGA.c, irq/irq.h, irq/irq_init.c, start/start.S, startup/Hwr_init.c, startup/bspstart.c, startup/linkcmds, timer/timer.c, tod/tod.c, vme/VMEConfig.h: Updated and tested with latest interrupt source. Modified with latest memory allocation, but this needs testing.
  • irq/no_pic.c: New file.
  • Property mode set to 100644
File size: 3.2 KB
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 * Authorship
9 * ----------
10 * This software was created by
11 *     Till Straumann <strauman@slac.stanford.edu>, 2002,
12 *         Stanford Linear Accelerator Center, Stanford University.
13 *
14 * Acknowledgement of sponsorship
15 * ------------------------------
16 * This software was produced by
17 *     the Stanford Linear Accelerator Center, Stanford University,
18 *         under Contract DE-AC03-76SFO0515 with the Department of Energy.
19 *
20 * Government disclaimer of liability
21 * ----------------------------------
22 * Neither the United States nor the United States Department of Energy,
23 * nor any of their employees, makes any warranty, express or implied, or
24 * assumes any legal liability or responsibility for the accuracy,
25 * completeness, or usefulness of any data, apparatus, product, or process
26 * disclosed, or represents that its use would not infringe privately owned
27 * rights.
28 *
29 * Stanford disclaimer of liability
30 * --------------------------------
31 * Stanford University makes no representations or warranties, express or
32 * implied, nor assumes any liability for the use of this software.
33 *
34 * Stanford disclaimer of copyright
35 * --------------------------------
36 * Stanford University, owner of the copyright, hereby disclaims its
37 * copyright and all other rights in this software.  Hence, anyone may
38 * freely use it for any purpose without restriction. 
39 *
40 * Maintenance of notices
41 * ----------------------
42 * In the interest of clarity regarding the origin and status of this
43 * SLAC software, this and all the preceding Stanford University notices
44 * are to remain affixed to any copy or derivative of this software made
45 * or distributed by the recipient and are to be affixed to any copy of
46 * software made or distributed by the recipient that contains a copy or
47 * derivative of this software.
48 *
49 * ------------------ SLAC Software Notices, Set 4 OTT.002a, 2004 FEB 03
50 */
51/*
52 * The BSP maps VME address ranges into
53 * one BAT.
54 * NOTE: the BSP (startup/bspstart.c) uses
55 * hardcoded window lengths that match this
56 * layout:
57 *
58 * BSP_VME_BAT_IDX defines
59 * which BAT to use for mapping the VME bus.
60 * If this is undefined, no extra BAT will be
61 * configured and VME has to share the available
62 * PCI address space with PCI devices.
63 */
64#undef   BSP_VME_BAT_IDX
65
66#define _VME_A32_WIN0_ON_PCI    0x10000000
67#define _VME_A24_ON_PCI                 0x1f000000
68#define _VME_A16_ON_PCI                 0x1fff0000
69
70/* start of the A32 window on the VME bus
71 * TODO: this should perhaps be a configuration option
72 */
73#define _VME_A32_WIN0_ON_VME    0x20000000
74
75/* if _VME_DRAM_OFFSET is defined, the BSP
76 * will map our RAM onto the VME bus, starting
77 * at _VME_DRAM_OFFSET
78 */
79#undef  _VME_DRAM_OFFSET
80
81/* Tell the interrupt manager that the universe driver
82 * already called openpic_eoi() and that this step hence
83 * must be omitted.
84 */
85
86#undef _VME_CSR_ON_PCI
87
88#undef BSP_PCI_VME_DRIVER_DOES_EOI
89
90extern int BSP_VMEInit();
91extern int BSP_VMEIrqMgrInstall();
92
93#define BSP_VME_UNIVERSE_INSTALL_IRQ_MGR(err)                                           \
94        do {                                                                                                            \
95                err = vmeUniverseInstallIrqMgr(0,5,1,6);                                                \
96        } while (0)
97
98#endif
Note: See TracBrowser for help on using the repository browser.