home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / memmanagement / a051_1 / !Partition / Notes < prev    next >
Text File  |  1991-07-23  |  1KB  |  21 lines

  1. A few notes about scatter lists.
  2.  
  3. Note that some of the stuff about filecore backgrounding in PRM is dubious/
  4. and or wrong. It requires the address of the end of the done scatter list to
  5. be placed in the info word at the beginning of the list. Bit 2 of the
  6. descriptor block is ignored - backgrounding will happen iff buffers is
  7. non-zero. It doesn't seem to pass errors up properly - just get "Filecore
  8. error". NB preserve flags bit.
  9.  
  10.  
  11. SCSIOp, contrary to the docs I have, does handle scatter lists if you set
  12. bit 26 of R0. It even updates them piecemeal, with the correct granularity,
  13. something which is necessary as filecore will extend them under our feet.
  14. Note that internally to it, everything works via scatter lists and in the
  15. background, so its no loss that we always use a scatter list. Other
  16. differences from the docs: R4 is always the length of the entire transfer -
  17. background calls return immediately. R4 is always returned as amount
  18. UNtransferred. R0-R4 are set as on return during the callback. I would
  19. preserve all regs in the callback.
  20.  
  21.