home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / unix / internal / 1980 < prev    next >
Encoding:
Internet Message Format  |  1992-11-22  |  1.6 KB

  1. Xref: sparky comp.unix.internals:1980 comp.unix.programmer:5395
  2. Path: sparky!uunet!usc!rpi!batcomputer!munnari.oz.au!uniwa!aldetec!hausler
  3. From: hausler@aldetec.oz.au (Graham Hausler)
  4. Newsgroups: comp.unix.internals,comp.unix.programmer
  5. Subject: HELP: kernel routines for device driver
  6. Message-ID: <522@aldetec.oz.au>
  7. Date: 20 Nov 92 08:45:31 GMT
  8. Organization: Aldetec Pty Ltd, Perth West Australia
  9. Lines: 27
  10.  
  11. I have reached a brick wall in attempting to implement my first device
  12. driver on a Motorola MVME187 running System V/88 R32V3. 
  13. I need some/all of the following details clarified ....
  14.  
  15. 1. Can I access physical memory (not in IO space) directly from a
  16.    device driver, assumming I have removed this memory from usage by unix?
  17.    I want the physical memory at a fixed address, and hence cannot
  18.    allocate in virtual address space and then derive the physical address
  19.    (assuming I can even manage that !!)
  20.  
  21. 2. If I cannot access directly, what supplied routines within the kernel are
  22.    good candidates for trying to perform the accesses ie 'fake DMA' type
  23.    transfers and the like ... If you suggest routines like undisjointio(), I
  24.    would appreciate some details as my documentation does not describe it!
  25.  
  26. If any of the above solutions seem long-winded and horribly indirect, maybe
  27. someone can explain how unix performs it's shared memory operations when you 
  28. can directly attach/access the same physical memory???
  29.  
  30. Please email any responses, I will forward relevant information to anyone
  31. that requests it ....
  32.  
  33. Thanks 
  34. Graham Hausler
  35. -- 
  36. Internet:   hausler@aldetec.oz.au      --> GEMCO, Perth, Australia.
  37.  
  38.