config.h
资源名称:bcm4702.rar [点击查看]
上传用户:yuanda199
上传日期:2022-06-26
资源大小:412k
文件大小:7k
源码类别:
VxWorks
开发平台:
C/C++
- /* Copyright 2002 Broadcom Corporation */
- /*
- modification history
- --------------------
- 01b,17sep02,jmb add TFFS
- 01a,01aug02,jmb Written
- */
- /*
- This file contains the configuration parameters for the
- BCM 47xx
- */
- #ifndef __INCconfigh
- #define __INCconfigh
- /* BSP version/revision identification, before configAll.h */
- #define BSP_VER_1_1 1
- #define BSP_VER_1_2 1
- #define BSP_VERSION "1.0"
- #define BSP_REV "/0" /* 0 for first revision */
- /******************************************************************************/
- /* */
- /* INCLUDE FILES */
- /* */
- /******************************************************************************/
- #include "configAll.h"
- #include "mbz.h"
- #undef INCLUDE_HW_FP
- #define INCLUDE_SW_FP /* include software floating point library */
- #undef INCLUDE_SHELL
- #define INCLUDE_TFFS
- /******************************************************************************/
- /* */
- /* ENHANCED NETWORK DRIVER SUPPORT */
- /* */
- /******************************************************************************/
- #define INCLUDE_NET_SHOW
- #define INCLUDE_END
- #define STANDALONE_NET
- #define IP_MAX_UNITS 5
- #define INCLUDE_ET0_END
- #define ET0_IP_ADDRESS "192.168.1.1"
- #define INCLUDE_ET1_END
- #define ET1_IP_ADDRESS "10.19.13.181"
- /* For bcm47xx INCLUDE_PCI must be defined */
- #define INCLUDE_PCI
- /******************************************************************************/
- /* */
- /* BOOT PARAMETERS */
- /* */
- /******************************************************************************/
- #define DEFAULT_BOOT_LINE
- "et(0,0)borg:boot/bcm.bmw h=192.168.2.1 e=192.168.2.21:ffffff00 u=tornado pw=tornado+"
- #define INCLUDE_DOSFS /* dosFs file system */
- #define INCLUDE_FLASH_BOOT
- #define INCLUDE_FLASH
- /******************************************************************************/
- /* */
- /* CACHING SUPPORT */
- /* */
- /******************************************************************************/
- #undef USER_I_CACHE_MODE
- #undef USER_D_CACHE_MODE
- #define INCLUDE_CACHE_SUPPORT
- #define USER_I_CACHE_MODE CACHE_COPYBACK
- #define USER_D_CACHE_MODE CACHE_COPYBACK
- #define USER_I_CACHE_ENABLE /* undef to leave disabled*/
- #define USER_D_CACHE_ENABLE /* undef to leave disabled*/
- #undef USER_B_CACHE_ENABLE /* undef to leave disabled*/
- /* WDB agent config */
- #undef SERIAL_SYS_MODE_DEBUG
- #ifdef SERIAL_SYS_MODE_DEBUG
- #undef WDB_COMM_TYPE
- #define WDB_COMM_TYPE WDB_COMM_SERIAL
- #undef WDB_TTY_BAUD
- #define WDB_TTY_BAUD 115200
- #undef WDB_TTY_CHANNEL
- #define WDB_TTY_CHANNEL 0
- #undef WDB_TTY_DEV_NAME
- #define WDB_TTY_DEV_NAME "/tyCo/0"
- #endif /* SERIAL_SYS_MODE_DEBUG */
- /******************************************************************************/
- /* */
- /* SERIAL SUPPORT */
- /* */
- /******************************************************************************/
- #undef NUM_TTY
- #define NUM_TTY 1
- #ifdef CONSOLE_BAUD_RATE
- #undef CONSOLE_BAUD_RATE
- #endif
- #define CONSOLE_BAUD_RATE 9600 /* console baud rate */
- /******************************************************************************/
- /* */
- /* TIMER SUPPORT */
- /* */
- /******************************************************************************/
- #define SYS_CLK_RATE_MIN 1 /* minimum system clock rate */
- #define SYS_CLK_RATE_MAX 3600 /* maximum system clock rate */
- #define AUX_CLK_RATE_MIN 1 /* minimum auxiliary clock rate */
- #define AUX_CLK_RATE_MAX 10000 /* maximum auxiliary clock rate */
- /******************************************************************************/
- /* */
- /* MEMORY CONSTANTS */
- /* */
- /******************************************************************************/
- #define LOCAL_MEM_LOCAL_ADRS 0x80000000
- #define LOCAL_MEM_SIZE 0x01000000 /* 16MB memory */
- #define LOCAL_MEM_SIZE_LM 0x02000000 /* 32MB memory */
- /* User reserved memory, See sysMemTop */
- #define USER_RESERVED_MEM 0
- /*
- * The constants ROM_TEXT_ADRS, ROM_SIZE, RAM_LOW_ADRS and
- * RAM_HIGH_ADRS are defined in config.h, and MakeSkel.
- * All definitions for these constants must be identical.
- */
- #define ROM_TEXT_ADRS 0xbfc00000 /* base addresss of ROM */
- #define ROM_BASE_ADRS ROM_TEXT_ADRS
- #define ROM_SIZE 0x00080000 /* 512KB ROM space */
- #define RAM_LOW_ADRS 0x80100000 /* RAM address for kernel/compressed code storage start */
- #define RAM_HIGH_ADRS 0x80c10000 /* RAM address for ROM boot/RAM code start address */
- /******************************************************************************/
- /* */
- /* APPLICATION ENTRY POINT */
- /* */
- /******************************************************************************/
- /* Start the Orion SOC diagnostics shell */
- #define INCLUDE_USER_APPL
- #define USER_APPL_INIT { extern void vxSpawn(void); vxSpawn(); }
- #ifndef _ASMLANGUAGE
- extern unsigned long readCount(void);
- extern unsigned long readInstr(void);
- extern void APPLICATION(void);
- #endif /* _ASMLANGUAGE */
- #endif /* __INCconfigh */
- #if defined(PRJ_BUILD)
- #include "prjParams.h"
- #endif
- /* end of config.h */