cache.h 510 B

123456789101112131415161718192021
  1. /* SPDX-License-Identifier: GPL-2.0 */
  2. /*
  3. * Cache operations
  4. *
  5. * Copyright (C) 2007-2009 Michal Simek <[email protected]>
  6. * Copyright (C) 2007-2009 PetaLogix
  7. * Copyright (C) 2003 John Williams <[email protected]>
  8. */
  9. #ifndef _ASM_MICROBLAZE_CACHE_H
  10. #define _ASM_MICROBLAZE_CACHE_H
  11. #include <asm/registers.h>
  12. #define L1_CACHE_SHIFT 5
  13. /* word-granular cache in microblaze */
  14. #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
  15. #define SMP_CACHE_BYTES L1_CACHE_BYTES
  16. #endif /* _ASM_MICROBLAZE_CACHE_H */