home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / amiga / programm / 15955 < prev    next >
Encoding:
Internet Message Format  |  1992-11-17  |  1.8 KB

  1. Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!Sirius.dfn.de!mailgzrz.TU-Berlin.DE!math.fu-berlin.de!uni-paderborn.de!aurel
  2. From: aurel@uni-paderborn.de (Aurel Balmosan)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: physical memory protection with MMU
  5. Date: 17 Nov 1992 09:43:08 GMT
  6. Organization: Uni-GH Paderborn, Germany
  7. Lines: 28
  8. Distribution: worlD
  9. Message-ID: <1eaercINN3ij@uni-paderborn.de>
  10. References: <nn.geht.nicht.die-zweite.121192@uni-paderborn.de> <1duvk4INN65q@darkstar.UCSC.EDU> <Bxo6pD.LnG@unix.portal.com> <1e26guINN9gl@darkstar.UCSC.EDU>
  11. NNTP-Posting-Host: miro.uni-paderborn.de
  12. Keywords: mmu, memory, task
  13.  
  14. I think I found a way to handle memory protection which would work with 
  15. all existing programs.
  16. On condition that the MMU can handle any number of memory segments,
  17. the system should distinguish between public memory (MEMF_PUBLIC) and
  18. none public memory (allocated without MEMF_PUBLIC). If some task would 
  19. access a public memory segment of an other there would be no 
  20. MMU-interception. If a task try to access none public memory (not equal with 
  21. non allocated memory!) a execption would be the result.
  22.  
  23. In practice, in the <task-switch> the task should insert his private memory
  24. segments and in the <task-launch> the task should remove his private memory
  25. segments. 
  26.  
  27. Note:    Each task has its normal address space.
  28.     The MMU is used only for generating execptions.
  29.     The MMU must handle any number of memory segments.
  30.     In advaced use an allocated memory segment could have public and
  31.     private (eg. libraries have public data and private data)
  32.  
  33.  
  34. PS:    You don't need a MMU. You only need an execption generator(eg. BUS-Error).
  35.     And this would be (easy) to build.
  36.  
  37. Could this a way to a real secure amiga ???
  38.  
  39. -- 
  40.     Alexandru-Aurel Balmosan        aurel@uni-paderborn.de
  41.     University of Paderborn (Germany)
  42.