home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 106 / EnigmaAmiga106CD.iso / software / sviluppo / pmm / developer / fd / mmu_lib.fd < prev    next >
Encoding:
Text File  |  1999-07-11  |  2.8 KB  |  78 lines

  1. *-----------------------------------------------------------------
  2. *-- MMU.library                                                 --
  3. *-- © 1998,1999 the mmu.library development group, THOR-Software--
  4. *--                                                             --
  5. *-- Library header file Version 0.36                            --
  6. *--                                                             --
  7. *-- created 18 Oct 1998 THOR,   Thomas Richter                  --
  8. *--     Modifications:                                          --
  9. *--                                                             --
  10. *-- 0.20 :  03 Feb 1999 THOR,   Thomas Richter                  --
  11. *-- 0.26 :  27 Mar 1999 THOR,     Thomas Richter            --
  12. *-- 0.30 :  01 May 1999 THOR,   Thomas Richter            --
  13. *-- 0.35 :  02 Jul 1999 THOR,    Thomas Richter            --
  14. *-- 0.36 :  11 Jul 1999 THOR,    Thomas Richter            --
  15. *-----------------------------------------------------------------
  16. ##base _MMUBase
  17. ##bias 30
  18. ##public
  19. AllocAligned(bytesize,reqments,alignment)(d0,d1,a0)
  20. GetMapping(ctx)(a0)
  21. ReleaseMapping(ctx,list)(a0,a1)
  22. GetPageSize(ctx)(a0)
  23. GetMMUType()()
  24. ##private
  25. GetMMUConfig()()
  26. ReleaseMMUConfig(mfc)(a1)
  27. ##public
  28. LockMMUContext(ctx)(a0)
  29. UnlockMMUContext(ctx)(a0)
  30. SetPropertiesA(ctx,flags,mask,lower,size,tags)(a0,d1,d2,a1,d0,a2)
  31. GetPropertiesA(ctx,lower,tags)(a0,a1,a2)
  32. RebuildTree(ctx)(a0)
  33. SetPagePropertiesA(ctx,flags,mask,lower,tags)(a0,d1,d2,a1,a2)
  34. GetPagePropertiesA(ctx,lower,tags)(a0,a1,a2)
  35. CreateMMUContextA(tags)(a0)
  36. DeleteMMUContext(ctx)(a0)
  37. ##private
  38. AllocLineMem(bytesize,reqments)(d0,d1)
  39. ##public
  40. AllocLineVec(bytesize,reqments)(d0,d1)
  41. PhysicalPageLocation(ctx,addr)(a0,a1)
  42. SuperContext(ctx)(a0)
  43. DefaultContext()()
  44. EnterMMUContext(ctx,task)(a0,a1)
  45. LeaveMMUContext(task)(a1)
  46. AddContextHookA(tags)(a0)
  47. RemContextHook(hook)(a1)
  48. AddMessageHookA(tags)(a0)
  49. RemMessageHook(hook)(a1)
  50. ActivateException(hook)(a1)
  51. DeactivateException(hook)(a1)
  52. AttemptLockMMUContext(ctx)(a0)
  53. LockContextList()()
  54. UnlockContextList()()
  55. AttemptLockContextList()()
  56. SetPropertyList(ctx,list)(a0,a1)
  57. TouchPropertyList(list)(a1)
  58. CurrentContext(task)(a1)
  59. DMAInitiate(ctx,addrptrptr,lengthptr,write)(d1,a0,a1,d0)
  60. DMATerminate(ctx)(d1)
  61. PhysicalLocation(ctx,addrptrptr,lengthptr)(d1,a0,a1)
  62. RemapSize(ctx)(a0)
  63. WithoutMMU(func)(a5)
  64. SetBusError(func,oldfuncptr)(a0,a1)
  65. GetMMUContextData(ctx,tagid)(a0,d0)
  66. SetMMUContextDataA(ctx,tags)(a0,a1)
  67. NewMapping()()
  68. CopyMapping(from,to,base,length,mask)(a0,a1,d0,d1,d2)
  69. DupMapping(list)(a0)
  70. CopyContextRegion(ctx,list,base,length,mask)(a0,a1,d0,d1,d2)
  71. SetPropertiesMapping(ctx,list,base,length,mask)(a0,a1,d0,d1,d2)
  72. SetMappingPropertiesA(list,flags,mask,lower,size,tags)(a0,d1,d2,a1,d0,a2)
  73. GetMappingPropertiesA(list,lower,tags)(a0,a1,a2)
  74. BuildIndirect(ctx,address,props)(a0,d0,d1)
  75. SetIndirect(destination,logical,descriptor)(a0,a1,d0)
  76. GetIndirect(ctx,adt,address)(a0,a1,d0)
  77. ##end
  78.