Memory maps – Comtrol eCos User Manual

Page 232

Advertising
background image

Chapter 5. Installation and Testing

#define CYGNUM_HAL_INTERRUPT_P_SERR

47

#define CYGNUM_HAL_INTERRUPT_S_SERR

48

The data passed to the ISR is pulled from a data table

(hal_interrupt_data)

which immediately follows the

interrupt vector table. With 49 interrupts, the data table starts at address 0xA000A0C8.

An application may create a normal C function with the above prototype to be an ISR. Just poke its address into the
table at the correct index and enable the interrupt at its source. The return value of the ISR is ignored by RedBoot.

Memory Maps

The first level page table is located at 0xa0004000. Two second level tables are also used. One second level table is
located at 0xa0008000 and maps the first 1MB of flash. The other second level table is at 0xa0008400, and maps
the first 1MB of SDRAM.

NOTE: The virtual memory maps in this section use a C and B column to indicate whether or not the region is
cached (C) or buffered (B).

Physical Address Range

Description

-----------------------

----------------------------------

0x00000000 - 0x00000fff

flash Memory

0x00001000 - 0x00001fff

80312 Internal Registers

0x00002000 - 0x007fffff

flash Memory

0x00800000 - 0x7fffffff

PCI ATU Outbound Direct Window

0x80000000 - 0x83ffffff

Primary PCI 32-bit Memory

0x84000000 - 0x87ffffff

Primary PCI 64-bit Memory

0x88000000 - 0x8bffffff

Secondary PCI 32-bit Memory

0x8c000000 - 0x8fffffff

Secondary PCI 64-bit Memory

0x90000000 - 0x9000ffff

Primary PCI IO Space

0x90010000 - 0x9001ffff

Secondary PCI IO Space

0x90020000 - 0x9fffffff

Unused

0xa0000000 - 0xbfffffff

SDRAM

0xc0000000 - 0xefffffff

Unused

0xf0000000 - 0xffffffff

80200 Internal Registers

Virtual Address Range

C B

Description

-----------------------

- -

----------------------------------

0x00000000 - 0x00000fff

Y Y

SDRAM

0x00001000 - 0x00001fff

N N

80312 Internal Registers

0x00002000 - 0x007fffff

Y N

flash Memory

0x00800000 - 0x7fffffff

N N

PCI ATU Outbound Direct Window

0x80000000 - 0x83ffffff

N N

Primary PCI 32-bit Memory

0x84000000 - 0x87ffffff

N N

Primary PCI 64-bit Memory

0x88000000 - 0x8bffffff

N N

Secondary PCI 32-bit Memory

0x8c000000 - 0x8fffffff

N N

Secondary PCI 64-bit Memory

0x90000000 - 0x9000ffff

N N

Primary PCI IO Space

0x90010000 - 0x9001ffff

N N

Secondary PCI IO Space

0xa0000000 - 0xbfffffff

Y Y

SDRAM

128

Advertising