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

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

?? dmf.c

?? 基于OMAP1510的Nucleus移植代碼
?? 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);
}




?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
99riav久久精品riav| 2017欧美狠狠色| 日韩精品自拍偷拍| 国产精品人妖ts系列视频| 日韩在线一区二区| 91精品1区2区| 国产精品久久777777| 精品中文字幕一区二区小辣椒| 色天使色偷偷av一区二区| 国产三级精品在线| 久久99国产精品麻豆| 欧美情侣在线播放| 亚洲一区二区成人在线观看| 懂色av中文字幕一区二区三区| 欧美成人激情免费网| 亚洲成人在线免费| 在线精品国精品国产尤物884a| |精品福利一区二区三区| 国产精品2024| 久久精品在这里| 久久99精品一区二区三区| 欧美精品777| 日一区二区三区| 欧美日本高清视频在线观看| 亚洲电影视频在线| 欧美亚洲国产一区在线观看网站| 国产精品成人午夜| 99精品欧美一区二区三区小说 | 成人高清伦理免费影院在线观看| 91精品国产乱| 麻豆精品久久久| 日韩三级视频中文字幕| 奇米综合一区二区三区精品视频| 欧美日韩一区二区三区四区| 亚洲无人区一区| 欧美日韩中文字幕一区二区| 亚洲第一电影网| 欧美一区二区三级| 国模套图日韩精品一区二区| 久久一夜天堂av一区二区三区| 国产一区免费电影| 欧美激情一区不卡| 97久久精品人人澡人人爽| 亚洲精品老司机| 欧美三级一区二区| 免费在线观看日韩欧美| 久久精品一区二区三区不卡| 成人在线视频一区二区| 亚洲人成伊人成综合网小说| 欧美少妇xxx| 精品一区二区三区影院在线午夜 | 欧美日韩亚洲综合一区 | 日韩三级在线观看| 国产乱码字幕精品高清av | 久久久久国产一区二区三区四区| 豆国产96在线|亚洲| 一区二区三区日韩欧美精品| 欧美精品久久久久久久久老牛影院| 久久91精品国产91久久小草| 国产精品国产三级国产aⅴ中文| 色综合久久中文综合久久97| 日韩av中文字幕一区二区三区 | 欧美日韩另类一区| 麻豆91免费观看| 中文字幕国产一区| 欧美亚洲高清一区| 国产一区二区三区四区五区美女 | 国产日韩欧美不卡在线| 欧美在线播放高清精品| 国产伦精品一区二区三区视频青涩| 亚洲视频资源在线| 欧美精品一区二区三区久久久| 成人白浆超碰人人人人| 人禽交欧美网站| 亚洲人精品一区| 久久综合久久综合亚洲| 欧美撒尿777hd撒尿| 国产成人精品一区二| 午夜精品福利一区二区三区av| 欧美国产禁国产网站cc| 欧美一区二区三区系列电影| av在线播放不卡| 国产尤物一区二区在线| 亚洲第一精品在线| 国产精品私房写真福利视频| 日韩一区二区三区免费看| 色8久久人人97超碰香蕉987| 国产成人综合精品三级| 日韩av电影天堂| 一区二区三区丝袜| 中文字幕一区不卡| 国产亚洲一区字幕| 日韩欧美国产午夜精品| 555夜色666亚洲国产免| 欧洲中文字幕精品| 91麻豆国产香蕉久久精品| 国内不卡的二区三区中文字幕| 热久久国产精品| 日韩在线播放一区二区| 午夜免费久久看| 一区二区三区在线观看网站| 亚洲欧美影音先锋| 中文字幕不卡在线| 国产亚洲欧洲一区高清在线观看| 欧美第一区第二区| 日韩欧美综合在线| 精品区一区二区| 26uuu亚洲综合色| 欧美大黄免费观看| 精品少妇一区二区三区免费观看| 91精品久久久久久久91蜜桃 | 99精品欧美一区二区三区小说| 国产ts人妖一区二区| 国产精品影视在线| 成人一区二区三区中文字幕| 国产精品91xxx| 成人中文字幕在线| www.亚洲人| 在线看国产一区二区| 在线免费av一区| 717成人午夜免费福利电影| 欧美一区二区国产| 精品免费一区二区三区| 国产亚洲综合色| 亚洲人妖av一区二区| 一区二区三区在线视频免费| 亚洲福利一二三区| 久久99国产精品久久99| 国产精品一二三四五| 成人丝袜18视频在线观看| 99久久精品一区二区| 欧美性欧美巨大黑白大战| 欧美顶级少妇做爰| 精品国产一区二区精华| 日本一二三四高清不卡| 亚洲免费在线看| 午夜激情综合网| 国产精品白丝av| 91极品视觉盛宴| 日韩免费福利电影在线观看| 久久久精品国产免大香伊| 亚洲人成在线观看一区二区| 日本少妇一区二区| 福利电影一区二区| 欧美日韩午夜精品| 亚洲精品一区二区三区精华液| 国产精品沙发午睡系列990531| 亚洲综合男人的天堂| 激情五月婷婷综合| 91污片在线观看| 精品国产精品一区二区夜夜嗨| 国产精品久久久久国产精品日日| 日韩精品成人一区二区三区| 国产91丝袜在线播放九色| 欧美喷水一区二区| 日本一区二区三区高清不卡| 婷婷开心久久网| 不卡高清视频专区| 精品国产人成亚洲区| 一区二区三区国产精华| 国产精品一区二区x88av| 欧美日韩中文字幕精品| 国产精品麻豆视频| 久久精品国产77777蜜臀| 色哟哟国产精品免费观看| 国产午夜精品久久久久久久| 午夜私人影院久久久久| 9l国产精品久久久久麻豆| 日韩精品中午字幕| 亚洲www啪成人一区二区麻豆| 国产成人精品亚洲日本在线桃色 | 久久亚洲免费视频| 亚洲成人一二三| 99久久婷婷国产| 日本一区二区三区四区在线视频| 免费成人av资源网| 欧美三级电影网站| 亚洲一区二区在线免费看| av在线这里只有精品| 久久麻豆一区二区| 国产一区二区福利视频| 91麻豆精品久久久久蜜臀| 亚洲在线观看免费视频| 99精品欧美一区二区三区小说| 欧美大片国产精品| 国产专区综合网| 日韩美女在线视频| 日韩黄色免费网站| 欧美日本在线一区| 天堂在线亚洲视频| 欧美乱妇15p| 天天av天天翘天天综合网色鬼国产| 欧美影视一区二区三区| 亚洲精品视频在线观看免费| 高清久久久久久| 中文字幕成人av| 99久久99久久精品免费观看| 国产精品国产a| 一本一本大道香蕉久在线精品| 国产精品福利一区二区|