久久ER99热精品一区二区-久久精品99国产精品日本-久久精品免费一区二区三区-久久综合九色综合欧美狠狠

新聞中心

EEPW首頁 > 嵌入式系統(tǒng) > 設(shè)計應(yīng)用 > vxworks下PCI設(shè)備驅(qū)動開發(fā)的相關(guān)函數(shù)

vxworks下PCI設(shè)備驅(qū)動開發(fā)的相關(guān)函數(shù)

作者: 時間:2016-09-12 來源:網(wǎng)絡(luò) 收藏

對于vxworks下PCI設(shè)備調(diào)試來說,pciConfigShow庫函數(shù)可以幫助顯示一些PCI設(shè)備的信息。

本文引用地址:http://cqxgywz.com/article/201609/304998.htm

VxWorks API Reference : Driver Libraries

pciConfigShow

NAME

pciConfigShow - Show routines of PCI bus(IO mapped) library

ROUTINES

pciDeviceShow( ) - print information about PCI devices

pciHeaderShow( ) - print a header of the specified PCI device

pciFindDeviceShow( ) - find a device by deviceId, then print an information.

pciFindClassShow( ) - find a device by 24-bit class code

pciConfigStatusWordShow( ) - show the decoded value of the status word

pciConfigCmdWordShow( ) - show the decoded value of the command word

pciConfigFuncShow( ) - show configuration details about a function

pciConfigTopoShow( ) - show PCI topology

STATUS pciDeviceShow

(

int busNo /* bus number */

)

STATUS pciHeaderShow

(

int busNo, /* bus number */

int deviceNo, /* device number */

int funcNo /* function number */

)

STATUS pciFindDeviceShow

(

int vendorId, /* vendor ID */

int deviceId, /* device ID */

int index /* desired instance of device */

)

STATUS pciFindClassShow

(

int classCode, /* 24-bit class code */

int index /* desired instance of device */

)

STATUS pciConfigStatusWordShow

(

int bus, /* bus */

int device, /* device */

int function, /* function */

void * pArg /* ignored */

)

STATUS pciConfigCmdWordShow

(

int bus, /* bus */

int device, /* device */

int function, /* function */

void * pArg /* ignored */

)

STATUS pciConfigFuncShow

(

int bus, /* bus */

int device, /* device */

int function, /* function */

void * pArg /* ignored */

)

void pciConfigTopoShow ()



關(guān)鍵詞:

評論


相關(guān)推薦

技術(shù)專區(qū)

關(guān)閉