pci bios规范


   http://www.o3one.org/hwdocs/bios_doc/pci_bios_21.pdf

 

                                              PCI BIOS SPECIFICATION
                                                       Revision 2.1
                                                     August 26, 1994

REVISION  修订历史 DATE
1.0 原版由intel发行 9/28/92
2.0 Updated to be in synch with PCI Bus Specification Rev 2.0 7/20/93
2.1 Added functions for PCI IRQ routing; Clarifications. 8/26/94
     

PCI特殊兴趣小组对使用本文件和此处包含的信息,并且对任何本文档中可能出现的错误,PCI兴趣小组也不会

承诺更新此处包含的信息。
联系PCI特殊兴趣小组办公室以获取规范的最新版本。

有关PCI BIOS规范(PCI BIOS specification)或  PCI Special Interest Group 会员资格的问题可转发至:

PCI Special Interest Group
2575 NE Kathryn St #17
Hillsboro, OR 97124
(800) 433-5177 - Domestic
(503) 693-6232 - International
(503) 693-8344 - Fax
techsupp@pcisig.com

内容目录

1. Introduction ...............................................................................................................
    1.1. Purpose .......................................................................................................
   1.2. Scope ..........................................................................................................
   1.3. Related Documents.....................................................................................
   1.4. Terms and Abbreviations ...........................................................................
2. Functional Description ..............................................................................................
3. Assumptions and Constraints....................................................................................
   3.1. ROM BIOS Location..................................................................................
   3.2. Calling Conventions...................................................................................
   3.3. BIOS32 Service Directory..........................................................................
       3.3.1. Determining the existence of BIOS32 Service Directory............
      3.3.2. Calling Interface for BIOS32 Service Directory .........................
   3.4. PCI BIOS 32-bit service.............................................................................
4. Host Interface ............................................................................................................
   4.1. Identifying PCI Resources..........................................................................
     4.1.1. PCI BIOS Present........................................................................
     4.1.2. Find PCI Device ..........................................................................
     4.1.3. Find PCI Class Code ...................................................................
   4.2. PCI Support Functions ...............................................................................
     4.2.1. Generate Special Cycle................................................................
     4.2.2. Get PCI Interrupt Routing Options..............................................
     4.2.3. Set PCI Hardware Interrupt .........................................................
   4.3. Accessing Configuration Space..................................................................
     4.3.1. Read Configuration Byte.............................................................
     4.3.2. Read Configuration Word ...........................................................
     4.3.3. Read Configuration Dword .........................................................
     4.3.4. Write Configuration Byte............................................................
     4.3.5. Write Configuration Word ..........................................................
     4.3.6. Write Configuration Dword ........................................................
APPENDIX A: Function List.........................................................................................
APPENDIX B: Return Code List................................................................................... 

1. Introduction 
   1.1. Purpose 
      本文档描述了PCI BIOS功能提供的软件接口。该接口提供了一种独立于硬件的方法来管理主机中的PCI设备

  1.2范围
   本文档旨在为软件开发人员提供足够的信息,以便在不了解实际硬件如何使用的情况下在主机中使用PCI设备所需的功能。它还旨在为实现者创建用于特定系统设计的这些BIOS功能,提供足够的信息。

  1.3. Related Documents(相关文档)
    PCI Local Bus Specification, Revision 2.0 April 30, 1993
    Standard BIOS 32-bit Service Directory Proposal, Revision 0.4 May 24, 1993 (available from Phoenix Technologies Ltd., Norwood, MA)
  1.4. Terms and Abbreviations(术语和缩写)

Bus Number  A number in the range 0 .. 255 that uniquely selects a PCI bus.
Configuration Space  A separate address space on PCI buses. Used for device identification and configuring devices into Memory and IO spaces
Device ID  A predefined field in configuration space that (along with Vendor ID) uniquely identifies the device
Device Number  A number in the range 0..31 that uniquely selects a device on a PCI bus.
Function Number  A number in the range 0..7 that uniquely selects a function within a multi-function PCI device.
   
   
   
   
   

 

 参看
1.tinybios 实现 pci bios 规范
   Firmware Interface Table(BIOS Specification)
2.https://www.intel.com/content/dam/develop/external/us/en/documents/firmware-interface-table-bios-specification-r1p2p1.pdf

posted @ 2023-04-14 09:12  jinzi  阅读(47)  评论(0编辑  收藏  举报