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

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

?? dmf.c

?? NucleusPLUS嵌入式操作系統是目前最受歡迎的操作系統NucleusPLUS是為實時嵌入式應用而設計的一個搶先式多任務操作系統內核
?? C
?? 第 1 頁 / 共 2 頁
字號:
    NU_SUPERVISOR_MODE();

#ifdef  NU_ENABLE_STACK_CHECK

    /* Call stack checking function to check for an overflow condition.  */
    TCT_Check_Stack();

#endif

    /* Initialize the number of pointers returned.  */
    pointers =  0;

    /* Protect against access to the list of created memory pools.  */
    TCT_Protect(&DMD_List_Protect);

    /* Loop until all pool pointers are in the list or until the maximum
       list size is reached.  */
    node_ptr =  DMD_Created_Pools_List;
    while ((node_ptr) && (pointers < maximum_pointers))
    {

        /* Place the node into the destination list.  */
        *pointer_list++ =  (NU_MEMORY_POOL *) node_ptr;

        /* Increment the pointers variable.  */
        pointers++;

        /* Position the node pointer to the next node.  */
        node_ptr =  node_ptr -> cs_next;

        /* Determine if the pointer is at the head of the list.  */
        if (node_ptr == DMD_Created_Pools_List)

            /* The list search is complete.  */
            node_ptr =  NU_NULL;
    }

    /* Release protection of the list of created pools.  */
    TCT_Unprotect();

    /* Return to user mode */
    NU_USER_MODE();

    /* Return the number of pointers in the list.  */
    return(pointers);
}


/*************************************************************************/
/*                                                                       */
/* FUNCTION                                                              */
/*                                                                       */
/*      DMF_Memory_Pool_Information                                      */
/*                                                                       */
/* DESCRIPTION                                                           */
/*                                                                       */
/*      This function returns information about the specified memory     */
/*      pool.  However, if the supplied memory pool pointer is           */
/*      invalid, the function simply returns an error status.            */
/*                                                                       */
/* CALLED BY                                                             */
/*                                                                       */
/*      Application                                                      */
/*                                                                       */
/* CALLS                                                                 */
/*                                                                       */
/*      [TCT_Check_Stack]                   Stack checking function      */
/*      TCT_Protect                         Protect memory pool          */
/*      TCT_Unprotect                       Release protection           */
/*                                                                       */
/* INPUTS                                                                */
/*                                                                       */
/*      pool_ptr                            Pointer to the memory pool   */
/*      name                                Destination for the name     */
/*      start_address                       Destination for the starting */
/*                                            memory address of the pool */
/*      pool_size                           Destination for the pool's   */
/*                                            total size                 */
/*      min_allocation                      Destination for the minimum  */
/*                                            block allocation size      */
/*      available                           Destination for the available*/
/*                                            number of bytes in pool    */
/*      suspend_type                        Destination for the type of  */
/*                                            suspension                 */
/*      tasks_waiting                       Destination for the tasks    */
/*                                            waiting count              */
/*      first_task                          Destination for the pointer  */
/*                                            to the first task waiting  */
/*                                                                       */
/* OUTPUTS                                                               */
/*                                                                       */
/*      NU_SUCCESS                          If a valid pool pointer      */
/*                                            is supplied                */
/*      NU_INVALID_POOL                     If pool pointer invalid      */
/*                                                                       */
/* HISTORY                                                               */
/*                                                                       */
/*         DATE                    REMARKS                               */
/*                                                                       */
/*      03-01-1993      Created initial version 1.0                      */
/*      04-19-1993      Verified version 1.0                             */
/*      03-01-1994      Modified function interface,                     */
/*                      resulting in version 1.1                         */
/*                                                                       */
/*      03-18-1994      Verified version 1.1                             */
/*      11-18-1996      Corrected SPR220.                                */
/*                                                                       */
/*************************************************************************/
STATUS  DMF_Memory_Pool_Information(NU_MEMORY_POOL *pool_ptr, CHAR *name,
                  VOID **start_address, UNSIGNED *pool_size,
                  UNSIGNED *min_allocation, UNSIGNED *available,
                  OPTION *suspend_type, UNSIGNED *tasks_waiting,
                  NU_TASK **first_task)
{

DM_PCB         *pool;                       /* Pool control block ptr    */
INT             i;                          /* Working integer variable  */
STATUS          completion;                 /* Completion status         */
NU_SUPERV_USER_VARIABLES

    /* Switch to supervisor mode */
    NU_SUPERVISOR_MODE();

    /* Move input pool pointer into internal pointer.  */
    pool =  (DM_PCB *) pool_ptr;

#ifdef  NU_ENABLE_STACK_CHECK

    /* Call stack checking function to check for an overflow condition.  */
    TCT_Check_Stack();

#endif

    /* Determine if this memory pool id is valid.  */
    if ((pool != NU_NULL) && (pool -> dm_id == DM_DYNAMIC_ID))
    {

        /* Setup protection of the memory pool.  */
        TCT_Protect(&(pool -> dm_protect));

        /* The memory pool pointer is valid.  Reflect this in the completion
           status and fill in the actual information.  */
        completion =  NU_SUCCESS;

        /* Copy the memory pool's name.  */
        for (i = 0; i < NU_MAX_NAME; i++)
            *name++ =  pool -> dm_name[i];

        /* Determine the suspension type.  */
        if (pool -> dm_fifo_suspend)
            *suspend_type =          NU_FIFO;
        else
            *suspend_type =          NU_PRIORITY;

        /* Retrieve information directly out of the control structure.  */
        *start_address =        pool -> dm_start_address;
        *pool_size =            pool -> dm_pool_size;
        *min_allocation =       pool -> dm_min_allocation;
        *available =            pool -> dm_available;

        /* Retrieve the number of tasks waiting and the pointer to the
           first task waiting.  */
        *tasks_waiting =  pool -> dm_tasks_waiting;
        if (pool -> dm_suspension_list)

            /* There is a task waiting.  */
            *first_task =  (NU_TASK *)
                (pool -> dm_suspension_list) -> dm_suspended_task;
        else

            /* There are no tasks waiting.  */
            *first_task =  NU_NULL;

        /* Release protection of the memory pool.  */
        TCT_Unprotect();
    }
    else

        /* Indicate that the memory pool pointer is invalid.   */
        completion =  NU_INVALID_POOL;

    /* Return to user mode */
    NU_USER_MODE();

    /* Return the appropriate completion status.  */
    return(completion);
}




