h6. [[Hardware Abstraction Layer]] h6(. [[HAL entry points from RISC OS]] h6((. » HAL_PCIReadConfigHalfword h2. HAL_PCIReadConfigHalfword h5. (HAL entry #89) <pre> uint16_t HAL_PCIReadConfigHalfword(int bus, int devfn, int addr) </pre> |_<. Entry | | |bus |Bus number to read from | |devfn |Device number to read from | |addr |Address to read from | |_<. Exit | | |- |Returns the read halfword | h4. Use Reads a configuration halfword from a device on the PCI bus. 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. h4. See also * [[HAL PCI API]] h6. Information source: HAL.Tungsten.s.PCIasm in CVS