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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? ixnpemh.c

?? 友善mini2440嵌入式
?? C
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):
/** * @file IxNpeMh.c * * @author Intel Corporation * @date 18 Jan 2002 * * @brief This file contains the implementation of the public API for the * IXP425 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 --*//* * Put the system defined include files required. *//* * Put the user defined include files required. */#include "IxOsal.h"#include "IxNpeMhMacros_p.h"#include "IxNpeMh.h"#include "IxNpeMhConfig_p.h"#include "IxNpeMhReceive_p.h"#include "IxNpeMhSend_p.h"#include "IxNpeMhSolicitedCbMgr_p.h"#include "IxNpeMhUnsolicitedCbMgr_p.h"/* * #defines and macros used in this file. *//* * Typedefs whose scope is limited to this file. *//* * Variable declarations global to this file only.  Externs are followed by * static variables. */PRIVATE BOOL ixNpeMhInitialized = FALSE;/* * Extern function prototypes. *//* * Static function prototypes. *//* * Function definition: ixNpeMhInitialize */PUBLIC IX_STATUS ixNpeMhInitialize (    IxNpeMhNpeInterrupts npeInterrupts){    IX_NPEMH_TRACE0 (IX_NPEMH_FN_ENTRY_EXIT, "Entering "                     "ixNpeMhInitialize\n");    /* check the npeInterrupts parameter */    if ((npeInterrupts != IX_NPEMH_NPEINTERRUPTS_NO) &&        (npeInterrupts != IX_NPEMH_NPEINTERRUPTS_YES))    {        IX_NPEMH_ERROR_REPORT ("Illegal npeInterrupts parameter value\n");        return IX_FAIL;    }    /* parameters are ok ... */    /* initialize the Receive module */    ixNpeMhReceiveInitialize ();    /* initialize the Solicited Callback Manager module */    ixNpeMhSolicitedCbMgrInitialize ();    /* initialize the Unsolicited Callback Manager module */    ixNpeMhUnsolicitedCbMgrInitialize ();    /* initialize the Configuration module     *     * NOTE: This module was originally configured before the     * others, but the sequence was changed so that interrupts     * would only be enabled after the handler functions were     * set up.  The above modules need to be initialised to     * handle the NPE interrupts.  See SCR #2231.     */    ixNpeMhConfigInitialize (npeInterrupts);    ixNpeMhInitialized = TRUE;    IX_NPEMH_TRACE0 (IX_NPEMH_FN_ENTRY_EXIT, "Exiting "                     "ixNpeMhInitialize\n");    return IX_SUCCESS;}/* * Function definition: ixNpeMhUnload */PUBLIC IX_STATUS ixNpeMhUnload (void){    IX_NPEMH_TRACE0 (IX_NPEMH_FN_ENTRY_EXIT, "Entering "                     "ixNpeMhUnload\n");    if (!ixNpeMhInitialized)    {	return IX_FAIL;    }    /* Uninitialize the Configuration module */    ixNpeMhConfigUninit ();    ixNpeMhInitialized = FALSE;    IX_NPEMH_TRACE0 (IX_NPEMH_FN_ENTRY_EXIT, "Exiting "                     "ixNpeMhUnload\n");    return IX_SUCCESS;}/* * Function definition: ixNpeMhUnsolicitedCallbackRegister */PUBLIC IX_STATUS ixNpeMhUnsolicitedCallbackRegister (    IxNpeMhNpeId npeId,    IxNpeMhMessageId messageId,    IxNpeMhCallback unsolicitedCallback){    IX_NPEMH_TRACE0 (IX_NPEMH_FN_ENTRY_EXIT, "Entering "                     "ixNpeMhUnsolicitedCallbackRegister\n");    /* check that we are initialized */    if (!ixNpeMhInitialized)    {        IX_NPEMH_ERROR_REPORT ("IxNpeMh component is not initialized\n");        return IX_FAIL;    }    /* check the npeId parameter */    if (!ixNpeMhConfigNpeIdIsValid (npeId))    {        IX_NPEMH_ERROR_REPORT ("NPE ID invalid\n");        return IX_FAIL;    }    /* check the messageId parameter */    if ((messageId < IX_NPEMH_MIN_MESSAGE_ID)        || (messageId > IX_NPEMH_MAX_MESSAGE_ID))    {        IX_NPEMH_ERROR_REPORT ("Message ID is out of range\n");        return IX_FAIL;    }    /* the unsolicitedCallback parameter is allowed to be NULL */    /* parameters are ok ... */    /* get the lock to prevent other clients from entering */    ixNpeMhConfigLockGet (npeId);    /* save the unsolicited callback for the message ID */    ixNpeMhUnsolicitedCbMgrCallbackSave (        npeId, messageId, unsolicitedCallback);    /* release the lock to allow other clients back in */    ixNpeMhConfigLockRelease (npeId);    IX_NPEMH_TRACE0 (IX_NPEMH_FN_ENTRY_EXIT, "Exiting "                     "ixNpeMhUnsolicitedCallbackRegister\n");    return IX_SUCCESS;}/* * Function definition: ixNpeMhUnsolicitedCallbackForRangeRegister */PUBLIC IX_STATUS ixNpeMhUnsolicitedCallbackForRangeRegister (    IxNpeMhNpeId npeId,    IxNpeMhMessageId minMessageId,    IxNpeMhMessageId maxMessageId,    IxNpeMhCallback unsolicitedCallback){    IxNpeMhMessageId messageId;    IX_NPEMH_TRACE0 (IX_NPEMH_FN_ENTRY_EXIT, "Entering "                     "ixNpeMhUnsolicitedCallbackForRangeRegister\n");    /* check that we are initialized */    if (!ixNpeMhInitialized)    {        IX_NPEMH_ERROR_REPORT ("IxNpeMh component is not initialized\n");        return IX_FAIL;    }    /* check the npeId parameter */    if (!ixNpeMhConfigNpeIdIsValid (npeId))    {        IX_NPEMH_ERROR_REPORT ("NPE ID invalid\n");        return IX_FAIL;    }    /* check the minMessageId parameter */    if ((minMessageId < IX_NPEMH_MIN_MESSAGE_ID)        || (minMessageId > IX_NPEMH_MAX_MESSAGE_ID))    {        IX_NPEMH_ERROR_REPORT ("Min message ID is out of range\n");        return IX_FAIL;    }    /* check the maxMessageId parameter */    if ((maxMessageId < IX_NPEMH_MIN_MESSAGE_ID)        || (maxMessageId > IX_NPEMH_MAX_MESSAGE_ID))    {        IX_NPEMH_ERROR_REPORT ("Max message ID is out of range\n");        return IX_FAIL;    }    /* check the semantics of the message range parameters */    if (minMessageId > maxMessageId)    {        IX_NPEMH_ERROR_REPORT ("Min message ID greater than max message "                               "ID\n");        return IX_FAIL;    }    /* the unsolicitedCallback parameter is allowed to be NULL */    /* parameters are ok ... */    /* get the lock to prevent other clients from entering */    ixNpeMhConfigLockGet (npeId);    /* for each message ID in the range ... */    for (messageId = minMessageId; messageId <= maxMessageId; messageId++)    {        /* save the unsolicited callback for the message ID */        ixNpeMhUnsolicitedCbMgrCallbackSave (            npeId, messageId, unsolicitedCallback);    }    /* release the lock to allow other clients back in */    ixNpeMhConfigLockRelease (npeId);    IX_NPEMH_TRACE0 (IX_NPEMH_FN_ENTRY_EXIT, "Exiting "                     "ixNpeMhUnsolicitedCallbackForRangeRegister\n");

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产老妇另类xxxxx| 国产一区在线视频| 久久综合九色综合欧美亚洲| 91免费观看视频在线| 秋霞国产午夜精品免费视频| 亚洲欧洲日产国产综合网| 91精品一区二区三区久久久久久| 国产在线精品不卡| 一区二区三区四区中文字幕| 日韩欧美国产一区二区三区| 高清shemale亚洲人妖| 亚洲夂夂婷婷色拍ww47| 精品日韩在线观看| 在线免费观看日韩欧美| 黑人巨大精品欧美黑白配亚洲| 中文字幕日韩精品一区| 欧美一区日韩一区| 91免费版pro下载短视频| 麻豆视频观看网址久久| 亚洲欧美区自拍先锋| 欧美zozo另类异族| 在线观看www91| 丁香桃色午夜亚洲一区二区三区| 视频在线观看91| 国产精品国产三级国产| 日韩欧美国产综合一区| 日本精品一级二级| 国产成a人亚洲精品| 午夜激情久久久| **网站欧美大片在线观看| 精品嫩草影院久久| 欧美图区在线视频| 国产米奇在线777精品观看| 舔着乳尖日韩一区| 亚洲欧洲成人av每日更新| 久久免费偷拍视频| 日韩欧美中文一区| 欧美精品色一区二区三区| 91丝袜美腿高跟国产极品老师 | 久久99国产精品免费| 一区二区三区电影在线播| 亚洲国产精品高清| 久久中文娱乐网| 欧美电视剧在线看免费| 欧美美女激情18p| 欧美最猛黑人xxxxx猛交| 极品少妇xxxx精品少妇偷拍 | 亚洲欧美日韩成人高清在线一区| 国产三区在线成人av| 精品88久久久久88久久久| 欧美一区二区三区四区五区| 欧美午夜精品免费| 欧美综合一区二区| 欧美日韩在线播放| 欧美性高清videossexo| 欧美性一二三区| 欧美性大战xxxxx久久久| 成人app在线| 精彩视频一区二区| 久久av中文字幕片| 加勒比av一区二区| 国产精品夜夜爽| 丁香激情综合国产| 一本色道a无线码一区v| 99re视频精品| 在线观看国产一区二区| 欧美日韩黄色影视| 色国产综合视频| 日本精品一区二区三区高清 | www.亚洲人| 欧美大片免费久久精品三p| 日韩欧美国产一二三区| 久久婷婷国产综合精品青草| 日韩欧美一区电影| 欧美成人精品3d动漫h| 日韩欧美一级二级三级| 欧美亚洲另类激情小说| 日韩亚洲欧美一区二区三区| 久久亚洲综合色| 国产精品美女久久久久aⅴ国产馆 国产精品美女久久久久av爽李琼 国产精品美女久久久久高潮 | 国产精品成人一区二区艾草| 国产精品久久久久久一区二区三区 | 91精品综合久久久久久| 久久久午夜精品理论片中文字幕| 国产亚洲人成网站| 亚洲三级在线观看| 亚洲福利一二三区| 久久福利视频一区二区| 成人小视频在线观看| 一本一道波多野结衣一区二区| 欧美日韩国产不卡| 精品欧美乱码久久久久久| 国产精品理论在线观看| 一区二区在线看| 亚洲国产精品自拍| 国产自产视频一区二区三区| 国产一区二区三区电影在线观看| 不卡一区在线观看| 欧美私模裸体表演在线观看| 欧美电视剧免费全集观看| 日韩一区在线看| 奇米精品一区二区三区四区 | 成人性色生活片| 在线视频欧美精品| 欧美一区二区三区系列电影| 久久久不卡影院| 国产精品久久午夜| 亚洲视频中文字幕| 精品一区二区国语对白| 91成人国产精品| 久久午夜色播影院免费高清| 亚洲综合在线视频| 成人免费毛片app| 欧美一级夜夜爽| 国产精品电影院| 韩日av一区二区| 欧美精品久久久久久久久老牛影院| 久久综合色鬼综合色| 亚洲国产美女搞黄色| 成人亚洲一区二区一| 91精品国产aⅴ一区二区| 中文字幕一区二区三区蜜月| 免费高清视频精品| 91久久精品一区二区三| 日本一区二区免费在线 | 国产精品电影院| 狠狠色丁香婷婷综合| 在线播放国产精品二区一二区四区| 国产精品每日更新在线播放网址| 久久精品国产在热久久| 欧美日韩午夜精品| 国产欧美1区2区3区| 日韩专区中文字幕一区二区| www.日韩av| 久久五月婷婷丁香社区| 精品一区二区三区视频| 欧美精品日韩一本| 亚洲大片在线观看| 在线精品视频一区二区三四| 亚洲天堂a在线| 本田岬高潮一区二区三区| 久久久夜色精品亚洲| 狠狠色综合色综合网络| 日韩免费高清av| 日欧美一区二区| 欧美疯狂性受xxxxx喷水图片| 成人免费小视频| av亚洲产国偷v产偷v自拍| 欧美国产精品v| 成人av在线影院| 国产精品国产三级国产aⅴ原创| 国产成人精品网址| 国产丝袜美腿一区二区三区| 国产乱国产乱300精品| 久久一二三国产| 丰满白嫩尤物一区二区| 欧美激情在线一区二区三区| 国产成人免费视频网站| 国产欧美精品一区二区色综合| 奇米四色…亚洲| 欧美一级xxx| 国产精品一级黄| 国产精品久久99| 91免费看`日韩一区二区| 亚洲欧美日韩小说| 欧美在线三级电影| 午夜精品在线视频一区| 欧美一区二区在线观看| 美国三级日本三级久久99| www激情久久| 大胆亚洲人体视频| 亚洲免费在线观看视频| 欧美午夜免费电影| 麻豆91精品视频| 国产午夜精品久久久久久久| 99精品久久99久久久久| 亚洲综合色丁香婷婷六月图片| 欧美亚洲国产一区二区三区 | 综合激情成人伊人| 成人app下载| 亚洲国产精品久久人人爱| 91精品国产一区二区| 国产乱码精品一区二区三区五月婷| 久久亚洲影视婷婷| 一本到一区二区三区| 欧美96一区二区免费视频| 久久夜色精品国产欧美乱极品| 成人av高清在线| 亚洲sss视频在线视频| 欧美日韩国产系列| 久久精品免费观看| 亚洲国产成人私人影院tom| 欧美性猛交xxxxxxxx| 卡一卡二国产精品| 亚洲人123区| 欧美大尺度电影在线| 成人18视频日本| 日本网站在线观看一区二区三区 | 免费高清成人在线| 综合欧美一区二区三区|