]> git.sur5r.net Git - freertos/blob - FreeRTOS/Demo/RISC-V_RV32_SiFive_HiFive1_GCC/freedom-metal/src/cache.c
Base project to replace existing Freedom Studio project using latest Freedom Studio...
[freertos] / FreeRTOS / Demo / RISC-V_RV32_SiFive_HiFive1_GCC / freedom-metal / src / cache.c
1 /* Copyright 2018 SiFive, Inc */
2 /* SPDX-License-Identifier: Apache-2.0 */
3
4 #include <metal/cache.h>
5
6 extern inline void metal_cache_init(struct metal_cache *cache, int ways);
7 extern inline int metal_cache_get_enabled_ways(struct metal_cache *cache);
8 extern inline int metal_cache_set_enabled_ways(struct metal_cache *cache, int ways);