亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? ixnpemh.h

?? 友善mini2440嵌入式
?? H
?? 第 1 頁 / 共 2 頁
字號:
/** * @file IxNpeMh.h * * @date 14 Dec 2001 * * @brief This file contains the public API for the IXP400 NPE Message * Handler component. * *  * @par * IXP400 SW Release version 2.0 *  * -- Copyright Notice -- *  * @par * Copyright 2001-2005, Intel Corporation. * All rights reserved. *  * @par * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright *    notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright *    notice, this list of conditions and the following disclaimer in the *    documentation and/or other materials provided with the distribution. * 3. Neither the name of the Intel Corporation nor the names of its contributors *    may be used to endorse or promote products derived from this software *    without specific prior written permission. *  * @par * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. *  * @par * -- End of Copyright Notice --*//** * @defgroup IxNpeMh IXP400 NPE Message Handler (IxNpeMh) API * * @brief The public API for the IXP400 NPE Message Handler component. *  * @{ */#ifndef IXNPEMH_H#define IXNPEMH_H#include "IxOsalTypes.h"/* * #defines for function return types, etc. */#define IX_NPEMH_MIN_MESSAGE_ID (0x00) /**< minimum valid message ID */#define IX_NPEMH_MAX_MESSAGE_ID (0xFF) /**< maximum valid message ID */#define IX_NPEMH_SEND_RETRIES_DEFAULT (3) /**< default msg send retries *//** * @def IX_NPEMH_CRITICAL_NPE_ERR * * @brief NpeMH function return value for a Critical NPE error occuring during          sending/receiving message. Assume NPE hang / halt if this value is          returned. */#define IX_NPEMH_CRITICAL_NPE_ERR        2/** * @enum IxNpeMhNpeId * * @brief The ID of a particular NPE. * @note In this context, for IXP425 Silicon (B0):<br>  *      - NPE-A has HDLC, HSS, AAL and UTOPIA Coprocessors.<br>  *      - NPE-B has Ethernet Coprocessor.<br> *      - NPE-C has Ethernet, AES, DES and HASH Coprocessors.<br> *      - IXP400 Product Line have different combinations of coprocessors.  */typedef enum{    IX_NPEMH_NPEID_NPEA = 0, /**< ID for NPE-A */    IX_NPEMH_NPEID_NPEB,     /**< ID for NPE-B */    IX_NPEMH_NPEID_NPEC,     /**< ID for NPE-C */    IX_NPEMH_NUM_NPES        /**< Number of NPEs */} IxNpeMhNpeId;/** * @enum IxNpeMhNpeInterrupts * * @brief Indicator specifying whether or not NPE interrupts should drive * receiving of messages from the NPEs. */typedef enum{    IX_NPEMH_NPEINTERRUPTS_NO = 0, /**< Don't use NPE interrupts */    IX_NPEMH_NPEINTERRUPTS_YES     /**< Do use NPE interrupts */} IxNpeMhNpeInterrupts;/** * @brief The 2-word message structure to send to and receive from the * NPEs. */typedef struct{    UINT32 data[2]; /**< the actual data of the message */} IxNpeMhMessage;/** message ID */typedef UINT32 IxNpeMhMessageId;/** * @typedef IxNpeMhCallback * * @brief This prototype shows the format of a message callback function. * * This prototype shows the format of a message callback function.  The * message callback will be passed the message to be handled and will also * be told from which NPE the message was received.  The message callback * will either be registered by ixNpeMhUnsolicitedCallbackRegister() or * passed as a parameter to ixNpeMhMessageWithResponseSend().  It will be * called from within an ISR triggered by the NPE's "outFIFO not empty" * interrupt (see ixNpeMhInitialize()).  The parameters passed are the ID * of the NPE that the message was received from, and the message to be * handled.<P><B>Re-entrancy:</B> This function is only a prototype, and * will be implemented by the client.  It does not need to be re-entrant. */typedef void (*IxNpeMhCallback) (IxNpeMhNpeId, IxNpeMhMessage);/* * Prototypes for interface functions. *//** * @ingroup IxNpeMh * * @fn IX_STATUS ixNpeMhInitialize (           IxNpeMhNpeInterrupts npeInterrupts) * * @brief This function will initialise the IxNpeMh component. * * @param npeInterrupts @ref IxNpeMhNpeInterrupts [in] - This parameter * dictates whether or not the IxNpeMh component will service NPE "outFIFO * not empty" interrupts to trigger receiving and processing of messages * from the NPEs.  If not then the client must use ixNpeMhMessagesReceive() * to control message receiving and processing. * * This function will initialise the IxNpeMh component.  It should only be * called once, prior to using the IxNpeMh component.  The following * actions will be performed by this function:<OL><LI>Initialization of * internal data structures (e.g. solicited and unsolicited callback * tables).</LI><LI>Configuration of the interface with the NPEs (e.g. * enabling of NPE "outFIFO not empty" interrupts).</LI><LI>Registration of * ISRs that will receive and handle messages when the NPEs' "outFIFO not * empty" interrupts fire (if npeInterrupts equals * IX_NPEMH_NPEINTERRUPTS_YES).</LI></OL> * * @return The function returns a status indicating success or failure. */PUBLIC IX_STATUS ixNpeMhInitialize (    IxNpeMhNpeInterrupts npeInterrupts);/** * @ingroup IxNpeMh * * @fn IX_STATUS ixNpeMhUnload (void) * * @brief This function will uninitialise the IxNpeMh component. * * This function will uninitialise the IxNpeMh component.  It should only be * called once, and only if the IxNpeMh component has already been initialised. * No other IxNpeMh API functions should be called until @ref ixNpeMhInitialize * is called again. * If possible, this function should be called before a soft reboot or unloading * a kernel module to perform any clean up operations required for IxNpeMh. * * The following actions will be performed by this function: * <OL><LI>Unmapping of kernel memory mapped by the function * @ref ixNpeMhInitialize.</LI></OL> * * @return The function returns a status indicating success or failure. */PUBLIC IX_STATUS ixNpeMhUnload (void);/** * @ingroup IxNpeMh * * @fn IX_STATUS ixNpeMhUnsolicitedCallbackRegister (           IxNpeMhNpeId npeId,           IxNpeMhMessageId messageId,           IxNpeMhCallback unsolicitedCallback) * * @brief This function will register an unsolicited callback for a * particular NPE and message ID. * * @param npeId @ref IxNpeMhNpeId [in] - The ID of the NPE whose messages * the unsolicited callback will handle. * @param messageId @ref IxNpeMhMessageId [in] - The ID of the messages the * unsolicited callback will handle. * @param unsolicitedCallback @ref IxNpeMhCallback [in] - The unsolicited * callback function.  A value of NULL will deregister any previously * registered callback for this NPE and message ID. * * This function will register an unsolicited message callback for a * particular NPE and message ID.<P>If an unsolicited callback is already * registered for the specified NPE and message ID then the callback will * be overwritten.  Only one client will be responsible for handling a * particular message ID associated with a NPE.  Registering a NULL * unsolicited callback will deregister any previously registered * callback.<P>The callback function will be called from an ISR that will * be triggered by the NPE's "outFIFO not empty" interrupt (see * ixNpeMhInitialize()) to handle any unsolicited messages of the specific * message ID received from the NPE.  Unsolicited messages will be handled * in the order they are received.<P>If no unsolicited callback can be * found for a received message then it is assumed that the message is * solicited.<P>If more than one client may be interested in a particular * unsolicited message then the suggested strategy is to register a * callback for the message that can itself distribute the message to * multiple clients as necessary.<P>See also * ixNpeMhUnsolicitedCallbackForRangeRegister().<P><B>Re-entrancy:</B> This * function will be callable from any thread at any time.  IxOsal * will be used for any necessary resource protection. * * @return The function returns a status indicating success or failure. */PUBLIC IX_STATUS ixNpeMhUnsolicitedCallbackRegister (    IxNpeMhNpeId npeId,    IxNpeMhMessageId messageId,    IxNpeMhCallback unsolicitedCallback);/**

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美综合一区二区三区| 亚洲欧洲性图库| 亚洲图片激情小说| 久久不见久久见中文字幕免费| 成人听书哪个软件好| 91麻豆精品国产自产在线| 成人免费在线观看入口| 精一区二区三区| 欧美精品粉嫩高潮一区二区| 一区二区三区四区亚洲| 成人黄色一级视频| 久久中文娱乐网| 日韩电影一二三区| 欧美日韩综合不卡| 自拍偷拍亚洲激情| 成人av电影观看| 国产精品伦理在线| 国产精品资源网站| 欧美成人精品1314www| 日韩电影在线观看电影| 欧美视频一区在线观看| 亚洲男同性恋视频| 色屁屁一区二区| 中文字幕日本乱码精品影院| 成人性生交大片免费看视频在线 | 国产精品亚洲午夜一区二区三区 | 蜜臀av一区二区三区| 日本韩国精品一区二区在线观看| 中日韩av电影| 国产不卡免费视频| 中文字幕第一区第二区| 国产成人综合亚洲网站| 国产视频一区二区在线观看| 国产乱理伦片在线观看夜一区| 欧美成人a视频| 韩国女主播一区| 国产精品无码永久免费888| 成人性生交大片免费看中文 | 免费在线成人网| 欧美一区二视频| 蜜臀久久久久久久| 精品国产第一区二区三区观看体验| 麻豆精品国产传媒mv男同 | 极品少妇一区二区三区精品视频 | 日韩亚洲欧美一区二区三区| 美女任你摸久久 | 一本一本大道香蕉久在线精品| 亚洲三级电影全部在线观看高清| 99综合电影在线视频| 一区二区三区国产精品| 欧美日韩国产片| 另类成人小视频在线| 国产人成一区二区三区影院| 91小视频在线| 日韩影院免费视频| 久久你懂得1024| 色综合久久六月婷婷中文字幕| 亚洲愉拍自拍另类高清精品| 91麻豆精品国产| 国产一区二区三区四区五区美女 | 日韩黄色在线观看| 国产亚洲女人久久久久毛片| 91在线高清观看| 天堂成人国产精品一区| 国产亚洲精品7777| 欧美偷拍一区二区| 韩国v欧美v亚洲v日本v| 亚洲人一二三区| 欧美成人国产一区二区| www.久久久久久久久| 日本亚洲最大的色成网站www| 久久久久国产免费免费| 欧美性色欧美a在线播放| 国产成人亚洲综合a∨婷婷图片| 亚洲午夜久久久| 国产欧美日韩另类一区| 91精品国产综合久久香蕉麻豆| 国产激情精品久久久第一区二区 | 日韩精品一区二区三区在线 | 国产精品中文字幕一区二区三区| 亚洲免费av网站| 国产三区在线成人av| 欧美剧情片在线观看| jizz一区二区| 国产麻豆午夜三级精品| 午夜激情综合网| 亚洲伦在线观看| 日本一区二区三区dvd视频在线| 欧美日韩国产首页| 91搞黄在线观看| 99这里都是精品| 国产白丝精品91爽爽久久| 麻豆免费精品视频| 亚洲成人av一区二区| 成人免费视频在线观看| 久久综合狠狠综合久久综合88| 91精品一区二区三区在线观看| 色综合久久中文综合久久牛| 成人一区二区三区视频在线观看| 精品亚洲成av人在线观看| 亚洲大片免费看| 一区二区三区国产| 亚洲三级视频在线观看| 国产精品福利av| 国产精品视频一二三| 国产午夜亚洲精品午夜鲁丝片| 日韩三级av在线播放| 91精品蜜臀在线一区尤物| 欧美中文字幕一二三区视频| 色吊一区二区三区| 色欧美乱欧美15图片| 99久久99久久综合| 91丝袜美女网| 色综合天天狠狠| 91成人在线精品| 欧洲一区在线观看| 欧美日韩三级一区| 欧美日本高清视频在线观看| 欧美日韩色一区| 91精品国产手机| 精品理论电影在线| 久久久久国产精品厨房| 国产欧美一区二区精品婷婷 | 色94色欧美sute亚洲线路一久| 99久免费精品视频在线观看| av一本久道久久综合久久鬼色| 不卡免费追剧大全电视剧网站| 成人国产视频在线观看| 91美女在线看| 欧美精三区欧美精三区| 日韩一二在线观看| 欧美国产成人精品| 亚洲一区在线视频| 日韩电影在线观看一区| 国产精品一二三区| 99久久国产综合精品色伊| 欧美在线免费观看亚洲| 欧美一区二区三区色| 欧美第一区第二区| 国产午夜精品久久久久久久| 中文字幕二三区不卡| 亚洲专区一二三| 国内不卡的二区三区中文字幕| 粉嫩嫩av羞羞动漫久久久| 色美美综合视频| 欧美大片一区二区| 中文字幕制服丝袜一区二区三区 | 亚洲一区国产视频| 激情综合色播五月| 一本大道久久精品懂色aⅴ| 欧美精品v国产精品v日韩精品| 久久伊人蜜桃av一区二区| 亚洲婷婷在线视频| 久久精品99国产精品| 成人综合日日夜夜| 91精品国产综合久久久蜜臀图片| 中文成人综合网| 奇米影视在线99精品| 成人精品国产一区二区4080| 欧美日韩一区二区在线观看 | 亚洲精品乱码久久久久久久久 | 91精品国产91热久久久做人人| 久久久久久亚洲综合| 亚洲国产精品综合小说图片区| 国产精品自拍在线| 欧美三级电影精品| 亚洲欧美一区二区在线观看| 麻豆91免费观看| 欧美亚日韩国产aⅴ精品中极品| 26uuu国产在线精品一区二区| 最新国产成人在线观看| 国内精品嫩模私拍在线| 91福利社在线观看| 国产精品盗摄一区二区三区| 国产一区二区在线观看免费| 欧美午夜一区二区三区免费大片| 国产精品色噜噜| 国产成人亚洲综合色影视| 欧美一卡二卡三卡四卡| 亚洲国产成人va在线观看天堂| 成人免费视频视频在线观看免费| 日韩视频一区二区三区| 亚洲国产日韩a在线播放性色| 国产成人免费av在线| 91精品国产日韩91久久久久久| 日韩一区中文字幕| 岛国一区二区在线观看| 国产偷国产偷精品高清尤物 | 亚洲一区二区三区四区五区中文 | 亚洲视频免费在线观看| 成人丝袜18视频在线观看| 精品久久久久久久一区二区蜜臀| 欧美aaa在线| 精品日韩欧美在线| 久久99精品久久只有精品| 正在播放亚洲一区| 日韩中文字幕不卡| 日韩欧美国产电影| 久久国产精品无码网站| 日韩欧美成人午夜|