source: rtems/c/src/lib/libbsp/powerpc/mbx8xx/include/mbx.h @ 9b4422a2

4.115
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 2.8 KB
Line 
1/*
2 * A collection of structures, addresses, and values associated with
3 * the Motorola MBX boards.  This was originally created for the
4 * MBX860, and probably needs revisions for other boards (like the 821).
5 * When this file gets out of control, we can split it up into more
6 * meaningful pieces.
7 *
8 * Copyright (c) 1997 Dan Malek (dmalek@jlc.net)
9 */
10#ifndef __MACH_MBX_DEFS
11#define __MACH_MBX_DEFS
12
13/* A Board Information structure that is given to a program when
14 * EPPC-Bug starts it up.
15 */
16typedef struct bd_info {
17        unsigned int    bi_tag;         /* Should be 0x42444944 "BDID" */
18        unsigned int    bi_size;        /* Size of this structure */
19        unsigned int    bi_revision;    /* revision of this structure */
20        unsigned int    bi_bdate;       /* EPPCbug date, i.e. 0x11061997 */
21        unsigned int    bi_memstart;    /* Memory start address */
22        unsigned int    bi_memsize;     /* Memory (end) size in bytes */
23        unsigned int    bi_intfreq;     /* Internal Freq, in Hz */
24        unsigned int    bi_busfreq;     /* Bus Freq, in Hz */
25        unsigned int    bi_clun;        /* Boot device controller */
26        unsigned int    bi_dlun;        /* Boot device logical dev */
27} bd_t;
28
29/* Memory map for the MBX as configured by EPPC-Bug.  We could reprogram
30 * The SIU and PCI bridge, and try to use larger MMU pages, but the
31 * performance gain is not measureable and it certainly complicates the
32 * generic MMU model.
33 *
34 * In a effort to minimize memory usage for embedded applications, any
35 * PCI driver or ISA driver must request or map the region required by
36 * the device.  For convenience (and since we can map up to 4 Mbytes with
37 * a single page table page), the MMU initialization will map the
38 * NVRAM, Status/Control registers, CPM Dual Port RAM, and the PCI
39 * Bridge CSRs 1:1 into the kernel address space.
40 */
41#define PCI_ISA_IO_ADDR         ((unsigned int)0x80000000)
42#define PCI_ISA_IO_SIZE         ((unsigned int)(512 * 1024 * 1024))
43#define PCI_ISA_MEM_ADDR        ((unsigned int)0xc0000000)
44#define PCI_ISA_MEM_SIZE        ((unsigned int)(512 * 1024 * 1024))
45#define PCMCIA_MEM_ADDR         ((unsigned int)0xe0000000)
46#define PCMCIA_MEM_SIZE         ((unsigned int)(64 * 1024 * 1024))
47#define PCMCIA_DMA_ADDR         ((unsigned int)0xe4000000)
48#define PCMCIA_DMA_SIZE         ((unsigned int)(64 * 1024 * 1024))
49#define PCMCIA_ATTRB_ADDR       ((unsigned int)0xe8000000)
50#define PCMCIA_ATTRB_SIZE       ((unsigned int)(64 * 1024 * 1024))
51#define PCMCIA_IO_ADDR          ((unsigned int)0xec000000)
52#define PCMCIA_IO_SIZE          ((unsigned int)(64 * 1024 * 1024))
53#define NVRAM_ADDR              ((unsigned int)0xfa000000)
54#define NVRAM_SIZE              ((unsigned int)(1 * 1024 * 1024))
55#define MBX_CSR_ADDR            ((unsigned int)0xfa100000)
56#define MBX_CSR_SIZE            ((unsigned int)(1 * 1024 * 1024))
57#define IMAP_ADDR               ((unsigned int)0xfa200000)
58#define IMAP_SIZE               ((unsigned int)(64 * 1024))
59#define PCI_CSR_ADDR            ((unsigned int)0xfa210000)
60#define PCI_CSR_SIZE            ((unsigned int)(64 * 1024))
61
62#define MBX_CSR2                (MBX_CSR_ADDR+1)
63#endif
Note: See TracBrowser for help on using the repository browser.