cache.h 745 B

1234567891011121314151617181920212223
  1. /*
  2. * Copyright (C) 2017 Chen Liqin <liqin.chen@sunplusct.com>
  3. * Copyright (C) 2012 Regents of the University of California
  4. *
  5. * This program is free software; you can redistribute it and/or
  6. * modify it under the terms of the GNU General Public License
  7. * as published by the Free Software Foundation, version 2.
  8. *
  9. * This program is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. * GNU General Public License for more details.
  13. */
  14. #ifndef _ASM_RISCV_CACHE_H
  15. #define _ASM_RISCV_CACHE_H
  16. #define L1_CACHE_SHIFT 6
  17. #define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
  18. #endif /* _ASM_RISCV_CACHE_H */