?? ss_cfg.h
字號:
/*************************************************************************************** Copyright(C) UTStarcom(China) Co. Ltd, Shenzhen Branch* Version : 0.0.1* File Name : SS_CFG.h* Creation : Spine.zhang 2002-1-28* Description : This file defines Trillium general configuration information. The old configuration is defined in OS depend header file.* Modification : **************************************************************************************/#ifndef _SS_CFG_H__#define _SS_CFG_H__/*------------------------------ include files---------------------------------------*//*------------------------------ Const definitions (Configuartion)-------------------*//* general */#define SS_PROC_ID PID_STK(1)/* task related */#define SS_MAX_ENT 255#define SS_MAX_INST 8#define SS_MAX_TTSKS 30#define SS_MAX_STSKS 30#ifdef SS_DRVR_SUPPORT #define SS_MAX_DRVRTSKS 70 #define SS_MAX_ISRCMD 100#endif#ifdef SS_RTR_SUPPORT #define SS_MAX_RTRTSKS 20#endif/* timer related */#define SS_MAX_TMRS 15/* memory related regions */#define SS_MAX_REGS 9#define SS_MAX_POOLS_PER_REG 5/* memory block sizes and counts for memory manager configuration */#ifdef TRI_LITTLE_MEM#define SS_DFLT_NMB_BUFS_128 5000#define SS_MBUF_128_SIZE 72#define SS_DFLT_NMB_BUFS_256 4000#define SS_MBUF_256_SIZE 256#define SS_DFLT_NMB_BUFS_512 16#define SS_MBUF_512_SIZE 512#define SS_DFLT_NMB_BUFS_1024 0#define SS_MBUF_1024_SIZE 1024#define SS_DFLT_NMB_BUFS_2048 0#define SS_MBUF_2048_SIZE 2048#else#define SS_DFLT_NMB_BUFS_128 5000#define SS_MBUF_128_SIZE 72#define SS_DFLT_NMB_BUFS_256 2000#define SS_MBUF_256_SIZE 256#define SS_DFLT_NMB_BUFS_512 2000#define SS_MBUF_512_SIZE 512#define SS_DFLT_NMB_BUFS_1024 0#define SS_MBUF_1024_SIZE 1024#define SS_DFLT_NMB_BUFS_2048 0#define SS_MBUF_2048_SIZE 2048#endif/* memory size used for heap by the memory manager (512KB) */#ifndef TRI_MEM_SIZE#define SS_HEAP_SIZE (512*1024)#else#define SS_HEAP_SIZE TRI_MEM_SIZE#endif/*------------------------------ Operation definitions (Macro)-----------------------*//*------------------------------ Type definitions ----------------------------------*//*------------------------------ Public data ----------------------------------------*//*------------------------------ Public functions -----------------------------------*/#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -