h6. [[Hardware Abstraction Layer]] h6(. [[HAL entry points from RISC OS]] h6((. » HAL_PCISlotTable h2. HAL_PCISlotTable h5. (HAL entry #95) <pre> int HAL_PCISlotTable(pcislottable *buffer, int bufsize) </pre> |_<. Entry | | |buffer |Buffer pointer, or 0 to read required size | |bufsize |Size of buffer, or 0 to read required size | |_<. Exit | | |- |Returns buffer length required. | h4. Use This is an internal call for use by the PCI module and should not be used by user software. User software should use the [[PCI SWI Calls|PCI SWIs]] instead of talking to the HAL directly. This call reads information about the PCI slots. _buffer_ should be filled in if, on entry, _bufsize_ is greater than or equal to the required size. <pre> struct pcislottable { int numentries; // Number of entries in _pcislots_ struct { uint8_t bus; // Bus number uint8_t devno; // Device number (times 8) uint8_t inta,intb,intc,intd; // INTA#. INTB#, etc. interrupt numbers (255 if none) uint8_t flags; uint8_t slot; // Slot number (0 if motherboard) } pcislots[]; } </pre> Available flags are: |_<. Bits |_<. Meaning | |0-3 |Set if INTx# not shared | |4 |Set if 64-bit slot | |5 |Set if 66-MHz capable slot | |6 |Network interface (=> gets NIC CMOS) | |7 |Reserved | h4. See also * [[HAL PCI API]] h6. Information source: HAL.Tungsten.s.PCIasm in CVS