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

📄 confignet.h

📁 这是WINDRIVER公司所开发的针对freescale公司最新的powerpc系列MPC8560的针对vxworks的bsp。对做powerpc嵌入式的很有用了。
💻 H
字号:
/* configNet.h - network configuration header *//* Copyright 1984-1999 Wind River Systems, Inc. *//*modification history--------------------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*/ #if (defined(INCLUDE_END) && defined(INCLUDE_NETWORK))#ifndef INCnetConfigh#define INCnetConfigh#ifdef __cplusplus    extern "C" {#endif/* includes */#include "vxWorks.h"#include "end.h"/* defines *//* Six devices configurable :   primary/secondary/teriary/quaternary/quinary/senary    TSEC assumed highest buffer priority followed by FCC then FEI */#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#define SYS_END_BUFF_LOAN_QUI   5#define SYS_END_BUFF_LOAN_SEN   6#ifdef INCLUDE_FEI_END#define END_LOAD_FUNC_QUI       sysFei82557EndLoad#define END_BUFF_LOAN_QUI       SYS_END_BUFF_LOAN_QUI   #define END_LOAD_FUNC_SEN       sysFei82557EndLoad#define END_BUFF_LOAN_SEN       SYS_END_BUFF_LOAN_SEN   #endif#ifdef INCLUDE_MOTFCCEND#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#ifdef INCLUDE_MOT_TSEC_END#define END_LOAD_FUNC_PRI       sysMotTsecEndLoad#define END_BUFF_LOAN_PRI       SYS_END_BUFF_LOAN_PRI   #define END_LOAD_FUNC_SEC       sysMotTsecEndLoad#define END_BUFF_LOAN_SEC       SYS_END_BUFF_LOAN_SEC  #endif/* Secondary network device *//* secondary devices are currently unsupported in this release *//* The END_LOAD_STRING is defined empty and created dynamicaly */#define END_LOAD_STRING ""      /* created in sys<device>End.c *//* 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 */#if defined(INCLUDE_PRIMARY_TSEC_END)IMPORT END_OBJ * END_LOAD_FUNC_PRI (char *, void*);#endif#if defined(INCLUDE_SECONDARY_TSEC_END)IMPORT END_OBJ * END_LOAD_FUNC_SEC (char *, void*);#endif#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#if defined(INCLUDE_PRIMARY_FEI_END)IMPORT END_OBJ * END_LOAD_FUNC_QUI (char *, void*);#endif#if defined(INCLUDE_SECONDARY_FEI_END)IMPORT END_OBJ * END_LOAD_FUNC_SEN (char *, void*);#endif/* each entry will be processed by muxDevLoad() */END_TBL_ENTRY endDevTbl [] =    {#if defined(INCLUDE_PRIMARY_TSEC_END)    {0, END_LOAD_FUNC_PRI, END_LOAD_STRING, END_BUFF_LOAN_PRI, NULL},#endif#if defined(INCLUDE_SECONDARY_TSEC_END)    {1, END_LOAD_FUNC_SEC, END_LOAD_STRING, END_BUFF_LOAN_SEC, NULL},#endif#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#if defined(INCLUDE_PRIMARY_FEI_END)    {0, END_LOAD_FUNC_QUI, END_LOAD_STRING, END_BUFF_LOAN_QUI, NULL},#endif#if defined(INCLUDE_SECONDARY_FEI_END)    {1, END_LOAD_FUNC_SEN, END_LOAD_STRING, END_BUFF_LOAN_SEN, NULL},#endif    {0, END_TBL_END, NULL, 0, NULL} 	/* must be last */    };#endif /* INCnetConfigh */#ifdef __cplusplus    }#endif#endif /* (defined (INCLUDE_END) && defined (INCLUDE_NETWORK)) */

⌨️ 快捷键说明

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