Memory maps, Rebuilding redboot, Mips/rm7000 pmc-sierra ocelot – Comtrol eCos User Manual

Page 254

Advertising
background image

Chapter 5. Installation and Testing

#define CYGNUM_HAL_INTERRUPT_MOUSE

18

#define CYGNUM_HAL_INTERRUPT_19

19

#define CYGNUM_HAL_INTERRUPT_IDE_PRIMARY

20

#define CYGNUM_HAL_INTERRUPT_IDE_SECONDARY

21

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

hal_interrupt_data

) which immediately follows the

interrupt vector table. With 22 interrupts, the data table starts at address 0x80000258.

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

Memory Maps RedBoot sets up the following memory map on the Malta board.

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

C B

Description

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

-----------

0x80000000 - 0x81ffffff Y Y

SDRAM

0x9e000000 - 0x9e3fffff Y N

System flash (cached)

0x9fc00000 - 0x9fffffff Y N

System flash (mirrored)

0xa8000000 - 0xb7ffffff N N

PCI Memory Space

0xb4000000 - 0xb40fffff N N

Galileo System Controller

0xb8000000 - 0xb80fffff N N

Southbridge / ISA

0xb8100000 - 0xbbdfffff N N

PCI I/O Space

0xbe000000 - 0xbe3fffff N N

System flash (noncached)

0xbf000000 - 0xbfffffff N N

Board logic FPGA

Rebuilding RedBoot

These shell variables provide the platform-specific information needed for building RedBoot according to the
procedure described in

Chapter 3

:

export TARGET=malta_mips32_4kc

export ARCH_DIR=mips

export PLATFORM_DIR=malta

The names of configuration files are listed above with the description of the associated modes.

150

Advertising