cachefeatures.txt 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*
  2. * File: Documentation/blackfin/cachefeatures.txt
  3. * Based on:
  4. * Author:
  5. *
  6. * Created:
  7. * Description: This file contains the simple DMA Implementation for Blackfin
  8. *
  9. * Rev: $Id: cachefeatures.txt 2384 2006-11-01 04:12:43Z magicyang $
  10. *
  11. * Modified:
  12. * Copyright 2004-2006 Analog Devices Inc.
  13. *
  14. * Bugs: Enter bugs at http://blackfin.uclinux.org/
  15. *
  16. */
  17. - Instruction and Data cache initialization.
  18. icache_init();
  19. dcache_init();
  20. - Instruction and Data cache Invalidation Routines, when flushing the
  21. same is not required.
  22. _icache_invalidate();
  23. _dcache_invalidate();
  24. Also, for invalidating the entire instruction and data cache, the below
  25. routines are provided (another method for invalidation, refer page no 267 and 287 of
  26. ADSP-BF533 Hardware Reference manual)
  27. invalidate_entire_dcache();
  28. invalidate_entire_icache();
  29. -External Flushing of Instruction and data cache routines.
  30. flush_instruction_cache();
  31. flush_data_cache();
  32. - Internal Flushing of Instruction and Data Cache.
  33. icplb_flush();
  34. dcplb_flush();
  35. - Miscellaneous cache functions.
  36. flush_cache_all();
  37. flush_cache_mm();
  38. invalidate_dcache_range();
  39. flush_dcache_range();
  40. flush_dcache_page();
  41. flush_cache_range();
  42. flush_cache_page();
  43. invalidate_dcache_range();
  44. flush_page_to_ram();