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

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

?? pcilib.h

?? 改寫的U-boot for s3c4510 (注意此源碼是在windows下壓縮了)。 1、支持串口下載
?? H
字號:
/******************************************************************************                   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 interface routines to the PCI bus.*****************************************************************************/#ifndef __PCILIB_H#define __PCILIB_H#include "scitech.h"/*---------------------- Macros and type definitions ----------------------*/#pragma pack(1)/* Defines for PCIDeviceInfo.HeaderType */typedef enum {    PCI_deviceType                  = 0x00,    PCI_bridgeType                  = 0x01,    PCI_cardBusBridgeType           = 0x02,    PCI_multiFunctionType           = 0x80    } PCIHeaderTypeFlags;/* Defines for PCIDeviceInfo.Command */typedef enum {    PCI_enableIOSpace               = 0x0001,    PCI_enableMemorySpace           = 0x0002,    PCI_enableBusMaster             = 0x0004,    PCI_enableSpecialCylces         = 0x0008,    PCI_enableWriteAndInvalidate    = 0x0010,    PCI_enableVGACompatiblePalette  = 0x0020,    PCI_enableParity                = 0x0040,    PCI_enableWaitCycle             = 0x0080,    PCI_enableSerr                  = 0x0100,    PCI_enableFastBackToBack        = 0x0200    } PCICommandFlags;/* Defines for PCIDeviceInfo.Status */typedef enum {    PCI_statusCapabilitiesList      = 0x0010,    PCI_status66MhzCapable          = 0x0020,    PCI_statusUDFSupported          = 0x0040,    PCI_statusFastBackToBack        = 0x0080,    PCI_statusDataParityDetected    = 0x0100,    PCI_statusDevSel                = 0x0600,    PCI_statusSignaledTargetAbort   = 0x0800,    PCI_statusRecievedTargetAbort   = 0x1000,    PCI_statusRecievedMasterAbort   = 0x2000,    PCI_statusSignaledSystemError   = 0x4000,    PCI_statusDetectedParityError   = 0x8000    } PCIStatusFlags;/* PCI capability IDs */typedef enum {    PCI_capsPowerManagement         = 0x01,    PCI_capsAGP                     = 0x02,    PCI_capsMSI                     = 0x05    } PCICapsType;/* PCI AGP rate definitions */typedef enum {    PCI_AGPRate1X                   = 0x1,    PCI_AGPRate2X                   = 0x2,    PCI_AGPRate4X                   = 0x4    } PCIAGPRateType;/* NOTE: We define all bitfield's as uint's, specifically so that the IBM *       Visual Age C++ compiler does not complain. We need them to be *       32-bits wide, and this is the width of an unsigned integer, but *       we can't use a ulong to make this explicit or we get errors. *//* Structure defining a PCI slot identifier */typedef union {    struct {	uint    Zero:2;	uint    Register:6;	uint    Function:3;	uint    Device:5;	uint    Bus:8;	uint    Reserved:7;	uint    Enable:1;	} p;    ulong   i;    } PCIslot;/* Structure defining the regular (type 0) PCI configuration register * layout. We use this in a union below so we can describe all types of * PCI configuration spaces with a single structure. */typedef struct {    ulong   BaseAddress10;    ulong   BaseAddress14;    ulong   BaseAddress18;    ulong   BaseAddress1C;    ulong   BaseAddress20;    ulong   BaseAddress24;    ulong   CardbusCISPointer;    ushort  SubSystemVendorID;    ushort  SubSystemID;    ulong   ROMBaseAddress;    uchar   CapabilitiesPointer;    uchar   reserved1;    uchar   reserved2;    uchar   reserved3;    ulong   reserved4;    uchar   InterruptLine;    uchar   InterruptPin;    uchar   MinimumGrant;    uchar   MaximumLatency;    /* These are not in the actual config space, but we enumerate them */    ulong   BaseAddress10Len;    ulong   BaseAddress14Len;    ulong   BaseAddress18Len;    ulong   BaseAddress1CLen;    ulong   BaseAddress20Len;    ulong   BaseAddress24Len;    ulong   ROMBaseAddressLen;    } PCIType0Info;/* Structure defining PCI to PCI bridge (type 1) PCI configuration register * layout. We use this in a union below so we can describe all types of * PCI configuration spaces with a single structure. */typedef struct {    ulong   BaseAddress10;    ulong   BaseAddress14;    uchar   PrimaryBusNumber;    uchar   SecondayBusNumber;    uchar   SubordinateBusNumber;    uchar   SecondaryLatencyTimer;    uchar   IOBase;    uchar   IOLimit;    ushort  SecondaryStatus;    ushort  MemoryBase;    ushort  MemoryLimit;    ushort  PrefetchableMemoryBase;    ushort  PrefetchableMemoryLimit;    ulong   PrefetchableBaseHi;    ulong   PrefetchableLimitHi;    ushort  IOBaseHi;    ushort  IOLimitHi;    uchar   CapabilitiesPointer;    uchar   reserved1;    uchar   reserved2;    uchar   reserved3;    ulong   ROMBaseAddress;    uchar   InterruptLine;    uchar   InterruptPin;    ushort  BridgeControl;    } PCIType1Info;/* PCI to CardBus bridge (type 2) configuration information */typedef struct {    ulong   SocketRegistersBaseAddress;    uchar   CapabilitiesPointer;    uchar   reserved1;    ushort  SecondaryStatus;    uchar   PrimaryBus;    uchar   SecondaryBus;    uchar   SubordinateBus;    uchar   SecondaryLatency;    struct  {	ulong   Base;	ulong   Limit;	} Range[4];    uchar   InterruptLine;    uchar   InterruptPin;    ushort  BridgeControl;    } PCIType2Info;/* Structure defining the PCI configuration space information for a * single PCI device on the PCI bus. We enumerate all this information * for all PCI devices on the bus. */typedef struct {    ulong               dwSize;    PCIslot             slot;    ulong               mech1;    ushort              VendorID;    ushort              DeviceID;    ushort              Command;    ushort              Status;    uchar               RevID;    uchar               Interface;    uchar               SubClass;    uchar               BaseClass;    uchar               CacheLineSize;    uchar               LatencyTimer;    uchar               HeaderType;    uchar               BIST;    union {	PCIType0Info    type0;	PCIType1Info    type1;	PCIType2Info    type2;	} u;    } PCIDeviceInfo;/* PCI Capability header structure. All PCI capabilities have the * following header. * * capsID is used to identify the type of the structure as define above. * * next is the offset in PCI configuration space (0x40-0xFC) of the * next capability structure in the list, or 0x00 if there are no more * entries. */typedef struct {    uchar   capsID;    uchar   next;    } PCICapsHeader;/* Structure defining the PCI AGP status register contents */typedef struct {    uint    rate:3;    uint    rsvd1:1;    uint    fastWrite:1;    uint    fourGB:1;    uint    rsvd2:3;    uint    sideBandAddressing:1;    uint    rsvd3:14;    uint    requestQueueDepthMaximum:8;    } PCIAGPStatus;/* Structure defining the PCI AGP command register contents */typedef struct {    uint    rate:3;    uint    rsvd1:1;    uint    fastWriteEnable:1;    uint    fourGBEnable:1;    uint    rsvd2:2;    uint    AGPEnable:1;    uint    SBAEnable:1;    uint    rsvd3:14;    uint    requestQueueDepth:8;    } PCIAGPCommand;/* AGP Capability structure */typedef struct {    PCICapsHeader   h;    ushort          majMin;    PCIAGPStatus    AGPStatus;    PCIAGPCommand   AGPCommand;    } PCIAGPCapability;/* Structure for obtaining the PCI IRQ routing information */typedef struct {    uchar   bus;    uchar   device;    uchar   linkA;    ushort  mapA;    uchar   linkB;    ushort  mapB;    uchar   linkC;    ushort  mapC;    uchar   linkD;    ushort  mapD;    uchar   slot;    uchar   reserved;    } PCIRouteInfo;typedef struct {    ushort          BufferSize;    PCIRouteInfo    *DataBuffer;    } PCIRoutingOptionsBuffer;#define NUM_PCI_REG                 (sizeof(PCIDeviceInfo) / 4) - 10#define PCI_BRIDGE_CLASS            0x06#define PCI_HOST_BRIDGE_SUBCLASS    0x00#define PCI_EARLY_VGA_CLASS         0x00#define PCI_EARLY_VGA_SUBCLASS      0x01#define PCI_DISPLAY_CLASS           0x03#define PCI_DISPLAY_VGA_SUBCLASS    0x00#define PCI_DISPLAY_XGA_SUBCLASS    0x01#define PCI_DISPLAY_OTHER_SUBCLASS  0x80#define PCI_MM_CLASS                0x04#define PCI_AUDIO_SUBCLASS          0x01/* Macros to detect specific classes of devices */#define PCI_IS_3DLABS_NONVGA_CLASS(pci) \   (((pci)->BaseClass == PCI_DISPLAY_CLASS && (pci)->SubClass == PCI_DISPLAY_OTHER_SUBCLASS) \ && ((pci)->VendorID == 0x3D3D || (pci)->VendorID == 0x104C))#define PCI_IS_DISPLAY_CLASS(pci) \   (((pci)->BaseClass == PCI_DISPLAY_CLASS && (pci)->SubClass == PCI_DISPLAY_VGA_SUBCLASS) \ || ((pci)->BaseClass == PCI_DISPLAY_CLASS && (pci)->SubClass == PCI_DISPLAY_XGA_SUBCLASS) \ || ((pci)->BaseClass == PCI_EARLY_VGA_CLASS && (pci)->SubClass == PCI_EARLY_VGA_SUBCLASS) \ || PCI_IS_3DLABS_NONVGA_CLASS(pci))/* Function codes to pass to PCI_accessReg */#define PCI_READ_BYTE               0#define PCI_READ_WORD               1#define PCI_READ_DWORD              2#define PCI_WRITE_BYTE              3#define PCI_WRITE_WORD              4#define PCI_WRITE_DWORD             5/* Macros to read/write PCI registers. These assume a global PCI array * of device information. */#define PCI_readPCIRegB(index,device)   \    PCI_accessReg(index,0,0,&PCI[DeviceIndex[device]])#define PCI_readPCIRegW(index,device)   \    PCI_accessReg(index,0,1,&PCI[DeviceIndex[device]])#define PCI_readPCIRegL(index,device)   \    PCI_accessReg(index,0,2,&PCI[DeviceIndex[device]])#define PCI_writePCIRegB(index,value,device)    \    PCI_accessReg(index,value,3,&PCI[DeviceIndex[device]])#define PCI_writePCIRegW(index,value,device)    \    PCI_accessReg(index,value,4,&PCI[DeviceIndex[device]])#define PCI_writePCIRegL(index,value,device)    \    PCI_accessReg(index,value,5,&PCI[DeviceIndex[device]])#pragma pack()/*-------------------------- Function Prototypes --------------------------*/#ifdef  __cplusplusextern "C" {                        /* Use "C" linkage when in C++ mode */#endif/* Function to determine the number of PCI devices in the system */int     _ASMAPI PCI_getNumDevices(void);/* Function to enumerate all device on the PCI bus */int     _ASMAPI PCI_enumerate(PCIDeviceInfo info[]);/* Function to access PCI configuration registers */ulong   _ASMAPI PCI_accessReg(int index,ulong value,int func,PCIDeviceInfo *info);/* Function to get PCI IRQ routing options for a card */int     _ASMAPI PCI_getIRQRoutingOptions(int numDevices,PCIRouteInfo *buffer);/* Function to re-route the PCI IRQ setting for a device */ibool   _ASMAPI PCI_setHardwareIRQ(PCIDeviceInfo *info,uint intPin,uint IRQ);/* Function to generate a special cyle on the specified PCI bus */void    _ASMAPI PCI_generateSpecialCyle(uint bus,ulong specialCycleData);/* Function to determine the size of a PCI base address register */ulong   _ASMAPI PCI_findBARSize(int bar,PCIDeviceInfo *pci);/* Function to read a block of PCI configuration space registers */void    _ASMAPI PCI_readRegBlock(PCIDeviceInfo *info,int index,void *dst,int count);/* Function to write a block of PCI configuration space registers */void    _ASMAPI PCI_writeRegBlock(PCIDeviceInfo *info,int index,void *src,int count);/* Function to return the 32-bit PCI BIOS entry point */ulong   _ASMAPI PCIBIOS_getEntry(void);#ifdef  __cplusplus}                                   /* End of "C" linkage for C++       */#endif#endif  /* __PCILIB_H */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本伊人色综合网| 日日摸夜夜添夜夜添亚洲女人| 在线免费亚洲电影| 国产99久久久国产精品免费看| 精品一区二区三区免费毛片爱| 日韩国产成人精品| 美腿丝袜亚洲一区| 激情综合色播激情啊| 狠狠色综合色综合网络| 久久国产综合精品| 亚洲成人免费在线| 亚洲一区二区三区爽爽爽爽爽| 亚洲免费在线观看| 亚洲一卡二卡三卡四卡| 免费在线观看视频一区| 精品一区二区成人精品| 国产老肥熟一区二区三区| 国产精品白丝av| 91老司机福利 在线| 欧美性猛交xxxx黑人交| 日韩你懂的在线观看| 久久综合成人精品亚洲另类欧美| 国产三级三级三级精品8ⅰ区| 中文字幕中文在线不卡住| 亚洲国产视频网站| 久久99精品久久久久久动态图 | 欧美裸体一区二区三区| 欧美一区三区二区| 中文字幕av在线一区二区三区| 亚洲日本在线看| 麻豆精品视频在线| 91污片在线观看| 欧美一级xxx| 自拍偷拍欧美精品| 美女任你摸久久| 色综合久久精品| 2017欧美狠狠色| 午夜精品一区二区三区免费视频 | 国产成人精品aa毛片| 日本丶国产丶欧美色综合| 日韩精品一区二区三区四区 | 久久久无码精品亚洲日韩按摩| 中文字幕中文字幕中文字幕亚洲无线 | 亚洲一卡二卡三卡四卡| 国产米奇在线777精品观看| 日本韩国欧美三级| 国产日产欧美一区| 天天av天天翘天天综合网色鬼国产 | 一区二区三区欧美亚洲| 国模一区二区三区白浆| 欧美美女视频在线观看| 中文字幕一区av| 精品一区二区在线播放| 欧美美女直播网站| 亚洲特级片在线| 国产99一区视频免费| 日韩欧美国产一区二区三区 | 6080亚洲精品一区二区| 国产精品天美传媒| 激情国产一区二区| 6080国产精品一区二区| 亚洲一区二区三区四区在线观看 | 综合久久综合久久| 丁香天五香天堂综合| 欧美一区二区三区的| 亚洲精品免费在线播放| 97久久精品人人爽人人爽蜜臀| 国产婷婷色一区二区三区四区| 麻豆视频观看网址久久| 69堂精品视频| 日日摸夜夜添夜夜添精品视频| 欧美性生交片4| 亚洲一区二区影院| 欧美体内she精高潮| 一区二区三区四区在线| 色婷婷精品大视频在线蜜桃视频| 国产精品网站导航| 99视频国产精品| 亚洲精品videosex极品| 99国产一区二区三精品乱码| 欧美va亚洲va香蕉在线| 日日夜夜精品免费视频| 91精品国产色综合久久不卡蜜臀| 首页国产欧美日韩丝袜| 欧美另类高清zo欧美| 美女性感视频久久| 国产亚洲精品7777| 91亚洲男人天堂| 亚洲综合丝袜美腿| 日韩欧美一级精品久久| 久久er99精品| 中文字幕在线一区二区三区| 99r国产精品| 午夜免费久久看| 中文字幕一区二区三区在线播放 | 调教+趴+乳夹+国产+精品| 欧美三级日韩在线| 成人黄色一级视频| 国产精品一区二区无线| 伦理电影国产精品| 午夜精品视频在线观看| 亚洲视频综合在线| 国产精品午夜免费| 久久久精品tv| 久久久综合九色合综国产精品| 日韩欧美一二三四区| 欧美亚洲图片小说| 色老汉av一区二区三区| 97se狠狠狠综合亚洲狠狠| 国产成人午夜视频| 国产成人精品免费| 高清不卡在线观看av| 国产福利91精品一区| 国产精品18久久久| 成人性生交大片免费看中文| 国产精品一二三| 成人性生交大片免费看中文| 成人伦理片在线| 99久久精品久久久久久清纯| 不卡一卡二卡三乱码免费网站| 国产激情91久久精品导航| 国产成人免费xxxxxxxx| 成人黄色综合网站| 一本一本久久a久久精品综合麻豆 一本一道波多野结衣一区二区 | 综合在线观看色| 亚洲乱码日产精品bd| 亚洲第一福利视频在线| 日韩中文字幕一区二区三区| 日韩va欧美va亚洲va久久| 日韩精品91亚洲二区在线观看| 日韩国产在线观看| 久久精品av麻豆的观看方式| 国产精品一区在线观看乱码 | 欧美巨大另类极品videosbest | 欧美成人vr18sexvr| 久久午夜老司机| 自拍偷拍亚洲欧美日韩| 亚洲成人综合视频| 久久精品国产**网站演员| 成人高清视频在线观看| 色综合久久久久久久久| 欧美夫妻性生活| 精品国产凹凸成av人导航| 欧美国产欧美综合| 一个色妞综合视频在线观看| 首页综合国产亚洲丝袜| 国产91精品欧美| 欧洲精品在线观看| 精品免费99久久| 亚洲综合激情小说| 国产真实乱子伦精品视频| 99re免费视频精品全部| 欧美久久一区二区| 国产精品久久久久影院色老大| 亚洲第一福利视频在线| 国v精品久久久网| 欧美视频你懂的| 日本一区二区三区高清不卡| 一区二区三区高清| 国产一区二区三区香蕉| 在线视频国内一区二区| 久久久久99精品国产片| 性做久久久久久免费观看| 丰满放荡岳乱妇91ww| 9191久久久久久久久久久| ...中文天堂在线一区| 人妖欧美一区二区| 色综合久久66| 国产亚洲精品bt天堂精选| 亚洲18色成人| 一本久久a久久免费精品不卡| 精品处破学生在线二十三| 亚洲一区二区三区四区在线免费观看 | 久久精品视频免费观看| 天天综合色天天| 99v久久综合狠狠综合久久| 久久综合999| 蜜臀av国产精品久久久久| 欧美午夜电影网| 亚洲男女一区二区三区| 国产成人aaa| 久久久久久久久蜜桃| 美女一区二区视频| 91精品国产一区二区三区蜜臀| 亚洲激情男女视频| 91丨porny丨国产| 国产精品区一区二区三区| 国产成人午夜精品影院观看视频 | 亚洲精品一区二区精华| 婷婷综合久久一区二区三区| 91亚洲精品乱码久久久久久蜜桃| 国产女人水真多18毛片18精品视频 | 午夜久久久久久| 欧美性大战xxxxx久久久| 亚洲男人电影天堂| 色综合久久中文字幕综合网| 国产精品每日更新在线播放网址| 国产一区二区三区免费在线观看| 久久夜色精品一区| 国产精品99久久不卡二区|