🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #1888

DMA, help!

#1888
From: Magnus L|vkvist
Date: Thu, 12 Nov 1992 17:53
16 lines
1065 bytes
Im trying to write a device driver for a device that uses DMA to put a lot
of data into RAM. (On an ISA machine).

There is this problem with the OS/2 2.0 paged memory. How do I handle this?
Is there a way for me to allocate continous pieces of non-swappable 
physical memory in which the DMA puts the data?

Or should I use "scatter read" which I don't even know what it is and
haven't a clue how to implement. If this is the best solution where do I find
more information about it? And if this is the way to do it does it demand
something special from the hardware?


Any advice is very welcome!

Magnus
Technical Details
Message-ID: <manne.721590837@Minsk>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!ira.uka.de!gmd.de!Germany.EU.net!mcsun!sunic!corax.udac.uu.se!Minsk.docs.uu.se!manne

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!ira.uka.de!gmd.de!Germany.EU.net!mcsun!sunic!corax.udac.uu.se!Minsk.docs.uu.se!manne
From: manne@Minsk.docs.uu.se (Magnus L|vkvist)
Newsgroups: comp.os.os2.programmer
Subject: DMA, help!
Date: 12 Nov 92 17:53:57 GMT
Organization: Uppsala University
Lines: 16
Message-ID: <manne.721590837@Minsk>
NNTP-Posting-Host: minsk.docs.uu.se
Keywords: DMA device driver C