更新文件 PCIe_中的_Capability_结构的寻址.md
This commit is contained in:
parent
4b6ab19b81
commit
d3294ea32c
|
@ -10,16 +10,16 @@ PCI-X 和PCIe 总线规范要求其设备必须支持 Capabilities 结构。在P
|
||||||
|
|
||||||
1. We look at address 34h and see the address of the next capability register set (50h).
|
1. We look at address 34h and see the address of the next capability register set (50h).
|
||||||
|
|
||||||
![查找 Capability 寄存器](imgs/PCIe_中的_Capability_结构的寻址/03.jpg)
|
![查找 Capability 寄存器](imgs/PCIe_中的_Capability_结构的寻址/03.jpg)
|
||||||
|
|
||||||
2. We jump to 50h and see a capability ID of 05h (MSI Capability Structure). We look at the next capability pointer in 51h to find which address to jump to next (78h).
|
2. We jump to 50h and see a capability ID of 05h (MSI Capability Structure). We look at the next capability pointer in 51h to find which address to jump to next (78h).
|
||||||
|
|
||||||
![查找 Capability 寄存器](imgs/PCIe_中的_Capability_结构的寻址/04.jpg)
|
![查找 Capability 寄存器](imgs/PCIe_中的_Capability_结构的寻址/04.jpg)
|
||||||
|
|
||||||
3. We jump to 78h and see a capability ID of 01h (Power Management Capability Structure). We look at the next capability pointer in 79h to find which address to jump to the next (80h).
|
3. We jump to 78h and see a capability ID of 01h (Power Management Capability Structure). We look at the next capability pointer in 79h to find which address to jump to the next (80h).
|
||||||
|
|
||||||
![查找 Capability 寄存器](imgs/PCIe_中的_Capability_结构的寻址/05.jpg)
|
![查找 Capability 寄存器](imgs/PCIe_中的_Capability_结构的寻址/05.jpg)
|
||||||
|
|
||||||
4. We jump to 80h and see a capability ID of 10h (PCI Express Capability Structure). We see 00h as the next capability pointer in 81h signifying the end of the linked list.
|
4. We jump to 80h and see a capability ID of 10h (PCI Express Capability Structure). We see 00h as the next capability pointer in 81h signifying the end of the linked list.
|
||||||
|
|
||||||
![查找 Capability 寄存器](imgs/PCIe_中的_Capability_结构的寻址/06.jpg)
|
![查找 Capability 寄存器](imgs/PCIe_中的_Capability_结构的寻址/06.jpg)
|
||||||
|
|
Loading…
Reference in New Issue