RAM 6.0 BUX II Series Guía de usuario Pagina 49

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 189
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 48
2 Overview of a BSP
2.3 Components of a BSP
41
2
These macros must be defined before the configAll.h file is included. Note that
BSP_VERSION and BSP_REV should contain strings.
LOCAL_MEM_LOCAL_ADRS (Defined in config.h)
The start of the on-board memory area.
LOCAL_MEM_AUTOSIZE or LOCAL_MEM_SIZE (Defined in config.h)
Only one of these two macros is defined for a given BSP.
If defined,
LOCAL_MEM_SIZE defines the fixed (static) memory size.
If defined,
LOCAL_MEM_AUTOSIZE indicates that the BSP determines the
actual memory size when booting, and that no static size is assumed.
ROM_BASE_ADRS (Defined in config.h)
The ROM start address in hexadecimal form.
ROM_WARM_ADRS (Defined in config.h)
The warm boot entry address. This is usually defined as an offset from
ROM_TEXT_ADRS.
USER_RESERVED_MEM (Defined in config.h)
Size (in bytes) of the memory region reserved for application use. For more
information, see Wind River Technical Note #41. The default value is 0 for all
BSPs.
VMA_START (Optional. Defined in Makefile)
This macro is used for creating hex files (for example, bootrom.hex). The
default value is 0x00000000. If defined, it should be a hex address with a
leading 0x. In some BSPs, this macro is defined as follows:
VMA_START = 0x$(ROM_TEXT_ADRS)
NUM_TTY (Defined in config.h)
The number of TTY ports to be configured at boot time. The default value is 2.
Some additional architecture-specific macros may also be required in the makefile.
For example, the i960 architecture must be instructed as to where to link the initial
NOTE: The BSP version and revision must be included in the BSP README file
as well as in the config.h file. The definitions in these two files must agree.
!
CAUTION: Unless otherwise specified, the hexadecimal addresses in the macros in
Makefile must not include a leading 0x. The copies in config.h must include the
leading 0x.
Vista de pagina 48
1 2 ... 44 45 46 47 48 49 50 51 52 53 54 ... 188 189

Comentarios a estos manuales

Sin comentarios