📄 config.h.bak
字号:
/* config.h - ARM Integrator configuration header */ /* Copyright 1999-2001 ARM Limited *//* Copyright 1999-2001 Wind River Systems, Inc. *//*This module contains the configuration parameters for the ARM Integrator BSP.*/#ifndef INCconfigh#define INCconfigh#ifdef __cplusplusextern "C" {#endif/* BSP version/revision identification, before configAll.h */#define BSP_VER_1_1 1 /* 1.2 is backwards compatible with 1.1 */#define BSP_VER_1_2 1#define BSP_VERSION "1.2"#define BSP_REV "/18" /* 0 for first revision */#include "configAll.h"/* Memory configuration */#undef LOCAL_MEM_AUTOSIZE /* run-time memory sizing */#define USER_RESERVED_MEM 0x100000 /* see sysMemTop() *//* * Local-to-Bus memory address constants: * the local memory address always appears at 0 locally; * it is not dual ported. */#define LOCAL_MEM_LOCAL_ADRS 0x00000000 /* fixed at zero */#define LOCAL_MEM_SIZE 0x04000000 /* 64 Mbytes */#define LOCAL_MEM_END_ADRS (LOCAL_MEM_LOCAL_ADRS + LOCAL_MEM_SIZE)/* * Boot ROM is an image written into Flash. Part of the Flash can be * reserved for boot parameters etc. (see the Flash section below). * * The following parameters are defined here and in the Makefile. * They must be kept synchronized; effectively config.h depends on Makefile. * Any changes made here must be made in the Makefile and vice versa. * * ROM_BASE_ADRS is the base of the Flash ROM/EPROM. * ROM_TEXT_ADRS is the entry point of the VxWorks image * ROM_SIZE is the size of the part of the Flash ROM/EPROM allocated to * the VxWorks image (block size - size of headers) * * Two other constants are used: * ROM_COPY_SIZE is the size of the part of the ROM to be copied into RAM * (e.g. in uncompressed boot ROM) * ROM_SIZE_TOTAL is the size of the entire Flash ROM (used in sysPhysMemDesc) * * The values are given as literals here to make it easier to ensure * that they are the same as those in the Makefile. */#define ROM_BASE_ADRS 0x00000000 /* base of Flash/EPROM */#define ROM_TEXT_ADRS 0x24000000 /* code start addr in ROM */#define ROM_SIZE 0x00400000 /* size of ROM holding VxWorks*/ #define ROM_COPY_SIZE ROM_SIZE#define ROM_SIZE_TOTAL 0x00400000 /* total size of ROM */#define RAM_LOW_ADRS 0x00006000 /* VxWorks image entry point */#define RAM_HIGH_ADRS 0x00480000 /* RAM address for ROM boot *//* * Count for a CPU delay loop at the beginning of romInit. There have been * reports of problems with certain boards and certain power supplies, and * adding a delay at the start of romInit appears to help with this. This * value may need tuning for different board/PSU combinations. */#define INTEGRATOR_DELAY_VALUE 0x10000/* Serial port configuration *//*#define INCLUDE_SERIAL#undef NUM_TTY#define NUM_TTY N_SIO_CHANNELS*//* * Cache/MMU configuration * * Note that when MMU is enabled, cache modes are controlled by * the MMU table entries in sysPhysMemDesc[], not the cache mode * macros defined here. */#define INCLUDE_SHELL#undef USER_I_CACHE_MODE#define USER_I_CACHE_MODE CACHE_WRITETHROUGH#undef USER_D_CACHE_MODE#define USER_D_CACHE_MODE CACHE_COPYBACK#define INCLUDE_MMU_BASIC#define INCLUDE_CACHE_SUPPORT/* * Network driver configuration. * * De-select unused (default) network drivers selected in configAll.h. */#undef INCLUDE_ENP /* include CMC Ethernet interface*/#undef INCLUDE_EX /* include Excelan Ethernet interface */#undef INCLUDE_SM_NET /* include backplane net interface */#undef INCLUDE_SM_SEQ_ADDR /* shared memory network auto address setup */#undef INCLUDE_NETWORK#undef INCLUDE_SLIP#undef INCLUDE_TSFS_BOOT#define INCLUDE_TSFS_BOOT#undef NUM_TTY#define NUM_TTY N_SIO_CHANNELS #undef CONSOLE_TTY#define CONSOLE_TTY 0#undef CONSOLE_BAUD_RATE#define CONSOLE_BAUD_RATE 9600#undef WDB_TTY_CHANNEL#define WDB_TTY_CHANNEL 1#undef WDB_COMM_TYPE#define WDB_COMM_TYPE WDB_COMM_SERIAL#undef WDB_TTY_BAUD#define WDB_TTY_BAUD 9600 #define WDB_TTY_DEV_NAME "/tyCo/1"#define FORCE_DEFAULT_BOOT_LINE#define DEFAULT_BOOT_LINE \"tsfs(0,0)host:vxWorks"/*#define DEFAULT_BOOT_LINE \"tsfs(0,0)host:vxWorks"#undef WDB_TTY_DEV_NAME#define WDB_TTY_DEV_NAME "/tyCo/0" #undef CONSOLE_TTY#define CONSOLE_TTY NONE#undef WDB_TTY_CHANNEL#define WDB_TTY_CHANNEL 0 #undef WDB_COMM_TYPE#define WDB_COMM_TYPE WDB_COMM_SERIAL #undef WDB_TTY_BAUD#define WDB_TTY_BAUD 9600 #define INCLUDE_TSFS_BOOT#undef INCLUDE_WDB_TSFS#define INCLUDE_WDB_TSFS#define INCLUDE_TSFS_BOOT_VIO_CONSOLE*//* * Interrupt mode - interrupts can be in either preemptive or non-preemptive * mode. For non-preemptive mode, change INT_MODE to INT_NON_PREEMPT_MODEL */#define INT_MODE INT_PREEMPT_MODEL/* * Enable BSP-configurable interrupt priorities: order of servicing and * masking of interrupts will be determined by ambaIntLvlPriMap[] in * sysLib.c. If AMBA_INT_PRIORITY_MAP is not defined, priority of * interrupts will be least-significant bit first. *//* * miscellaneous definitions * Note: ISR_STACK_SIZE is defined here rather than in ../all/configAll.h * (as is more usual) because the stack size depends on the interrupt * structure of the BSP. */#define ISR_STACK_SIZE 0x800 /* size of ISR stack, in bytes *//* Optional timestamp support */#undef INCLUDE_TIMESTAMP /* define to include timestamp driver *//*#define INCLUDE_TIMESTAMP*//* Optional TrueFFS support */#undef INCLUDE_TFFS /* define to include TrueFFS driver */#include "integrator.h"#undef BSP_VTS/*#define rawprintf(x) (*(volatile unsigned char *)0x50000020) = x*/#undef INCLUDE_WINDML /* define to include windML support */#define RESET_ROM_START 0x0 /* Start of ROM on power-up */#define RESET_DRAM_START 0x30000000 /* Start of DRAM on power-up */#ifdef __cplusplus}#endif#endif /* INCconfigh */#if defined(PRJ_BUILD)#include "prjParams.h"#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -