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

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

?? pmce.c

?? nucleas source code
?? C
?? 第 1 頁 / 共 2 頁
字號:
/*      03-18-1994      Verified version 1.1                             */
/*                                                                       */
/*************************************************************************/
STATUS  PMCE_Delete_Partition_Pool(NU_PARTITION_POOL *pool_ptr)
{

PM_PCB         *pool;                       /* Pool control block ptr    */
STATUS          status;                     /* Completion status         */


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

    /* Determine if the partition pool pointer is valid.  */
    if ((pool) && (pool -> pm_id == PM_PARTITION_ID))
    
        /* Partition pool pointer is valid, call function to delete it.  */
        status =  PMC_Delete_Partition_Pool(pool_ptr);
        
    else
    
        /* Partition pool pointer is invalid, indicate in completion status. */
        status =  NU_INVALID_POOL;
        
    /* Return completion status.  */
    return(status);
}


/*************************************************************************/
/*                                                                       */
/* FUNCTION                                                              */
/*                                                                       */
/*      PMCE_Allocate_Partition                                          */
/*                                                                       */
/* DESCRIPTION                                                           */
/*                                                                       */
/*      This function performs error checking on the parameters supplied */
/*      to the allocate partition function.                              */
/*                                                                       */
/* CALLED BY                                                             */
/*                                                                       */
/*      Application                                                      */
/*                                                                       */
/* CALLS                                                                 */
/*                                                                       */
/*      PMC_Allocate_Partition              Actual partition allocate    */
/*                                            function                   */
/*      TCCE_Suspend_Error                  Check for a task suspension  */
/*                                            error                      */
/*                                                                       */
/* INPUTS                                                                */
/*                                                                       */
/*      pool_ptr                            Memory partition pool pointer*/
/*      return_pointer                      Pointer to the destination   */
/*                                            memory pointer             */
/*      suspend                             Suspension option if full    */
/*                                                                       */
/* OUTPUTS                                                               */
/*                                                                       */
/*      NU_INVALID_POOL                     Indicates the pool pointer   */
/*                                            is invalid                 */
/*      NU_INVALID_POINTER                  Indicates the return pointer */
/*                                            is NULL                    */
/*      NU_INVALID_SUSPEND                  Indicates the suspension is  */
/*                                            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                             */
/*                                                                       */
/*************************************************************************/
STATUS  PMCE_Allocate_Partition(NU_PARTITION_POOL *pool_ptr, 
                             VOID **return_pointer, UNSIGNED suspend)
{

PM_PCB         *pool;                       /* Pool control block ptr    */
STATUS          status;                     /* Completion status         */


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

    /* Determine if partition pool pointer is invalid.  */
    if (pool == NU_NULL)
    
        /* Partition pool pointer is invalid, indicate in completion status. */
        status =  NU_INVALID_POOL;

    else if (pool -> pm_id != PM_PARTITION_ID)
    
        /* Partition pool pointer is invalid, indicate in completion status. */
        status =  NU_INVALID_POOL;

    else if (return_pointer == NU_NULL)

        /* Return pointer is invalid.  */
        status =  NU_INVALID_POINTER;
        
    else if ((suspend) && (TCCE_Suspend_Error()))
    
        /* Suspension from a non-task thread.  */
        status =  NU_INVALID_SUSPEND;

    else 
    
        /* Parameters are valid, call actual function.  */
        status =  PMC_Allocate_Partition(pool_ptr, return_pointer, suspend);

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


/*************************************************************************/
/*                                                                       */
/* FUNCTION                                                              */
/*                                                                       */
/*      PMCE_Deallocate_Partition                                        */
/*                                                                       */
/* DESCRIPTION                                                           */
/*                                                                       */
/*      This function performs error checking on the parameters supplied */
/*      to the deallocate partition function.                            */
/*                                                                       */
/* CALLED BY                                                             */
/*                                                                       */
/*      Application                                                      */
/*                                                                       */
/* CALLS                                                                 */
/*                                                                       */
/*      PMC_Deallocate_Partition            Deallocate a partition       */
/*                                                                       */
/* INPUTS                                                                */
/*                                                                       */
/*      partition                           Pointer to partition memory  */
/*                                                                       */
/* OUTPUTS                                                               */
/*                                                                       */
/*      NU_INVALID_POINTER                  Indicates the supplied       */
/*                                            partition pointer is NULL, */
/*                                            or otherwise invalid.      */
/*      NU_SUCCESS                                                       */
/*                                                                       */
/* 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                             */
/*                                                                       */
/*************************************************************************/
STATUS  PMCE_Deallocate_Partition(VOID *partition)
{

PM_PCB         *pool;                       /* Pool pointer              */
PM_HEADER      *header_ptr;                 /* Pointer to partition hdr  */
STATUS          status;                     /* Completion status         */


    /* Pickup the associated pool's pointer.  It is inside the header of
       each partition.  */
    header_ptr =  (PM_HEADER *) (((BYTE_PTR) partition) - PM_OVERHEAD);
        
    /* Determine if the pointer(s) are NULL.  */
    if ((header_ptr == NU_NULL) || (partition == NU_NULL))
    
        /* Partition pointer is invalid.  */
        status =  NU_INVALID_POINTER;

    /* Determine if partition pool pointer is invalid.  */
    else if ((pool =  header_ptr -> pm_partition_pool) == NU_NULL)
    
        /* Partition pointer is invalid, indicate in completion status.  */
        status =  NU_INVALID_POINTER;

    else if (pool -> pm_id != PM_PARTITION_ID)
    
        /* Partition pool pointer is invalid, indicate in completion status. */
        status =  NU_INVALID_POINTER;
        
    else if (header_ptr -> pm_next_available)
    
        /* Partition is still linked on the available list- must not be
           allocated.  */
        status =  NU_INVALID_POINTER;

    else 
    
        /* Parameters are valid, call actual function.  */
        status =  PMC_Deallocate_Partition(partition);

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






?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
精品国产在天天线2019| 午夜精品爽啪视频| 51精品秘密在线观看| av不卡在线观看| 激情国产一区二区| 免费日韩伦理电影| 日韩国产在线观看| 日本视频中文字幕一区二区三区| 亚洲一区二区三区视频在线| 亚洲一区二区三区四区五区黄| 亚洲欧美一区二区久久 | 黄色小说综合网站| 国产在线一区观看| 国产精品456| 不卡欧美aaaaa| 色美美综合视频| 欧美巨大另类极品videosbest | 欧美群妇大交群的观看方式| 欧美日韩在线免费视频| 欧美一卡在线观看| 国产亚洲欧美激情| 亚洲老司机在线| 亚洲18影院在线观看| 琪琪一区二区三区| 国模套图日韩精品一区二区| 成人一区在线观看| 在线一区二区三区做爰视频网站| 欧美在线播放高清精品| 欧美精品少妇一区二区三区| 精品sm捆绑视频| 亚洲日本成人在线观看| 亚洲成av人片在线| 国产成人午夜精品5599| 色哟哟一区二区在线观看| 欧美少妇性性性| 精品播放一区二区| 亚洲激情自拍偷拍| 狠狠久久亚洲欧美| 97久久超碰精品国产| 日韩一区二区在线观看视频| 日本一区二区三区视频视频| 依依成人精品视频| 久久国产精品无码网站| 色综合天天综合给合国产| 日韩一区二区视频在线观看| **欧美大码日韩| 免费在线观看视频一区| 91女神在线视频| 日韩欧美国产成人一区二区| 日韩理论在线观看| 国产一级精品在线| 欧美电影在线免费观看| 国产精品视频第一区| 免费观看91视频大全| 色欧美片视频在线观看| 久久蜜臀中文字幕| 欧美bbbbb| 欧美天堂一区二区三区| 日本一区二区三区久久久久久久久不| 亚洲男人都懂的| 国产成人av电影在线观看| 91精品婷婷国产综合久久竹菊| 亚洲欧美日韩国产另类专区| 国内精品视频666| 在线不卡欧美精品一区二区三区| 中文字幕中文乱码欧美一区二区| 美日韩一级片在线观看| 欧美午夜电影在线播放| 亚洲免费在线播放| 成人动漫一区二区在线| 综合av第一页| 国产麻豆视频精品| 日韩免费在线观看| 奇米四色…亚洲| 3d成人动漫网站| 午夜视频一区二区| 欧美视频你懂的| 亚洲成人在线免费| 欧美午夜一区二区三区免费大片| 亚洲另类春色校园小说| 色香蕉成人二区免费| 亚洲欧美综合另类在线卡通| 国产激情一区二区三区桃花岛亚洲| 91麻豆精品国产91| 日韩精彩视频在线观看| 欧美一区二区精品在线| 麻豆成人91精品二区三区| 欧美videofree性高清杂交| 久久99精品国产麻豆婷婷洗澡| 日韩一级大片在线观看| 久久国产婷婷国产香蕉| 久久久久国产精品麻豆ai换脸| 国产一区二区网址| 中文字幕国产一区二区| 91香蕉视频黄| 婷婷久久综合九色综合伊人色| 欧美卡1卡2卡| 黄网站免费久久| 中文久久乱码一区二区| 99精品视频一区| 亚洲成国产人片在线观看| 91精品国产乱码| 国产成人亚洲综合a∨婷婷| 中文字幕中文字幕一区| 欧美日本精品一区二区三区| 免费观看一级欧美片| 久久精品亚洲国产奇米99| av中文字幕不卡| 亚洲动漫第一页| 久久亚洲欧美国产精品乐播| 成人av在线影院| 亚洲午夜三级在线| 久久久久国产成人精品亚洲午夜| 不卡视频在线观看| 麻豆精品视频在线| 1区2区3区欧美| 日韩免费福利电影在线观看| 波多野结衣在线一区| 图片区小说区国产精品视频| 国产日韩视频一区二区三区| 欧美色区777第一页| 欧美精选在线播放| www.一区二区| 黑人巨大精品欧美黑白配亚洲| 亚洲精品福利视频网站| 欧美极品另类videosde| 欧美一区二区不卡视频| 色爱区综合激月婷婷| 国产一区二区三区久久久| 亚洲成人激情自拍| 亚洲男帅同性gay1069| 欧美激情一区三区| www成人在线观看| 欧美精品乱码久久久久久| av在线不卡电影| 国产一区二区日韩精品| 日本视频在线一区| 天天免费综合色| 亚洲成人动漫在线免费观看| 樱花草国产18久久久久| 中文一区在线播放| av高清不卡在线| 国产精品妹子av| 国产亚洲福利社区一区| 9191精品国产综合久久久久久| 亚洲午夜在线电影| 亚洲午夜在线电影| 日韩美女啊v在线免费观看| 精品国产伦一区二区三区观看方式| 欧美网站一区二区| 91小视频在线| 国产成人精品亚洲日本在线桃色| 图片区小说区区亚洲影院| 国产精品三级久久久久三级| 欧美国产一区二区| 精品国产乱码久久久久久夜甘婷婷| 国产亚洲一区二区三区| 欧美日韩情趣电影| 欧美在线观看视频一区二区三区| 国产成人a级片| 久久97超碰色| 六月丁香婷婷久久| 国产一区在线观看视频| 美脚の诱脚舐め脚责91 | 国产成人午夜精品5599| 蜜桃av一区二区| 日韩精品一二三四| 秋霞国产午夜精品免费视频| 天天av天天翘天天综合网| 亚洲自拍偷拍综合| 婷婷开心久久网| 日韩av电影免费观看高清完整版| 亚洲电影第三页| 亚洲成人激情自拍| 激情小说亚洲一区| 国产乱子伦一区二区三区国色天香| 麻豆一区二区三| 久久精品国产亚洲a| 成人在线综合网站| 色呦呦日韩精品| 欧美中文一区二区三区| 日本韩国欧美一区| 欧美一区二区福利视频| 欧美亚洲尤物久久| 欧美视频在线一区| 在线不卡免费欧美| 日韩欧美资源站| 亚洲人亚洲人成电影网站色| 国产欧美日韩三级| 国产精品久久毛片a| 亚洲综合激情网| 无吗不卡中文字幕| 日韩av不卡在线观看| www.亚洲在线| 日韩欧美中文一区二区| 中文字幕欧美区| 日本特黄久久久高潮| 成人综合婷婷国产精品久久蜜臀 | 精品剧情v国产在线观看在线| 精品国产一区二区三区四区四|