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

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

?? pmapi.h

?? u-boot源代碼
?? H
?? 第 1 頁 / 共 3 頁
字號:
/******************************************************************************                   SciTech OS Portability Manager Library**  ========================================================================**    The contents of this file are subject to the SciTech MGL Public*    License Version 1.0 (the "License"); you may not use this file*    except in compliance with the License. You may obtain a copy of*    the License at http://www.scitechsoft.com/mgl-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.**    The Original Code is Copyright (C) 1991-1998 SciTech Software, Inc.**    The Initial Developer of the Original Code is SciTech Software, Inc.*    All Rights Reserved.**  ========================================================================** Language:     ANSI C* Environment:  Any** Description:  Header file for the OS Portability Manager Library, which*               contains functions to implement OS specific services in a*               generic, cross platform API. Porting the OS Portability*               Manager library is the first step to porting any SciTech*               products to a new platform.*****************************************************************************/#ifndef __PMAPI_H#define __PMAPI_H#include "scitech.h"#include "pcilib.h"#include "ztimerc.h"#if !defined(__WIN32_VXD__) && !defined(__OS2_VDD__) && !defined(__NT_DRIVER__)#include <stdio.h>#include <stdlib.h>#endif/*--------------------------- Macros and Typedefs -------------------------*//* You will need to define one of the following before you compile this * library for it to work correctly with the DOS extender that you are * using when compiling for extended DOS: * *      TNT         - Phar Lap TNT DOS Extender *      DOS4GW      - Rational DOS/4GW, DOS/4GW Pro, Causeway and PMODE/W *      DJGPP       - DJGPP port of GNU C++ * * If none is specified, we will automatically determine which operating * system is being targetted and the following will be defined (provided by * scitech.h header file): * *      __MSDOS16__     - Default for 16 bit MSDOS mode *      __MSDOS32__     - Default for 32 bit MSDOS *      __WINDOWS16__   - Default for 16 bit Windows *      __WINDOWS32__   - Default for 32 bit Windows * * One of the following will be defined automatically for you to select * which memory model is in effect: * *      REALMODE    - 16 bit real mode (large memory model) *      PM286       - 16 protected mode (large memory model) *      PM386       - 32 protected mode (flat memory model) */#if defined(__UNIX__) && !defined(_MAX_PATH)#define _MAX_PATH 256#endif#if defined(TNT) || defined(DOSX) || defined(X32VM) || defined(DPMI32)      \    || defined(DOS4GW) || defined(DJGPP) || defined(__WINDOWS32__)          \    || defined(__MSDOS32__) || defined(__UNIX__) || defined(__WIN32_VXD__) \    || defined(__32BIT__) || defined(__SMX32__) || defined(__RTTARGET__)#define PM386#elif defined(DPMI16) || defined(__WINDOWS16__)#define PM286#else#define REALMODE#endif#pragma pack(1)/* Provide the typedefs for the PM_int386 functions, which issue native * interrupts in real or protected mode and can pass extended registers * around. */struct _PMDWORDREGS {    ulong   eax,ebx,ecx,edx,esi,edi,cflag;    };struct _PMWORDREGS {    ushort  ax,ax_hi;    ushort  bx,bx_hi;    ushort  cx,cx_hi;    ushort  dx,dx_hi;    ushort  si,si_hi;    ushort  di,di_hi;    ushort  cflag,cflag_hi;    };struct _PMBYTEREGS {    uchar   al, ah; ushort ax_hi;    uchar   bl, bh; ushort bx_hi;    uchar   cl, ch; ushort cx_hi;    uchar   dl, dh; ushort dx_hi;    };typedef union {    struct  _PMDWORDREGS e;    struct  _PMWORDREGS  x;    struct  _PMBYTEREGS  h;    } PMREGS;typedef struct {    ushort  es;    ushort  cs;    ushort  ss;    ushort  ds;    ushort  fs;    ushort  gs;    } PMSREGS;/* Provide definitions for the real mode register structures passed to * the PM_int86() and PM_int86x() routines. Note that we provide our own * functions to do this for 16-bit code that calls the PM_int386 functions. */typedef PMREGS  RMREGS;typedef PMSREGS RMSREGS;typedef struct {    long    edi;    long    esi;    long    ebp;    long    reserved;    long    ebx;    long    edx;    long    ecx;    long    eax;    short   flags;    short   es,ds,fs,gs,ip,cs,sp,ss;    } DPMI_regs;#ifdef  __MSDOS__/* Register structure passed to PM_VxDCall function */typedef struct {    ulong   eax;    ulong   ebx;    ulong   ecx;    ulong   edx;    ulong   esi;    ulong   edi;    ushort  ds,es;    } VXD_regs;#endif#define PM_MAX_DRIVE                3#define PM_MAX_PATH                 256#define PM_FILE_INVALID             (void*)0xFFFFFFFF/* Structure for generic directory traversal and management. Also the same * values are passed to PM_setFileAttr to change the file attributes. */typedef struct {    ulong   dwSize;    ulong   attrib;    ulong   sizeLo;    ulong   sizeHi;    char    name[PM_MAX_PATH];    } PM_findData;/* Macro to compute the byte offset of a field in a structure of type type */#define PM_FIELD_OFFSET(type,field) ((long)&(((type*)0)->field))/* Marcto to compute the address of the base of the structure given its type, * and an address of a field within the structure. */#define PM_CONTAINING_RECORD(address, type, field)      \    ((type*)(                                           \    (char*)(address) -                                  \    (char*)(&((type*)0)->field)))/* Flags stored in the PM_findData structure, and also values passed to * PM_setFileAttr to change the file attributes. */#define PM_FILE_NORMAL              0x00000000#define PM_FILE_READONLY            0x00000001#define PM_FILE_DIRECTORY           0x00000002#define PM_FILE_ARCHIVE             0x00000004#define PM_FILE_HIDDEN              0x00000008#define PM_FILE_SYSTEM              0x00000010/* Flags returned by the PM_splitpath function */#define PM_HAS_WILDCARDS 0x01#define PM_HAS_EXTENSION 0x02#define PM_HAS_FILENAME  0x04#define PM_HAS_DIRECTORY 0x08#define PM_HAS_DRIVE     0x10/* Structure passed to the PM_setFileTime functions */typedef struct {    short   sec;        /* Seconds */    short   min;        /* Minutes */    short   hour;       /* Hour (0--23) */    short   day;        /* Day of month (1--31) */    short   mon;        /* Month (0--11) */    short   year;       /* Year (calendar year minus 1900) */    } PM_time;/* Define a macro for creating physical base addresses from segment:offset */#define MK_PHYS(s,o)  (((ulong)(s) << 4) + (ulong)(o))/* Define the different types of modes supported. This is a global variable * that can be used to determine the type at runtime which will contain * one of these values. */typedef enum {    PM_realMode,    PM_286,    PM_386    } PM_mode_enum;/* Define types passed to PM_enableWriteCombine */#define PM_MTRR_UNCACHABLE  0#define PM_MTRR_WRCOMB      1#define PM_MTRR_WRTHROUGH   4#define PM_MTRR_WRPROT      5#define PM_MTRR_WRBACK      6#define PM_MTRR_MAX         6/* Error codes returned by PM_enableWriteCombine */#define PM_MTRR_ERR_OK                  0#define PM_MTRR_NOT_SUPPORTED           -1#define PM_MTRR_ERR_PARAMS              -2#define PM_MTRR_ERR_NOT_4KB_ALIGNED     -3#define PM_MTRR_ERR_BELOW_1MB           -4#define PM_MTRR_ERR_NOT_ALIGNED         -5#define PM_MTRR_ERR_OVERLAP             -6#define PM_MTRR_ERR_TYPE_MISMATCH       -7#define PM_MTRR_ERR_NONE_FREE           -8#define PM_MTRR_ERR_NOWRCOMB            -9#define PM_MTRR_ERR_NO_OS_SUPPORT       -10/* Values passed to the PM_DMACProgram function */#define PM_DMA_READ_ONESHOT     0x44    /* One-shot DMA read        */#define PM_DMA_WRITE_ONESHOT    0x48    /* One-shot DMA write       */#define PM_DMA_READ_AUTOINIT    0x54    /* Auto-init DMA read       */#define PM_DMA_WRITE_AUTOINIT   0x58    /* Auto-init DMA write      *//* Flags passed to suspend application callback */#define PM_DEACTIVATE       1#define PM_REACTIVATE       2/* Return codes that the application can return from the suspend application * callback registered with the PM library. See the MGL documentation for * more details. */#define PM_SUSPEND_APP      0#define PM_NO_SUSPEND_APP   1/****************************************************************************REMARKS:This enumeration defines the type values passed to the PM_agpReservePhysicalfunction, to define how the physical memory mapping should be handled.The PM_agpUncached type indicates that the memory should be allocated asuncached memory.The PM_agpWriteCombine type indicates that write combining should be enabledfor physical memory mapping. This is used for framebuffer write combing andspeeds up direct framebuffer writes to the memory.The PM_agpIntelDCACHE type indicates that memory should come from the Inteli81x Display Cache (or DCACHE) memory pool. This flag is specific to theIntel i810 and i815 controllers, and should not be passed for any othercontroller type.HEADER:pmapi.hMEMBERS:PM_agpUncached      - Indicates that the memory should be uncachedPM_agpWriteCombine  - Indicates that the memory should be write combinedPM_agpIntelDCACHE   - Indicates that the memory should come from DCACHE pool****************************************************************************/typedef enum {    PM_agpUncached,    PM_agpWriteCombine,    PM_agpIntelDCACHE    } PM_agpMemoryType;/* Defines the size of an system memory page */#define PM_PAGE_SIZE        4096/* Type definition for a physical memory address */typedef unsigned long PM_physAddr;/* Define a bad physical address returned by map physical functions */#define PM_BAD_PHYS_ADDRESS 0xFFFFFFFF/* Type definition for the 12-byte lock handle for locking linear memory */typedef struct {    ulong   h[3];    } PM_lockHandle;/* 'C' calling conventions always       */#define PMAPI   _ASMAPI#define PMAPIP  _ASMAPIP/* Internal typedef to override DPMI_int86 handler */typedef ibool (PMAPIP DPMI_handler_t)(DPMI_regs *regs);void PMAPI DPMI_setInt10Handler(DPMI_handler_t handler);/* Type definitions for a window handle for console modes */#if     defined(__DRIVER__) || defined(__WIN32_VXD__) || defined(__NT_DRIVER__)typedef void        *PM_HWND;   /* Pointer for portable drivers         */typedef void        *PM_MODULE; /* Module handle for portable drivers   */#elif   defined(__WINDOWS__)#ifdef  DECLARE_HANDLEtypedef HWND        PM_HWND;    /* Real window handle                   */typedef HINSTANCE   PM_MODULE;  /* Win32 DLL handle                     */#elsetypedef void        *PM_HWND;   /* Place holder if windows.h not included */typedef void        *PM_MODULE; /* Place holder if windows.h not included */#endif#elif   defined(__USE_X11__)typedef struct {    Window      *window;    Display     *display;    } PM_HWND;                  /* X11 window handle */#elif   defined(__OS2__)typedef void    *PM_HWND;typedef void    *PM_MODULE;#elif   defined(__LINUX__)typedef int     PM_HWND;        /* Console id for fullscreen Linux */typedef void    *PM_MODULE;#elif   defined(__QNX__)typedef int     PM_HWND;        /* Console id for fullscreen QNX */typedef void    *PM_MODULE;#elif   defined(__RTTARGET__)typedef int     PM_HWND;        /* Placeholder for RTTarget-32 */typedef void    *PM_MODULE;#elif   defined(__REALDOS__)typedef int     PM_HWND;        /* Placeholder for fullscreen DOS */typedef void    *PM_MODULE;     /* Placeholder for fullscreen DOS */#elif   defined(__SMX32__)typedef int     PM_HWND;        /* Placeholder for fullscreen SMX */typedef void    *PM_MODULE;#elif   defined(__SNAP__)typedef void    *PM_HWND;typedef void    *PM_MODULE;#else#error  PM library not ported to this platform yet!#endif/* Type definition for code pointers */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产日产欧产精品推荐色| 欧美tickling挠脚心丨vk| 国产成人无遮挡在线视频| 麻豆91精品视频| 麻豆freexxxx性91精品| 精品一区二区日韩| 国产精品一区一区三区| 国产成人在线网站| 床上的激情91.| 色老头久久综合| 精品婷婷伊人一区三区三| 精品视频1区2区| 91精品国产综合久久香蕉麻豆| 欧美日韩一区二区电影| 91精品免费观看| 精品电影一区二区三区| 国产精品欧美一级免费| 亚洲男女毛片无遮挡| 亚洲图片欧美色图| 麻豆精品新av中文字幕| 九九久久精品视频| 9i在线看片成人免费| 欧美日韩精品一区二区三区四区 | 欧美日韩综合在线免费观看| 欧美日韩大陆在线| 欧美猛男gaygay网站| 日韩欧美视频在线| 日本一区二区三级电影在线观看| 亚洲嫩草精品久久| 久久99热99| 91麻豆免费在线观看| 欧美一区二区三区四区高清| 久久久国产精华| 亚洲电影一区二区| 国产成人精品www牛牛影视| 91国在线观看| 国产人久久人人人人爽| 亚洲在线一区二区三区| 国产黄色精品视频| 欧美日韩国产一级片| 欧美国产日韩在线观看| 日本va欧美va欧美va精品| 91年精品国产| 亚洲精品一线二线三线无人区| 亚洲一区二区影院| 99久久99久久免费精品蜜臀| 日韩视频一区二区在线观看| 亚洲麻豆国产自偷在线| 国产一区 二区| 日韩一区二区三区四区五区六区| 国产精品国产馆在线真实露脸| 老鸭窝一区二区久久精品| 欧美午夜免费电影| 亚洲精品免费在线| 顶级嫩模精品视频在线看| 日韩一区二区精品葵司在线| 亚洲综合丁香婷婷六月香| 99久久精品99国产精品| 国产午夜精品理论片a级大结局| 奇米777欧美一区二区| 在线精品亚洲一区二区不卡| 成人欧美一区二区三区白人| 国产精品夜夜嗨| 精品福利一二区| 蜜桃视频一区二区三区| 免费观看久久久4p| 日韩欧美亚洲另类制服综合在线| 国产精品77777| 欧美日韩精品免费观看视频| 亚洲视频一区在线| 99精品久久99久久久久| 欧美高清在线精品一区| 国产不卡视频在线观看| 成人激情校园春色| 亚洲成人精品在线观看| 国产三级精品三级| 欧美视频第二页| 成人午夜av电影| 秋霞国产午夜精品免费视频| 亚洲图片欧美激情| 精品成人一区二区| 欧美日韩1区2区| 91丝袜美腿高跟国产极品老师| 美女视频黄频大全不卡视频在线播放 | 亚洲午夜视频在线观看| 久久久久一区二区三区四区| 欧美日韩黄色一区二区| 高清国产一区二区三区| 免费在线看成人av| 亚洲高清不卡在线| 亚洲男人的天堂在线aⅴ视频| 久久先锋影音av| 51精品秘密在线观看| 欧美亚洲一区二区在线| 91一区一区三区| 成人免费视频一区| 国产呦萝稀缺另类资源| 日本va欧美va精品发布| 日韩专区一卡二卡| 亚洲一区二区三区四区五区中文| 国产精品毛片无遮挡高清| 精品国产一区二区三区四区四 | 看电视剧不卡顿的网站| 亚洲成人高清在线| 亚洲午夜视频在线观看| 亚洲在线一区二区三区| 亚洲精品日韩一| 亚洲精选免费视频| 亚洲精品成人a在线观看| 国产精品国产三级国产| 国产精品美女久久久久久| 欧美高清在线精品一区| 国产精品久久福利| 国产精品久久久久久福利一牛影视 | 成人综合在线观看| 国产 日韩 欧美大片| 国产成人av影院| 成人av中文字幕| aaa欧美日韩| 色偷偷88欧美精品久久久| 91久久精品一区二区| 欧美日韩一区小说| 日本韩国欧美三级| 欧美午夜免费电影| 欧美一区二区三区思思人| 日韩欧美不卡在线观看视频| 日韩免费福利电影在线观看| 久久色中文字幕| 国产精品萝li| 一区二区三区四区不卡视频| 亚洲国产精品一区二区尤物区| 三级在线观看一区二区| 久久se精品一区二区| 成人性色生活片| 91国偷自产一区二区开放时间| 欧美日韩一区二区三区免费看| 91精品国产综合久久久久久久久久| 精品国产在天天线2019| 亚洲国产精品高清| 亚洲人午夜精品天堂一二香蕉| 自拍偷拍国产精品| 日韩专区一卡二卡| 国产不卡高清在线观看视频| 日本乱人伦一区| 日韩欧美黄色影院| 国产精品丝袜一区| 午夜精品一区二区三区电影天堂| 美腿丝袜一区二区三区| 成人高清在线视频| 91精品国产综合久久香蕉的特点 | 国产精品天美传媒| 亚洲第一搞黄网站| 国产一区二区日韩精品| 一本久道久久综合中文字幕| 欧美大度的电影原声| 日韩一区在线免费观看| 麻豆freexxxx性91精品| 91麻豆免费视频| 欧美精品一区二区三区一线天视频| 中文字幕一区二区三区不卡 | 91精品在线免费观看| 国产精品美女久久久久久久久久久| 污片在线观看一区二区| av午夜精品一区二区三区| 91精品国产高清一区二区三区蜜臀| 国产精品国产自产拍在线| 久久激情五月婷婷| 色噜噜狠狠色综合中国| 国产日产欧美精品一区二区三区| 午夜电影久久久| 91国偷自产一区二区三区观看| 久久免费看少妇高潮| 日本不卡1234视频| 欧美亚洲动漫制服丝袜| 日韩美女视频一区| 国产不卡在线一区| 精品国产成人系列| 免费观看在线综合色| 欧美日韩精品一区二区天天拍小说 | 中文字幕精品三区| 久久99精品国产麻豆婷婷| 欧美日韩国产一二三| 亚洲乱码日产精品bd| www.性欧美| 欧美激情一区二区三区四区| 国产一区二区女| 久久久久国产免费免费| 精品在线免费观看| 日韩欧美久久久| 麻豆专区一区二区三区四区五区| 在线亚洲人成电影网站色www| 欧美激情在线观看视频免费| 国产精品亚洲一区二区三区在线 | 亚洲视频一二区| 成人av在线一区二区| 国产精品色眯眯| 成人美女视频在线看| 国产精品免费aⅴ片在线观看| 国产福利一区二区三区视频| 26uuu国产电影一区二区|