cache.h 597 B

1234567891011121314151617
  1. /*
  2. * SPDX-License-Identifier: BSD-2-Clause
  3. *
  4. * Copyright (c) 2020 Andes Technology Corporation
  5. *
  6. * Authors:
  7. * Nylon Chen <nylon7@andestech.com>
  8. */
  9. uintptr_t mcall_set_mcache_ctl(unsigned long input);
  10. uintptr_t mcall_set_mmisc_ctl(unsigned long input);
  11. uintptr_t mcall_icache_op(unsigned int enable);
  12. uintptr_t mcall_dcache_op(unsigned int enable);
  13. uintptr_t mcall_l1_cache_i_prefetch_op(unsigned long enable);
  14. uintptr_t mcall_l1_cache_d_prefetch_op(unsigned long enable);
  15. uintptr_t mcall_non_blocking_load_store(unsigned long enable);
  16. uintptr_t mcall_write_around(unsigned long enable);