⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 confignet.h

📁 MPC8560 for vxwork BSP
💻 H
字号:
/* configNet.h - network configuration header *//* Copyright (c) 1984-2006 Wind River Systems, Inc. *//*modification history--------------------01j,28Jul06,tor  change TSEC END to TSEC HEND01i,15sep05,to   vxbus cleanup01h,08aug05,mdo  Change WINDBUS to VXBUS01g,08aug05,???  fix for itn8frz11 error01f,30aug04,j_b  remove INCLUDE_NETWORK dependencies (SPR #99747)01e,20aug03,dtr  Adding in TSEC config.01d,31jul03,dtr  Adding fei secondary enet.01c,07jul03,mil  Added FCC END.01b,12jun02,kab  SPR 74987: cplusplus protection01a,10oct99,mtl   written from yk 750 by teamF1*/#ifdef INCLUDE_END#ifndef INCnetConfigh#define INCnetConfigh#ifdef __cplusplus    extern "C" {#endif/* includes */#include "vxWorks.h"#include "end.h"/* defines *//* Six devices configurable :   primary/secondary/tertiary/quaternary/quinary/senary   TSEC assumed highest buffer priority followed by FCC */#define SYS_END_BUFF_LOAN_PRI   1#define SYS_END_BUFF_LOAN_SEC   2#define SYS_END_BUFF_LOAN_TER   3#define SYS_END_BUFF_LOAN_QUA   4#ifdef INCLUDE_MOT_FCC_END#define END_LOAD_FUNC_QUA       sysMotFccEndLoad#define END_BUFF_LOAN_QUA       SYS_END_BUFF_LOAN_QUA#define END_LOAD_FUNC_TER       sysMotFccEndLoad#define END_BUFF_LOAN_TER       SYS_END_BUFF_LOAN_TER#endif/* The END_LOAD_STRING is defined empty and created dynamicaly */#define END_LOAD_STRING ""      /* created in sys<device>End.c */#if defined(INCLUDE_PRIMARY_FCC_END)IMPORT END_OBJ * END_LOAD_FUNC_TER (char *, void*);#endif#if defined(INCLUDE_SECONDARY_FCC_END)IMPORT END_OBJ * END_LOAD_FUNC_QUA (char *, void*);#endif/* each entry will be processed by muxDevLoad() */END_TBL_ENTRY endDevTbl [] =    {#if defined(INCLUDE_PRIMARY_FCC_END)    {0, END_LOAD_FUNC_TER, END_LOAD_STRING, END_BUFF_LOAN_TER, NULL},#endif#if defined(INCLUDE_SECONDARY_FCC_END)    {1, END_LOAD_FUNC_QUA, END_LOAD_STRING, END_BUFF_LOAN_QUA, NULL},#endif    {0, END_TBL_END, NULL, 0, NULL} 	/* must be last */    };/* define IP_MAX_UNITS to the actual number in the table. */#ifndef IP_MAX_UNITS#define IP_MAX_UNITS            (NELEMENTS(endDevTbl) - 1)#endif  /* ifndef IP_MAX_UNITS */#ifdef __cplusplus    }#endif#endif /* INCnetConfigh */#endif /* INCLUDE_END */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -