1/*
2 * Copyright 2021, Haiku, Inc.
3 * Distributed under the terms of the MIT License.
4 */
5
6#include <image.h>
7
8
9extern "C" void
10__riscv_flush_icache(void *start, void *end, unsigned long int flags)
11{
12	clear_caches(start, (uint8*)end - (uint8*)start, B_INVALIDATE_ICACHE);
13}
14