home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / vmsnet / internal / 1709 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  2.4 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!usc!elroy.jpl.nasa.gov!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL
  2. From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick)
  3. Newsgroups: vmsnet.internals
  4. Subject: Re: Call for partly-baked ideas:  $QIO replacement?/extention
  5. Date: 22 Dec 1992 04:27:40 GMT
  6. Organization: HST Wide Field/Planetary Camera
  7. Lines: 31
  8. Distribution: world
  9. Message-ID: <1h65fsINN9ks@gap.caltech.edu>
  10. References: <1992Dec16.113301.977@cmkrnl.com>,<1992Dec22.024303.1@cc.curtin.edu.au>
  11. Reply-To: carl@SOL1.GPS.CALTECH.EDU
  12. NNTP-Posting-Host: sol1.gps.caltech.edu
  13.  
  14. In article <1992Dec22.024303.1@cc.curtin.edu.au>, zrepachol@cc.curtin.edu.au writes:
  15. =In article <1992Dec16.113301.977@cmkrnl.com>, jeh@cmkrnl.com writes:
  16. => Are you happy with the $QIO system service?  If you were building a new O/S
  17. => from scratch, would you make the "basic I/O call" that's available for 
  18. => non-privileged programs look like $QIO, or like something else?  If the latter,
  19. => what?  If you could specify a new I/O interface to supplement $QIO in VMS, what
  20. => would it look like?
  21. => 
  22. =
  23. =The change ?I would make is to buffer handling. On a read the OS would do what
  24. =ever needs to be done to dump the data into mem, then fills in a pointer and
  25. =size block and maps the lot to your address space. By trapping the page fault
  26. =on a not yet mapped buffer pointer, the page fault code can put the PC into
  27. =a wait state till IO completion clears the page fault condition. This would
  28. =enable atomic asyncronous IO from the user code view.
  29.  
  30. Not meaning to be rude or insulting, I'd just like to point out to you tha I/O
  31. processing of the sort you're talking about occurs at an IPL above ASTDEL. You
  32. *DO* know what happens when you incur a page fault above ASTDEL, don't you?  So
  33. you might be asking for a bigger change than you realize.
  34.  
  35. Or don't you know what a buffer overflow is, or how much the O/S would have to
  36. be modified to "fix" buffer overflows?
  37. --------------------------------------------------------------------------------
  38. Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL
  39.  
  40. Disclaimer:  Hey, I understand VAXen and VMS.  That's what I get paid for.  My
  41. understanding of astronomy is purely at the amateur level (or below).  So
  42. unless what I'm saying is directly related to VAX/VMS, don't hold me or my
  43. organization responsible for it.  If it IS related to VAX/VMS, you can try to
  44. hold me responsible for it, but my organization had nothing to do with it.
  45.