home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / linux / 9820 < prev    next >
Encoding:
Text File  |  1992-09-03  |  1.5 KB  |  36 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!usc!sol.ctr.columbia.edu!destroyer!ubc-cs!news.UVic.CA!sanjuan!pmacdona
  3. From: pmacdona@sanjuan (Peter MacDonald)
  4. Subject: re: loadable device drivers
  5. Message-ID: <1992Sep4.054335.20424@sol.UVic.CA>
  6. Sender: news@sol.UVic.CA
  7. Nntp-Posting-Host: sanjuan.uvic.ca
  8. Organization: University of Victoria, Victoria, BC, CANADA
  9. Date: Fri, 4 Sep 92 05:43:35 GMT
  10. Lines: 24
  11.  
  12.  
  13. If I was a betting man, I would put money on loadable device drivers under
  14. Linux being modelled somewhat after Shared libraries with jump tables.
  15.  
  16.  - Device drivers would have to have no external unresolved references.
  17.  - External support would have to come via "registered" func ptrs.
  18.  - Each device would be assigned a fixed range of Virtual Memory.
  19.  - All devices would be linked seperately, ala shared libs.
  20.  - The place in kernel memory where the device jump tables would reside
  21.    would be preinitialized to jump to an error routine, in case called
  22.    prior to initialization/loading.
  23.  
  24. This design would place constraints upon the device code, but would 
  25. simplify the kernel code, and would not require adding a linker to
  26. it (keep in mind Linux has survived quite nicely without it to date).
  27.  
  28. PS:  
  29.   I have decided to create my own "Alice In Wonderland" form flame 
  30. letter to send to the jabbering fools that regularly occur on this
  31. news group.  Wouldn't it be nice if a few thousand others joined in
  32. with me and made reading mail the cheary task for the thoughtless
  33. dolt, that reading their dreck is for us.  Private e-mail is an 
  34. effective but silent weapon.
  35.  
  36.