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

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

?? gaos2.c

?? uboot for K9 AT91RM9200 學習板
?? C
字號:
/******************************************************************************                   SciTech Nucleus Graphics Architecture**               Copyright (C) 1991-1998 SciTech Software, Inc.*                            All rights reserved.**  ======================================================================*  |REMOVAL OR MODIFICATION OF THIS HEADER IS STRICTLY PROHIBITED BY LAW|*  |                                                                    |*  |This copyrighted computer code contains proprietary technology      |*  |owned by SciTech Software, Inc., located at 505 Wall Street,        |*  |Chico, CA 95928 USA (http://www.scitechsoft.com).                   |*  |                                                                    |*  |The contents of this file are subject to the SciTech Nucleus        |*  |License; you may *not* use this file or related software except in  |*  |compliance with the License. You may obtain a copy of the License   |*  |at http://www.scitechsoft.com/nucleus-license.txt                   |*  |                                                                    |*  |Software distributed under the License is distributed on an         |*  |"AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or      |*  |implied. See the License for the specific language governing        |*  |rights and limitations under the License.                           |*  |                                                                    |*  |REMOVAL OR MODIFICATION OF THIS HEADER IS STRICTLY PROHIBITED BY LAW|*  ======================================================================** Language:     ANSI C* Environment:  OS/2 32-bit** Description:  OS specific Nucleus Graphics Architecture services for*               the OS/2 operating system environments.*****************************************************************************/#include "pm_help.h"#define INCL_DOSERRORS#define INCL_DOS#define INCL_SUB#define INCL_VIO#define INCL_KBD#include <os2.h>/*--------------------------- Global variables ----------------------------*/static ibool    haveRDTSC = false;static ulong    parms[3];       /* Must not cross 64Kb boundary!    */static ulong    result[4];      /* Must not cross 64Kb boundary!    *//*-------------------------- Implementation -------------------------------*//****************************************************************************PARAMETERS:func        - Helper device driver function to callRETURNS:First return value from the device driver in parmsOut[0]REMARKS:Function to open our helper device driver, call it and close the filehandle. Note that we have to open the device driver for every call becauseof two problems: 1. We cannot open a single file handle in a DLL that is shared amongst    programs, since every process must have it's own open file handle. 2. For some reason there appears to be a limit of about 12 open file    handles on a device driver in the system. Hence when we open more    than about 12 file handles things start to go very strange.Hence we simply open the file handle every time that we need to call thedevice driver to work around these problems.****************************************************************************/static ulong CallSDDHelp(    int func){    static ulong    inLen;          /* Must not cross 64Kb boundary!    */    static ulong    outLen;         /* Must not cross 64Kb boundary!    */    HFILE           hSDDHelp;    /* If this code in here fails, we are screwed! Many of our drivers     * use this code and don't have a C library, so we simply assume we     * can't fail here.     */    DosOpen(PMHELP_NAME,&hSDDHelp,&result[0],0,0,	    FILE_OPEN, OPEN_SHARE_DENYNONE | OPEN_ACCESS_READWRITE,	    NULL);    DosDevIOCtl(hSDDHelp,PMHELP_IOCTL,func,	     &parms, inLen = sizeof(parms), &inLen,	    &result, outLen = sizeof(result), &outLen);    DosClose(hSDDHelp);    return result[0];}/****************************************************************************PARAMETERS:path    - Local path to the Nucleus driver files.REMARKS:This function is used by the application program to override the locationof the Nucleus driver files that are loaded. Normally the loader codewill look in the system Nucleus directories first, then in the 'drivers'directory relative to the current working directory, and finally relativeto the MGL_ROOT environment variable.****************************************************************************/void NAPI GA_setLocalPath(    const char *path){    PM_setLocalBPDPath(path);}/****************************************************************************RETURNS:Pointer to the system wide PM library imports, or the internal version if noneREMARKS:For OS/2 we don't need to do anything special because Nucleus is alwaysloaded via the shared SDDPMI driver when SDD is loaded so we don't needa system wide PM library imports function.****************************************************************************/PM_imports * NAPI GA_getSystemPMImports(void){    return &_PM_imports;}/****************************************************************************PARAMETERS:gaExp   - Place to store the exported functionsshared  - True if connecting to the shared, global Nucleus driverREMARKS:For OS/2 if SDD is loaded we *always* connect to the shared Nucleus functionscontained within the SDDPMI driver. This allows the Nucleus functions containedwithin this driver to be utilised by all Nucleus apps in the system andmaintains a consistent state between versions.****************************************************************************/ibool NAPI GA_getSharedExports(    GA_exports *gaExp,    ibool shared){    /* In test harness mode, we need to load a local copy of Nucleus */#if !defined (TEST_HARNESS) || defined (DEBUG_SDDPMI)    HMODULE     hModSDDPMI;    char        buf[80];    GA_exports  *exp;    /* Initialise the PM library and connect to our runtime DLL's */    PM_init();    if (CallSDDHelp(PMHELP_GETSHAREDEXP) != 0) {	/* We have found the shared Nucleus exports. Because not all processes	 * map to SDDPMI.DLL, we need to ensure that we connect to this	 * DLL so that it gets mapped into our address space (that is	 * where the shared Nucleus loader code is located). Simply doing a	 * DosLoadModule on it is enough for this.	 */	DosLoadModule((PSZ)buf,sizeof(buf),(PSZ)"SDDPMI.DLL",&hModSDDPMI);	exp = (GA_exports*)result[0];	memcpy(gaExp,exp,MIN(gaExp->dwSize,exp->dwSize));	return true;	}#endif    (void)shared;    return false;}#ifndef TEST_HARNESS/****************************************************************************REMARKS:Nothing special for this OS****************************************************************************/ibool NAPI GA_queryFunctions(    GA_devCtx *dc,    N_uint32 id,    void _FAR_ *funcs){    return __GA_exports.GA_queryFunctions(dc,id,funcs);}/****************************************************************************REMARKS:Nothing special for this OS****************************************************************************/ibool NAPI REF2D_queryFunctions(    REF2D_driver *ref2d,    N_uint32 id,    void _FAR_ *funcs){    return __GA_exports.REF2D_queryFunctions(ref2d,id,funcs);}#endif/****************************************************************************REMARKS:This function initialises the high precision timing functions for theNucleus loader library.****************************************************************************/ibool NAPI GA_TimerInit(void){    if (_GA_haveCPUID() && (_GA_getCPUIDFeatures() & CPU_HaveRDTSC) != 0)	haveRDTSC = true;    return true;}/****************************************************************************REMARKS:This function reads the high resolution timer.****************************************************************************/void NAPI GA_TimerRead(    GA_largeInteger *value){    if (haveRDTSC)	_GA_readTimeStamp(value);    else	DosTmrQueryTime((QWORD*)value);}/****************************************************************************REMARKS:On OS/2, we need special memory allocation functions if we build SDDPMI intest harness mode. But if we build GATest etc. in test mode, we want to usethe normal C runtime functions, so route them back here.****************************************************************************/#if defined (TEST_HARNESS) && !defined (DEBUG_SDDPMI)/* Undefine these macros first or we'll recurse to hell! */#undef malloc#undef calloc#undef realloc#undef freevoid *SDDPMI_malloc(size_t size) {    return malloc(size);}void *SDDPMI_calloc(size_t num, size_t size) {    return calloc(num, size);}void SDDPMI_free(void *ptr) {    free(ptr);}void *SDDPMI_realloc(void *ptr, size_t size) {    return realloc(ptr, size);}#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
中文字幕五月欧美| 91色九色蝌蚪| 337p粉嫩大胆噜噜噜噜噜91av| 国产在线不卡一区| 亚洲欧洲精品一区二区三区不卡| 久久久国产午夜精品| 欧美日韩性生活| 国产精选一区二区三区| 亚洲成人激情社区| 国产亚洲福利社区一区| 在线看不卡av| 国产+成+人+亚洲欧洲自线| 亚洲成人午夜电影| 日韩1区2区3区| 一区二区不卡在线视频 午夜欧美不卡在| 欧美精品久久久久久久多人混战 | 视频一区视频二区在线观看| 337p粉嫩大胆色噜噜噜噜亚洲| 久久日韩粉嫩一区二区三区| 国产精品高潮呻吟| 国产欧美日本一区二区三区| 欧美一级久久久久久久大片| 欧美午夜电影网| 99国产精品一区| 成人综合日日夜夜| 国产一区二区主播在线| 成人v精品蜜桃久久一区| 国产一区二区三区四区五区入口 | 一区二区三区在线免费视频| 亚洲午夜日本在线观看| 亚洲蜜臀av乱码久久精品蜜桃| 久久综合九色综合97婷婷| 中文一区二区完整视频在线观看| 精品国产乱码久久久久久1区2区| 欧美嫩在线观看| 在线一区二区三区| 欧美亚洲国产怡红院影院| 日韩视频免费观看高清完整版 | 亚洲超碰精品一区二区| 极品少妇xxxx精品少妇| 日韩国产在线观看一区| 国产在线视频精品一区| 日韩国产精品久久久久久亚洲| 国产美女视频一区| 欧美精品久久一区| 亚洲综合网站在线观看| 亚洲电影在线播放| 国产69精品久久777的优势| 欧美日韩一级片网站| 中文字幕va一区二区三区| 免费在线看成人av| 九九热在线视频观看这里只有精品| 成人av在线影院| 精品国产免费视频| 亚洲国产视频网站| 91女厕偷拍女厕偷拍高清| 精品精品欲导航| 精品国产乱码久久久久久夜甘婷婷 | 久久不见久久见中文字幕免费| 蜜芽一区二区三区| 日本伊人午夜精品| 91福利国产成人精品照片| 国产精品美女一区二区三区| 亚洲精选视频免费看| 视频一区中文字幕| 欧美日本在线视频| 亚洲影视在线观看| 一本大道久久精品懂色aⅴ| 91精品欧美一区二区三区综合在 | 欧美日韩和欧美的一区二区| 亚洲人妖av一区二区| 五月综合激情网| 国产美女视频一区| 久久久精品影视| 国产高清不卡二三区| 91国产免费看| 亚洲激情欧美激情| 欧美日韩一区二区在线观看| 亚洲午夜免费福利视频| 欧美视频日韩视频| 亚洲一区二区五区| 91精品国产一区二区三区| 国产精品欧美久久久久一区二区| 国产电影一区在线| 国产精品第四页| 91麻豆免费观看| 亚洲v日本v欧美v久久精品| 777欧美精品| 国产中文字幕精品| 一区免费观看视频| 91黄色免费网站| 奇米影视7777精品一区二区| 精品少妇一区二区三区免费观看| 精品一区二区免费视频| 日本一区二区视频在线| 99re8在线精品视频免费播放| 亚洲精品福利视频网站| 7777精品伊人久久久大香线蕉| 全国精品久久少妇| 久久精品亚洲精品国产欧美kt∨| 不卡的av网站| 性做久久久久久久免费看| 日韩欧美中文一区二区| 成人国产亚洲欧美成人综合网| 亚洲精品免费电影| 欧美电影免费提供在线观看| 日韩综合小视频| 日本一区二区三区电影| 欧美这里有精品| 黑人巨大精品欧美一区| 亚洲精品成人少妇| 欧美精品一区二区三区蜜臀| 97久久精品人人澡人人爽| 蜜桃视频在线一区| 最新欧美精品一区二区三区| 欧美一区二区三区在线观看| 国产91丝袜在线播放| 亚洲午夜电影在线| 中文欧美字幕免费| 91精品国产一区二区| 91在线porny国产在线看| 精品亚洲国产成人av制服丝袜| 亚洲男人电影天堂| 国产三级精品在线| 91精品国产色综合久久不卡电影| av在线一区二区三区| 亚洲欧洲成人自拍| 久久久亚洲精品石原莉奈| 欧美日韩高清不卡| 色综合久久久久网| 国产精品99久久久久久宅男| 日韩中文欧美在线| 一级做a爱片久久| 综合久久久久久| 国产亚洲欧美日韩在线一区| 91精品欧美福利在线观看| 色又黄又爽网站www久久| 成人午夜免费av| 国产精品影视在线观看| 久久精品国产亚洲高清剧情介绍| 亚洲一区二区免费视频| 一色屋精品亚洲香蕉网站| 国产亚洲人成网站| 精品剧情在线观看| 欧美tk丨vk视频| 欧美xxxx在线观看| 欧美不卡一区二区| 日韩一级欧美一级| 欧美一区二区三区四区视频 | 亚洲一区二区av在线| 亚洲欧美日韩一区二区| 国产精品护士白丝一区av| 欧美国产激情一区二区三区蜜月| 亚洲精品一区二区三区精华液| 日韩一区二区三区在线| 日韩视频一区二区三区| 精品日产卡一卡二卡麻豆| 欧美成人vr18sexvr| 久久综合狠狠综合| 日本一区二区三区在线不卡| 欧美激情资源网| 亚洲欧美激情视频在线观看一区二区三区| 国产亚洲成aⅴ人片在线观看| 国产亚洲va综合人人澡精品| 日本一区二区成人| 亚洲精品视频在线| 午夜精品一区二区三区电影天堂| 日韩中文字幕一区二区三区| 免费观看成人鲁鲁鲁鲁鲁视频| 美女视频免费一区| 国产成人免费在线观看不卡| av在线免费不卡| 精品视频一区二区不卡| 日韩欧美一二三区| 国产亚洲一本大道中文在线| 国产精品国产三级国产aⅴ入口 | 天天亚洲美女在线视频| 精品一区二区三区免费| 成人av片在线观看| 91电影在线观看| 欧美videofree性高清杂交| 日本一区二区成人在线| 亚洲综合久久av| 精品一区二区免费| 色婷婷综合久久久中文一区二区| 欧美日韩成人综合在线一区二区| 久久综合九色欧美综合狠狠| 亚洲免费观看高清完整版在线| 视频一区视频二区中文| 国产成人亚洲综合a∨猫咪| 一本大道久久a久久精品综合| 555夜色666亚洲国产免| 国产精品入口麻豆原神| 日韩精品免费专区| 成人激情免费电影网址| 91精品国产手机| 一区二区成人在线| 国产成人亚洲综合a∨婷婷| 6080午夜不卡| 亚洲乱码国产乱码精品精可以看|