1 /* 2 * Copyright (c) 2014 Travis Geiselbrecht 3 * 4 * Use of this source code is governed by a MIT-style 5 * license that can be found in the LICENSE file or at 6 * https://opensource.org/licenses/MIT 7 */ 8 #pragma once 9 10 #include <sys/types.h> 11 #include <stdbool.h> 12 13 status_t pl310_set_enable(bool enable); 14 15 /* operations */ 16 void pl310_invalidate(void); 17 void pl310_flush_invalidate(void); 18 void pl310_sync_range(void); 19 void pl310_clean_range(addr_t start, size_t len); 20 void pl310_clean_invalidate_range(addr_t start, size_t len); 21 void pl310_invalidate_range(addr_t start, size_t len); 22 23 void pl310_pin_cache_range(addr_t start, size_t len); 24