?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品国产伦理网| 欧美日韩国产经典色站一区二区三区| 亚洲视频免费在线观看| 久久久影视传媒| 欧美精品一区二区三区很污很色的| 欧美精品久久久久久久久老牛影院| 在线亚洲一区二区| 色综合天天综合狠狠| 色婷婷久久久综合中文字幕| 99久久99久久久精品齐齐| 99re热这里只有精品免费视频| 成年人国产精品| 欧洲亚洲国产日韩| 欧美日韩成人一区二区| 日韩欧美另类在线| 久久一区二区三区四区| 国产精品久久毛片av大全日韩| 亚洲日本成人在线观看| 性做久久久久久免费观看 | 国产一区二区按摩在线观看| 激情文学综合插| 成人免费看视频| 91成人网在线| 91精品福利在线一区二区三区| 91精品在线免费观看| 日韩精品资源二区在线| 国产精品天干天干在线综合| 亚洲二区在线视频| 激情综合网av| 在线区一区二视频| 欧美电视剧在线看免费| 亚洲欧美日韩一区二区| 久久99精品久久久久婷婷| 成人avav影音| 制服丝袜亚洲网站| 国产精品国产馆在线真实露脸| 亚洲黄色小视频| 国产一区二区三区四区五区入口| 99精品视频一区| 日韩午夜电影av| 亚洲三级电影网站| 国产综合色视频| 欧美亚洲国产一区二区三区va| 91精品国产欧美一区二区18| 欧美色成人综合| 久久久久久麻豆| 一区二区三区成人在线视频| 美国毛片一区二区| 99re在线视频这里只有精品| 欧美日韩www| 日韩精品一区二区三区在线播放| 亚洲精品一二三四区| 免费一区二区视频| 91香蕉视频污在线| 精品国产免费视频| 亚洲伊人伊色伊影伊综合网| 麻豆精品国产传媒mv男同 | 国产清纯在线一区二区www| 伊人开心综合网| 精品亚洲成a人| 欧美在线你懂的| 日韩一区在线看| 国产一区二区三区免费播放| 欧美日韩免费视频| 中文字幕一区在线观看视频| 日本成人中文字幕在线视频| 91色.com| 久久精品视频免费观看| 另类人妖一区二区av| 在线这里只有精品| 国产精品久线观看视频| 韩国精品一区二区| 日本乱码高清不卡字幕| 国产欧美视频在线观看| 裸体健美xxxx欧美裸体表演| 在线欧美小视频| 亚洲视频免费在线观看| 成人免费va视频| 国产亚洲精品aa午夜观看| 麻豆中文一区二区| 91成人国产精品| 婷婷激情综合网| 欧美日韩精品久久久| 亚洲精品成人a在线观看| caoporen国产精品视频| 久久久久久久久久久久电影 | 日本在线播放一区二区三区| 99久久久国产精品| 最新热久久免费视频| 成人少妇影院yyyy| 国产精品福利影院| 成人性色生活片免费看爆迷你毛片| 精品99一区二区| 老司机午夜精品99久久| 精品美女在线观看| 狠狠色丁香婷综合久久| 久久在线观看免费| 国产91丝袜在线播放九色| 国产亚洲欧美日韩在线一区| 激情久久久久久久久久久久久久久久| 日韩一区二区在线观看| 免费观看日韩av| 久久综合色综合88| 国产ts人妖一区二区| 国产欧美日韩精品一区| 一本到三区不卡视频| 亚洲成人av中文| 日韩免费视频一区二区| 国产精品羞羞答答xxdd| 国产精品不卡视频| 色琪琪一区二区三区亚洲区| 亚洲一二三四久久| 欧美成人猛片aaaaaaa| 国产成人精品亚洲日本在线桃色| 中文字幕一区二区三区精华液| 色美美综合视频| 日本不卡高清视频| 欧美高清在线视频| 欧美在线免费观看亚洲| 激情综合网激情| 中文字幕人成不卡一区| 91麻豆swag| 亚洲视频1区2区| 国产欧美精品在线观看| 欧美日韩日本视频| 国产成人亚洲综合a∨猫咪| 亚洲综合一区二区三区| 日韩欧美一区二区视频| 懂色av噜噜一区二区三区av| 午夜精品久久久久影视| 久久久久久97三级| 欧美日韩在线播放一区| 成人av影院在线| 麻豆国产欧美一区二区三区| 亚洲日本欧美天堂| 久久久五月婷婷| 欧美人妇做爰xxxⅹ性高电影| 国产麻豆成人传媒免费观看| 国产精品国产三级国产a| 91精品国产91久久久久久最新毛片| 成人精品视频.| 秋霞电影网一区二区| 亚洲人成影院在线观看| 久久综合视频网| 欧美高清hd18日本| 色狠狠av一区二区三区| 粉嫩aⅴ一区二区三区四区五区| 日韩avvvv在线播放| 婷婷国产v国产偷v亚洲高清| 亚洲人成在线播放网站岛国| 久久综合成人精品亚洲另类欧美| 欧美唯美清纯偷拍| 97久久人人超碰| 国产成人啪免费观看软件 | 91久久香蕉国产日韩欧美9色| 美腿丝袜在线亚洲一区| 婷婷国产v国产偷v亚洲高清| 一区二区三区在线观看视频| 国产精品久久久久久久蜜臀 | 午夜婷婷国产麻豆精品| 自拍偷拍亚洲综合| 国产精品成人午夜| 中文在线免费一区三区高中清不卡| 欧美日韩视频不卡| 91国偷自产一区二区三区成为亚洲经典 | 欧美一区二区三区四区久久| 色一情一乱一乱一91av| 99精品视频在线免费观看| 成人99免费视频| 成人手机电影网| 99精品1区2区| 91丨九色丨黑人外教| 国产jizzjizz一区二区| 91麻豆国产福利在线观看| 色综合色综合色综合色综合色综合 | 91久久久免费一区二区| 成人高清免费观看| 成人黄色av网站在线| 91在线精品一区二区| 国产高清亚洲一区| 国产成+人+日韩+欧美+亚洲| 成人在线综合网站| 日本aⅴ亚洲精品中文乱码| 国产高清在线精品| 成人三级伦理片| 色综合婷婷久久| 色屁屁一区二区| 91一区二区在线| 欧美精品电影在线播放| 日韩欧美在线影院| 日本一区二区在线不卡| 亚洲免费观看高清完整| 亚洲高清久久久| 狠狠v欧美v日韩v亚洲ⅴ| 精品一二线国产| 在线观看一区二区精品视频| 欧美精品久久久久久久多人混战| 日韩精品在线一区| **欧美大码日韩| 视频一区视频二区中文|