[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Linear address mapping



Hello PCI Experts !

I'm developing a pci card with on board dram. This memory is
mapped directly into the pci address space.
Using watcom c++ with the dos4gw extender I can get the linear
address which accesses the 'pci ram' by calling the DPMI Int31h
0800h with the physical address of the bar.
Now I want to initiate dma tranfers which copy parts of the 'pci ram'
into the pc main memory. But the only address I have is the linear
address to which data should be written.
Is there an opposite to the DPMI Int31h 0800h that gives the physical
address of a linear one ? Or what address needs the pci controller
to post at the pci bus so that the data is stored where I want it 
to be ?

Regards
 			Tobias

---------------------------------------------------------------------
Tobias Stumber
Robert Bosch GmbH
31134 Hildesheim
Germany

email: tobias.stumber@fr.bosch.de
%ȶ