cache_ops.h 1012 B

1234567891011121314151617181920212223242526
  1. /*************************************************************************/ /*!
  2. @File
  3. @Title Services cache management header
  4. @Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved
  5. @Description Defines for cache management which are visible internally
  6. and externally
  7. @License Strictly Confidential.
  8. */ /**************************************************************************/
  9. #ifndef CACHE_OPS_H
  10. #define CACHE_OPS_H
  11. #include "img_types.h"
  12. /*!
  13. * @Defgroup CPUCacheAPIs
  14. * @{
  15. */
  16. #define CACHE_BATCH_MAX (8U)
  17. #define MAX_DMA_OPS (34)
  18. typedef IMG_UINT32 PVRSRV_CACHE_OP; /*!< Type represents cache maintenance operation */
  19. #define PVRSRV_CACHE_OP_NONE 0x0U /*!< No operation */
  20. #define PVRSRV_CACHE_OP_CLEAN 0x1U /*!< Flush w/o invalidate */
  21. #define PVRSRV_CACHE_OP_INVALIDATE 0x2U /*!< Invalidate w/o flush */
  22. #define PVRSRV_CACHE_OP_FLUSH 0x3U /*!< Flush w/ invalidate */
  23. /*! @} End of Defgroup CPUCacheAPIs */
  24. #endif /* CACHE_OPS_H */