home *** CD-ROM | disk | FTP | other *** search
/ Amiga Tools 5 / Amiga Tools 5.iso / tools / developer-tools / aros / source / exec / internal / m68k / cachecleare.s < prev    next >
Encoding:
Text File  |  1996-07-16  |  864 b   |  47 lines

  1. |*****************************************************************************
  2. |
  3. |   NAME
  4. |
  5. |    __AROS_LH3(void, CacheClearE,
  6. |
  7. |   SYNOPSIS
  8. |    __AROS_LA(APTR,  address, A0),
  9. |    __AROS_LA(ULONG, length,  D0),
  10. |    __AROS_LA(ULONG, caches,  D1),
  11. |
  12. |   LOCATION
  13. |    struct ExecBase *, SysBase, 107, Exec)
  14. |
  15. |   FUNCTION
  16. |    Flushes the contents of the CPU chaches for a given area of memory
  17. |    and a given cache.
  18. |
  19. |   INPUTS
  20. |    address - First byte in memory
  21. |    length    - number of bytes (~0 means all addresses).
  22. |    caches    - CPU caches affected
  23. |            CACRF_ClearI - Instruction cache
  24. |            CACRF_ClearD - Data cache
  25. |
  26. |   RESULT
  27. |
  28. |   NOTES
  29. |
  30. |   EXAMPLE
  31. |
  32. |   BUGS
  33. |
  34. |   SEE ALSO
  35. |
  36. |   INTERNALS
  37. |
  38. |   HISTORY
  39. |
  40. |******************************************************************************
  41.  
  42.     | Simple 68000s have no chaches
  43.     .globl    _Exec_CacheClearE
  44. _Exec_CacheClearE:
  45.     rts
  46.  
  47.