write individual double words to the configuration space of a
int _CA_PCI_Write_Config_DWord (
This function writes individual double words to the configuration space of
the specified device.
The arguments are as follows:
- the bus number
- the device or function ID.
The device number is in bits 7 through 3, and the function number
in bits 2 through 0.
- the register offset into the configuration space. This must be
aligned to a double-word boundary, that is 0, 4, 8, ..., 252.
- the number of double words to write
- a pointer to a buffer containing the data to be written into the
- the device or function was found
- an invalid register offset was given
When you use the _CA_PCI_... functions:
- Your program must be linked for
privity level 1, and the process must be run by the superuser
(root) or a
setuid program that's owned by the superuser but started by a
For more information on privity, see
-T option or the Linker
- The stack size must be less than 64K.