[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
DMS-physical address problem
- To: Mailing List Recipients <pci-sig-request@znyx.com>
- Subject: DMS-physical address problem
- From: Andreas Heiner <Andreas.Heiner@fr.bosch.de>
- Date: Tue, 11 Mar 1997 08:05:24 +0000
- Organization: Robert Bosch GmbH
- Resent-Date: Tue, 11 Mar 1997 08:05:24 +0000
- Resent-From: pci-sig-request@znyx.com
- Resent-Message-Id: <"3Xbmc1.0.3o2.BPG9p"@dart>
- Resent-Sender: pci-sig-request@znyx.com
Hello out there,
I'm trying to implement a DMA transfer from our PCI card (with AMCC
chip) to the main memory of the PC.
The software will be developed with WATCOM C++ 10.6 and will run under
DOS4GW.
Until now I'm able to get a small area inside the first one MB of the
memory and for this area I have the linear and the physical address. The
allocation is done by using a DPMI interupt function.
Now I need a big piece of memory in the upper memory area. Does anyone
knows a way to get the physical address of a malloc()'ed area or does a
special function (instaed of malloc()) exist (maybe a hidden DPMI
function) ?
My prefered way is to get the physical address of a malloc'ed area. In
this case I need the corresponding physical address of the first linear
address of the area and the length. These infos are required to set up
the scatter/gather interrupt. I hope that there is someone on earth to
help me.
Many thanks in advance,
Andreas Heiner
mailto:Andreas.Heiner@fr.bosch.de
Tel.: ++49 (5121) 49-3946
Fax.: ++49 (5121) 49-3910
----------------------------------------------------------------------
Andreas Heiner | Andreas Heiner
|
Robert Bosch GmbH | Robert Bosch GmbH
|
Abt.: FV/SLH-He | Dept.: FV/SLH-He
(Zentralbereich Forschung | (Corporate Research and
und Vorausentwicklung | Development Systems 2 /
Systeme 2 / Leitsysteme | Guidance and Security
und Sicherheitstechnik) | Systems)
|
Robert-Bosch-Str. 200 | Robert-Bosch-Str. 200
|
D-31139 Hildesheim | D-31139 Hildesheim
|
Deutschland | Germany
|
----------------------------------------------------------------------
************************ End of mail *********************************
Ô ô