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

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

?? sysbuspci.c

?? This file contains board-specific information for the Motorola LoPEC in support of the lopec BSP. S
?? C
字號:
/* sysBusPci.c - autoconfig support *//* Copyright 1997-2002 Wind River Systems, Inc. All Rights Reserved *//* Copyright 1999-2002 Motorola, Inc. All Rights Reserved *//*modification history--------------------01g,04apr01,scb  Updated to conform to 1.4 rev of eng. spec01f,22jan01,scb  Cleaned up PCI configuration items.01e,03jan01,cak  Added IBC and IDE to Excluded Devices list01d,18dec00,cak  Added comment for device #11 - PIB01c,15dec00,djs  removed references to PReP01b,09nov00,djs  changes made for initial board bring up01a,02nov00,djs  created based on 01f,28may99,rhk mv2100*//*DESCRIPTIONThis module contains the "non-generic" or "board specific" PCI-PCIbridge initialization code.  The module contains code to:  1.  Determine if a particular function is to be excluded from the          automatic configuration process.  2.  Program the "interrupt line" field of the PCI configuration header.*//* includes */#include "vxWorks.h"#include "logLib.h"#include "taskLib.h"#include "config.h"#include "drv/pci/pciConfigLib.h"#include "drv/pci/pciAutoConfigLib.h"/* defines *//* typedefs *//* globals */PCI_SYSTEM sysParams;static UCHAR intLine [][4] =    {	{ 0xff, 0xff, 0xff, 0xff },  /* device number 0 */	{ 0xff, 0xff, 0xff, 0xff },  /* device number 1 */	{ 0xff, 0xff, 0xff, 0xff },  /* device number 2 */	{ 0xff, 0xff, 0xff, 0xff },  /* device number 3 */	{ 0xff, 0xff, 0xff, 0xff },  /* device number 4 */	{ 0xff, 0xff, 0xff, 0xff },  /* device number 5 */	{ 0xff, 0xff, 0xff, 0xff },  /* device number 6 */	{ 0xff, 0xff, 0xff, 0xff },  /* device number 7 */	{ 0xff, 0xff, 0xff, 0xff },  /* device number 8 */	{ 0xff, 0xff, 0xff, 0xff },  /* device number 9 */	{ 0xff, 0xff, 0xff, 0xff },  /* device number 10 */	{ 0xff, 0xff, 0xff, 0xff },  /* device number 11 PIB */	{ SCSI_INT_LVL,		     /* device number 12 SCSI */	  0xff,	  0xff,	  0xff },	{ 0xff, 0xff, 0xff, 0xff },  /* device number 13 */	{ LN_INT_LVL,		     /* device number 14 I82559 Ethernet */	  0xff,	  0xff,	  0xff },	{ USB_INT_LVL,		     /* device number 15 USB */	  0xff,	  0xff,	  0xff },	{ PCI_INTA_LVL,	             /* device number 16 PMC 1 */	  PCI_INTB_LVL,	  PCI_INTC_LVL,	  PCI_INTD_LVL },	{ PCI_INTB_LVL,	             /* device number 17 PMC 2 */	  PCI_INTC_LVL,	  PCI_INTD_LVL,	  PCI_INTA_LVL },	{ PCI_INTC_LVL,	             /* device number 18 PCI slot 1 */	  PCI_INTD_LVL,	  PCI_INTA_LVL,	  PCI_INTB_LVL },	{ 0xff, 0xff, 0xff, 0xff },  /* device number 19 */	{ 0xff, 0xff, 0xff, 0xff },  /* device number 20 */	{ 0xff, 0xff, 0xff, 0xff },  /* device number 21 */	{ 0xff, 0xff, 0xff, 0xff },  /* device number 22 */	{ 0xff, 0xff, 0xff, 0xff },  /* device number 23 */	{ PCI_INTA_LVL,	             /* device number 24 PMC 1B (PrPMC) */	  PCI_INTB_LVL,	  PCI_INTC_LVL,	  PCI_INTD_LVL },	{ 0xff, 0xff, 0xff, 0xff },  /* device number 25 */	{ PCI_INTC_LVL,	             /* device number 26 PMC 2B (PrPMC) */	  PCI_INTD_LVL,	  PCI_INTA_LVL,	  PCI_INTB_LVL }    };/* locals *//* forward declarations */LOCAL UCHAR sysPciAutoConfigIntAsgn ( PCI_SYSTEM * pSys, PCI_LOC * pFunc,    UCHAR intPin );LOCAL STATUS sysPciAutoConfigInclude ( PCI_SYSTEM *pSys, PCI_LOC *pciLoc,    UINT devVend );/******************************************************************************** sysPciAutoConfigInclude - Determine if function is to be autoConfigured** This function is called with PCI bus, device, function, and vendor * information.  It returns an indication of whether or not the particular* function should be included in the automatic configuration process.* This capability is useful if it is desired that a particular function* NOT be automatically configured.  Of course, if the device is not* included in automatic configuration, it will be unusable unless the* user's code made provisions to configure the function outside of the* the automatic process.** RETURNS: TRUE if function is to be included in automatic configuration,* FALSE otherwise.*/ LOCAL STATUS sysPciAutoConfigInclude    (    PCI_SYSTEM *pSys,		/* input: AutoConfig system information */    PCI_LOC *pciLoc,		/* input: PCI address of this function */    UINT     devVend		/* input: Device/vendor ID number      */    )    {    BOOL retVal = OK;    /* If it's the host bridge then exclude it */    if ((pciLoc->bus == 0) && (pciLoc->device == 0) && (pciLoc->function == 0))	return ERROR;    switch(devVend)	{	/* EXCLUDED Devices */        case PCI_ID_IBC:            retVal = ERROR;            PCI_AUTO_DEBUG_MSG("sysPciAutoconfigInclude: Excluding IBC\n",                    0, 0, 0, 0, 0, 0);            break;        case PCI_ID_IDE:           retVal = ERROR;           PCI_AUTO_DEBUG_MSG("sysPciAutoconfigInclude: Excluding IDE\n",                   0, 0, 0, 0, 0, 0);           break;	/* INCLUDED Devices */	default:	    retVal = OK;            PCI_AUTO_DEBUG_MSG("sysPciAutoconfigInclude: Including unknown device\n",		    0, 0, 0, 0, 0, 0);	    break;	}    return retVal;    }/******************************************************************************** sysPciAutoConfigIntAssign - Assign the "interrupt line" value** RETURNS: "interrupt line" value.**/LOCAL UCHAR sysPciAutoConfigIntAsgn    (     PCI_SYSTEM * pSys,		/* input: AutoConfig system information */    PCI_LOC * pFunc,    UCHAR intPin 		/* input: interrupt pin number */    )    {    UCHAR irqValue = 0xff;    /* Calculated value                */    if (intPin == 0) 	return irqValue;    irqValue = intLine [(pFunc->device)][(intPin - 1)];    PCI_AUTO_DEBUG_MSG("intAssign called for device [%d %d %d] IRQ: %d\n",		pFunc->bus, pFunc->device, pFunc->function,		irqValue, 0, 0 );    return (irqValue);    }/********************************************************************************* sysPciAutoConfig - PCI autoConfig support routine** This routine instantiates the PCI_SYSTEM structure needed to configure* the system. This consists of assigning address ranges to each category* of PCI system resource: Prefetchable and Non-Prefetchable 32-bit Memory, and* 16- and 32-bit I/O. The "MASK_PCI_xxx_BITS is dependant on the memory map,* (i.e. if CHRP_ADRS_MAP is defined).  Global values for the Cache Line Size * and Maximum Latency are also specified. Finally, the four supplemental * routines for device inclusion/exclusion, interrupt assignment, and pre- and* post-enumeration bridge initialization are specified. ** ADDRESS MAPS:** Local CPU Space		    PCI Space (these are the values used *					   for autoconfig setup)* *                          Memory Map B (CHRP)* PCI_MSTR_MEMIO_LOCAL =  ----------------------  PCI_MSTR_MEMIO_BUS =*    0x80000000          |PCI_MSTR_MEMIO_SIZE = |    0x80000000*                        |   0x04000000         |  (nonprefetch)*                        |                      |*                         ----------------------  PCI_MSTR_MEM_BUS =* PCI_MSTR_MEM_LOCAL =   |PCI_MSTR_MEM_SIZE =   |    0x84000000*    0x84000000          |   0x00800000         |   (prefetch)*                         ----------------------*                                 .....** ISA_MSTR_IO_LOCAL =     ---------------------- ISA_MSTR_IO_BUS =*    0xfe000000          |ISA_MSTR_IO_SIZE =    |    0x00000000*                        |   0x00010000         |*                         ----------------------*                                 .....* PCI_MSTR_IO_LOCAL =     ---------------------- PCI_MSTR_IO_BUS =*    0xfe800000          |PCI_MSTR_IO_SIZE =    |    0x00800000*                        |                      |*                         ----------------------** RETURNS: N/A*/void sysPciAutoConfig (void)    {    /*      * 32-bit Non-prefetchable Memory Space,     * Make sure it does not start at address 0 which would turn off a     * PCI address BAR.     */     sysParams.pciMemIo32 = PCI_MSTR_MEMIO_BUS;    sysParams.pciMemIo32Size = PCI_MSTR_MEMIO_SIZE;    if (sysParams.pciMemIo32 == 0)       {       sysParams.pciMemIo32++;       sysParams.pciMemIo32Size--;       }    /*      * 32-bit Prefetchable Memory Space     * Make sure it does not start at address 0 which would turn off a     * PCI address BAR.     */     sysParams.pciMem32 = PCI_MSTR_MEM_BUS;    sysParams.pciMem32Size = PCI_MSTR_MEM_SIZE;    if (sysParams.pciMem32 == 0)	{        sysParams.pciMem32++;        sysParams.pciMem32Size--;	}     /* 16-bit ISA I/O Space - start after legacy devices, kbd, com1, ...  */    sysParams.pciIo16 = (ISA_MSTR_IO_BUS + ISA_LEGACY_SIZE);    sysParams.pciIo16Size = (ISA_MSTR_IO_SIZE - ISA_LEGACY_SIZE);    /*     * 32-bit PCI I/O Space     * Make sure it does not start at address 0 which would turn off a     * PCI address BAR.     */     sysParams.pciIo32 = PCI_MSTR_IO_BUS;    sysParams.pciIo32Size = PCI_MSTR_IO_SIZE;    if (sysParams.pciIo32 == 0)	{        sysParams.pciIo32++;        sysParams.pciIo32Size--;	}    /* Configuration space parameters */     sysParams.cacheSize = (_CACHE_ALIGN_SIZE/4);    sysParams.maxLatency = PCI_LAT_TIMER;    sysParams.autoIntRouting = TRUE;    sysParams.includeRtn = sysPciAutoConfigInclude;    sysParams.intAssignRtn = sysPciAutoConfigIntAsgn;    sysParams.bridgePreConfigInit = NULL;    sysParams.bridgePostConfigInit = NULL;     /* Perform AutoConfig */    pciAutoConfig (&sysParams);     return;    }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久只精品国产| 欧美伦理视频网站| 久久国产成人午夜av影院| 亚洲国产精品自拍| 亚洲一区自拍偷拍| 亚洲精品成人a在线观看| 一区二区三区四区av| 亚洲啪啪综合av一区二区三区| 国产欧美精品一区| 中文字幕中文在线不卡住| 亚洲视频狠狠干| 亚洲欧美日韩人成在线播放| 亚洲一卡二卡三卡四卡五卡| 午夜国产不卡在线观看视频| 日韩高清国产一区在线| 久久精品免费观看| 国产成人av一区二区三区在线| 丁香激情综合五月| 91蜜桃在线观看| 制服丝袜中文字幕一区| 精品成人一区二区| 国产精品美女久久久久aⅴ国产馆| 国产精品久久久久四虎| 一区二区三区四区五区视频在线观看| 一区二区三区**美女毛片| 天堂一区二区在线| 国产麻豆精品在线| 欧美揉bbbbb揉bbbbb| 日韩欧美成人一区二区| 亚洲天堂av一区| 免费在线观看日韩欧美| 99久久精品免费看国产| 欧美疯狂做受xxxx富婆| 国产精品素人一区二区| 五月天一区二区| 成人丝袜高跟foot| 91精品麻豆日日躁夜夜躁| 欧美国产精品中文字幕| 丝袜亚洲精品中文字幕一区| 成人免费高清视频在线观看| 制服丝袜亚洲精品中文字幕| 一区在线播放视频| 免费看精品久久片| 91国偷自产一区二区三区观看 | 91色九色蝌蚪| 欧美一区二区播放| 亚洲图片另类小说| 国产一区二区三区| 91精品国产综合久久蜜臀| 国产精品久久一级| 老司机精品视频在线| 欧美色涩在线第一页| 中文字幕乱码日本亚洲一区二区| 五月开心婷婷久久| 色狠狠av一区二区三区| 国产精品久久久久天堂| 久久精品国产99| 69久久夜色精品国产69蝌蚪网| 中文字幕欧美激情一区| 精品一区二区日韩| 欧美福利电影网| 亚洲午夜精品17c| 色婷婷综合久久久中文字幕| 国产日韩精品一区| 精品一区二区三区在线观看 | 色综合亚洲欧洲| 国产精品久久久久一区| 国产激情视频一区二区三区欧美| 日韩网站在线看片你懂的| 午夜精品在线看| 欧美色爱综合网| 亚洲成人免费视| 欧美日韩国产另类一区| 亚洲成人一区在线| 欧美日韩国产精品自在自线| 亚洲图片一区二区| 欧美日韩精品综合在线| 亚洲成人免费影院| 欧美一区二区三区成人| 秋霞电影一区二区| 日韩一区二区在线观看视频播放| 日韩精品电影在线| 91精品国产综合久久福利软件| 亚洲成人三级小说| 日韩亚洲欧美成人一区| 玖玖九九国产精品| 久久久影院官网| 成人激情小说乱人伦| 亚洲欧美一区二区三区极速播放| 色婷婷综合久久久久中文一区二区| 亚洲与欧洲av电影| 3d动漫精品啪啪一区二区竹菊| 久久99精品一区二区三区三区| 精品国内二区三区| 成人激情综合网站| 亚洲午夜久久久久中文字幕久| 欧美日本在线播放| 国产剧情av麻豆香蕉精品| 国产精品天美传媒| 在线不卡一区二区| 国内偷窥港台综合视频在线播放| 亚洲国产激情av| 欧美视频日韩视频在线观看| 狂野欧美性猛交blacked| 久久综合一区二区| 色婷婷综合久久久久中文 | 麻豆久久一区二区| 久久久精品国产99久久精品芒果 | 日韩区在线观看| 成人影视亚洲图片在线| 亚洲高清视频中文字幕| 精品黑人一区二区三区久久| 一本色道a无线码一区v| 精品一区二区三区影院在线午夜 | 一区二区三区国产豹纹内裤在线| 欧美浪妇xxxx高跟鞋交| 高清成人免费视频| 免费黄网站欧美| 亚洲美女视频在线观看| 久久综合狠狠综合久久激情| 欧美伊人久久大香线蕉综合69 | 亚洲已满18点击进入久久| 日韩欧美国产系列| 在线观看91精品国产入口| 国产一区在线视频| 日韩高清一区在线| 亚洲在线观看免费视频| 国产精品另类一区| 日韩免费一区二区| 欧美日韩电影在线| 一本大道久久精品懂色aⅴ| 久草中文综合在线| 爽爽淫人综合网网站| 一区二区三区在线免费| 国产欧美一二三区| 欧美mv日韩mv国产网站app| 欧美男女性生活在线直播观看| 99久久精品一区| 成人看片黄a免费看在线| 精品一二三四区| 免费不卡在线观看| 视频一区中文字幕国产| 亚洲成人av在线电影| 一区二区久久久| 国产精品成人免费| 国产精品青草综合久久久久99| 精品国产麻豆免费人成网站| 欧美一级xxx| 欧美精品色一区二区三区| 欧美中文字幕一区二区三区 | 欧美日韩一区三区| 欧美色男人天堂| 91福利精品第一导航| 在线观看av不卡| 色丁香久综合在线久综合在线观看| 99re热视频这里只精品| 色综合天天性综合| 91美女精品福利| 在线免费亚洲电影| 欧美日韩亚洲综合在线 欧美亚洲特黄一级| 色综合久久88色综合天天6| 日本电影欧美片| 欧美日韩精品高清| 欧美一级日韩一级| 精品乱码亚洲一区二区不卡| 欧美精品一区二区三区久久久| 精品免费国产一区二区三区四区| 久久综合资源网| 国产精品不卡视频| 亚州成人在线电影| 国产自产v一区二区三区c| 国产+成+人+亚洲欧洲自线| 99re热这里只有精品视频| 欧美三级欧美一级| 欧美精品一区二区三区很污很色的| 国产日韩v精品一区二区| 亚洲免费观看高清| 视频一区欧美日韩| 成人精品在线视频观看| 91福利在线看| 精品国产乱码久久久久久蜜臀| 国产日韩欧美精品综合| 亚洲无线码一区二区三区| 麻豆成人av在线| 成人久久视频在线观看| 欧美吻胸吃奶大尺度电影| 精品国产一区二区三区不卡| 国产精品久久久久一区| 婷婷成人激情在线网| 成人午夜又粗又硬又大| 欧美精品123区| 国产精品五月天| 午夜精品久久久久影视| 成人一二三区视频| 91精品国产乱码| 综合av第一页| 极品瑜伽女神91| 欧美日韩在线播放三区四区| 中文字幕精品一区二区精品绿巨人 | 久久久久久久电影|