sysnet.c

来自「Embedded Planet公司的ep8260单板计算机的BSP包(VxWor」· C语言 代码 · 共 69 行

C
69
字号
/* sysNet.c - system network interface support library */

/* Copyright 1984-2001 Wind River Systems, Inc. */

/*
modification history
--------------------
01a,21mar01,gh   written.
*/

/*

DESCRIPTION

This 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"

#ifdef  INCLUDE_MOT_FCC
  #include "sysMotFccEnd.c"
#endif /* INCLUDE_MOT_FCC */

/* import */
IMPORT STATUS sysFccEnetDisable (UINT32 immrVal, UINT8 fccNum);

/******************************************************************************
*
* 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.
*/

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.
*/

void sysNetHwInit2 (void)
    {
#ifdef INCLUDE_END

#endif /* INCLUDE_END */
    }

#endif /* INCLUDE_NETWORK */

⌨️ 快捷键说明

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