PCI_HardwareAddress
Christian Ludlam
christian at recoil.org
Mon Jul 17 11:15:15 BST 2006
Hi,
PCI_HardwareAddress returns the logical address of the region in R4, but the
OSLib function doesn't - this means R4 is corrupt on return from the
function.
I suspect it should look like this:
PCI_HardwareAddress =
( NUMBER 0x5038A,
ENTRY
( R0 = PCI_HardwareAddressInputFlags: flags,
R1 = .Int: address_index,
R3 = PCI_Function: function
),
EXIT
( R0 = PCI_HardwareAddressOutputFlags: flags_out,
R1! = PCI_Address: pci_address,
R2 = .Int: length,
R4 = .Ref .Data: logical_address
) ),
Thanks,
--
Christian Ludlam
christian at recoil.org
More information about the oslib-user
mailing list