sysnet.c
来自「Vxworks的bsp软件开发包(基于wrPpmc74xx)」· C语言 代码 · 共 71 行
C
71 行
/* sysNet.c - system network interface support library *//* Copyright 1984-2001 Wind River Systems, Inc. *//*modification history--------------------01a,21mar01,gh written.*//*DESCRIPTIONThis library contains board-specific routines for network subsystems.*/#if defined (INCLUDE_NETWORK)/* includes */#include "copyright_wrs.h"#include "vxWorks.h"#include "taskLib.h"#include "sysLib.h"#include "config.h"/***************************************************************************** sysNetHwInit - initialize the network interface** This routine initializes the network hardware to a quiescent state. It* does not connect interrupts.** Only polled mode operation is possible after calling this routine.* Interrupt mode operation is possible after the memory system has been* initialized and sysNetHwInit2() has been called.** RETURNS: N/A** SEE ALSO: sysHwInit()*/void sysNetHwInit (void) { }/***************************************************************************** sysNetHwInit2 - initialize additional features of the network interface** This routine completes initialization needed for interrupt mode operation* of the network device drivers. Interrupt handlers can be connected.* Interrupt or DMA operations can begin.** RETURNS: N/A** SEE ALSO: sysHwInit2*/void sysNetHwInit2 (void) {#ifdef INCLUDE_END#ifdef INCLUDE_FEI82557END sys557PciInit (); /* Intel 82557/9 device */#endif /* INJCLUDE_FEI82557END */#endif /* INCLUDE_END */ }#endif /* INCLUDE_NETWORK */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?