2019-06-02 03:14:06 +08:00
|
|
|
/* SPDX-License-Identifier: BSD-3-Clause
|
2019-01-14 23:19:06 +08:00
|
|
|
*
|
2019-06-02 03:14:06 +08:00
|
|
|
* Copyright(c) 2019 Intel Corporation. All rights reserved.
|
2019-01-14 23:19:06 +08:00
|
|
|
*
|
|
|
|
* Author: Tomasz Lauda <tomasz.lauda@linux.intel.com>
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2022-09-03 02:15:43 +08:00
|
|
|
* \file xtos/include/rtos/cache.h
|
2019-01-14 23:19:06 +08:00
|
|
|
* \brief Cache header file
|
|
|
|
* \authors Tomasz Lauda <tomasz.lauda@linux.intel.com>
|
|
|
|
*/
|
|
|
|
|
2019-07-17 02:31:41 +08:00
|
|
|
#ifndef __SOF_LIB_CACHE_H__
|
|
|
|
#define __SOF_LIB_CACHE_H__
|
2019-01-14 23:19:06 +08:00
|
|
|
|
2019-07-17 02:31:41 +08:00
|
|
|
#include <arch/lib/cache.h>
|
2019-07-11 21:42:41 +08:00
|
|
|
|
2019-01-14 23:19:06 +08:00
|
|
|
/* writeback and invalidate data */
|
|
|
|
#define CACHE_WRITEBACK_INV 0
|
|
|
|
|
|
|
|
/* invalidate data */
|
|
|
|
#define CACHE_INVALIDATE 1
|
|
|
|
|
2019-07-17 02:31:41 +08:00
|
|
|
#endif /* __SOF_LIB_CACHE_H__ */
|