home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / vmsnet / alpha / 156 < prev    next >
Encoding:
Internet Message Format  |  1993-01-27  |  2.0 KB

  1. Path: sparky!uunet!stanford.edu!agate!spool.mu.edu!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!decwrl!morrow.stanford.edu!ssrl01.slac.stanford.edu!tcox
  2. From: tcox@ssrl01.slac.stanford.edu (Tony Cox - (415)926-3105)
  3. Newsgroups: vmsnet.alpha
  4. Subject: User-written device drivers on Alpha/VMS
  5. Date: 26 Jan 93 12:55:45 -0800
  6. Organization: SSRL, Stanford Synchrotron Radiation Lab
  7. Lines: 34
  8. Message-ID: <1993Jan26.125545.1@ssrl01.slac.stanford.edu>
  9. NNTP-Posting-Host: ssrl01.slac.stanford.edu
  10.  
  11. Does anyone have any experience with user-written drivers on the Alpha?
  12.  
  13. I am hearing conflicting information on the availability of documentation
  14. for user written drivers, and hope that someone in this news group can clarify
  15. the situation.
  16.  
  17. A specific concern for me is porting my home grown pseudodriver. On VAX/VMS,
  18. this driver processes a series of QIO's from application programs,
  19. originally written to control a CAMAC serial highway driver. For compatibility
  20. with existing systems, these applications cannot be rewritten. The QIO's
  21. come down from the application specifying (in p1-p6) three buffers in 
  22. user space. The driver locks these pages in memory, using the usual
  23. exe$write/read/modify routines, and then passes the request off to a
  24. user-written ACP using EXE$QIOACPPKT.
  25. The ACP interprets the information (in this case, generating network requests
  26. to uVAXIII systems running VAX/ELN), returns information and status into the
  27. buffers in the requesting user process, and then completes the request
  28. using COM$POST.
  29.  
  30. So this driver/ACP combination is relatively simple (no hardware access, except
  31. via supported network drivers), but it _does_ do some things which I would have
  32. thought would require some (possibly extensive) code changes when running on
  33. the Alpha.
  34.  
  35. For example, the ACP uses system page table entries to map the original
  36. user request.
  37.  
  38. Anyone done such a thing, or know about available documentation?
  39.  
  40. Thanks
  41.  
  42. Tony Cox, Stanford,CA
  43. TCOX@SSRL01.SLAC.STANFORD.EDU(INet)    SSRL01::TCOX (HEPNet)
  44. TCOX@SSRL750 (BitNet)
  45.