PCIE知识点-019:expansion rom地址可与bar0~5地址重叠

PCIe4.0规范允许ExpansionROM的地址空间与BAR0到BAR5重叠,当启用ExpansionROM解码时,重叠地址的访问会被识别为对ExpansionROM的访问。尽管如此,其他BaseAddress寄存器或EnhancedAllocationcapability不应有地址重叠。这种设计减少了所需的地址解码器数量。
摘要由CSDN通过智能技术生成

1、Expansion rom地址空间的特殊性

从PCIe 4.0协议的7.5.1.2.5章节可以得知:

Expansion ROM 的地址空间是允许与BAR0~5重叠的,无论是否支持Enhanced Allocation capability.

因此市面上的主流PCIe都支持此功能,当Expansion ROM 的地址空间与BAR0~5重叠的时,对重叠地址的访问能够正常响应,且被识别成对Expansion ROM的访问。

此处需要注意:BAR0~5不允许地址重叠

参考文档:PCI Express Base Specification, Rev. 4.0 Version 1.0

 In order to minimize the number of address decoders needed, a Function may share a decoder  between the Expansion ROM Base Address register and other Base Address registers or entry in the Enhanced Allocation capability. When expansion ROM decode is enabled, the decoder is used for accesses to the expansion ROM and device independent software must not access the Function  through any other Base Address registers or entry in the Enhanced Allocation capability.

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值