PCI 设备的前64字节寄存器布局
Posted rtoax
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了PCI 设备的前64字节寄存器布局相关的知识,希望对你有一定的参考价值。
https://gitee.com/rtoax/linux-5.10.13/commit/7a01c5efae348597815cd577d29e46471846c447
/**
*
* 0x0 0x1 0x2 0x3 0x4 0x5 0x6 0x7 0x8 0x9 0xa 0xb 0xc 0xd 0xe 0xf
* +---------+---------+---------+---------+----+-------------+----+----+----+----+
* | vender | device | cmd | state |ver | class | | | |BIST|
* | ID | ID |register | register| ID | NO | | | | | 0x00
* +---------+---------+---------+---------+----+-------------+----+----+----+----+
* | base Addr0 | base Addr1 | base Addr2 | base Addr3 |
* | | | | | 0x10
* +-------------------+-------------------+------------------+---------+---------+
* | base Addr4 | base Addr5 | Cardbus | subsys | subsys |
* | | | CIS pointer |venderID |venderID | 0x20
* +-------------------+-------------------+------------------+----+----+----+----+
* | extend ROM | reserved |irq |irq | Min| Max|
* | base Addr | |Line|pin | Gnt| Lat| 0x30
* +-------------------+-------------------+------------------+----+----+----+----+
*
* 荣涛 2021年8月31日15:14:58
*/
以上是关于PCI 设备的前64字节寄存器布局的主要内容,如果未能解决你的问题,请参考以下文章