sysend.c

来自「vxworks下44B0X的BSP」· C语言 代码 · 共 64 行

C
64
字号
/* sysEnd.c - System Enhanced Network interface support library */

/* Copyright 1984-2001 Wind River Systems, Inc. */
#include "copyright_wrs.h"

/*
modification history
--------------------
01a,12apr01,m_h  created from snds100 template.
*/

/*
DESCRIPTION
This file contains the board-specific routines for Ethernet adapter
initialization.


SEE ALSO: ifLib
*/

#include "vxWorks.h"
#include "intLib.h"
#include "config.h"

#ifdef INCLUDE_END

/*******************************************************************************
*
* sysLanIntEnable - enable network driver interrupts
*
* This routine enables network driver interrupts.  This may involve
* operations on interrupt control hardware.
*
* RETURNS: OK or ERROR for invalid arguments.
*/

STATUS sysLanIntEnable
    (
    int	level		/* level number */
    )
    {
    return intEnable(level);
    }

/*******************************************************************************
*
* sysLanIntDisable - disable network driver interrupts
*
* This routine disables network driver interrupts.  This may involve
* operations on interrupt control hardware.
*
* RETURNS: OK or ERROR for invalid arguments.
*/

STATUS sysLanIntDisable
    (
    int	level		/* level number */
    )
    {
    return intDisable(level);
    }

#endif /* INCLUDE_END */

⌨️ 快捷键说明

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