HAL Port — Implementation Details
This documentation explains how the eCos HAL specification has been mapped onto the Malta hardware, and should be read in conjunction with that specification. The Malta platform HAL package complements the MIPS architectural HAL and the MIPS32 variant HAL. It provides functionality which is specific to the target board.
Following a hard or soft reset the HAL will initialize or reinitialize the peripherals that it uses. There is an exception for RAM startup applications which depend on a ROM monitor for certain services.
For ROM startup, the HAL will perform additional
initialization, setting up the memory controller and PCI bridge and programming the
various internal registers. This is done in the assembler macros
defined in the
headers and in the
The Malta platform HAL enables MIPS16 support in the architecture HAL for those Core boards that contain capable processors. This allows application code to be compiled using MIPS16 options and linked against the 32 bit mode eCos library.
To compile for MIPS16 the standard flags that are used in eCos and exported
ecos.mak file should be used except that
-mips32 flag should be replaced by
-mips16 -fwritable-strings. The
-mips16 option enables MIPS16 compilation and the
-fwritable-strings option is a work-around for a
bug in the compiler.
|2018-07-27||eCosPro Non-Commercial Public License|