mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-06 09:53:18 +00:00
In C90 was introduced function prototype, that allows argument types to be checked against parameter types, though it is not necessary specify names for the parameters. MISRA-C requires names for function prototype parameters, it claims that names can provide useful information regarding the function interface. MISRA-C rule 8.2 Signed-off-by: Flavio Ceolin <flavio.ceolin@intel.com>
25 lines
481 B
C
25 lines
481 B
C
/*
|
|
* Copyright (c) 2015 Wind River Systems, Inc.
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef ZEPHYR_ARCH_X86_INCLUDE_CACHE_PRIVATE_H_
|
|
#define ZEPHYR_ARCH_X86_INCLUDE_CACHE_PRIVATE_H_
|
|
|
|
#include <cache.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
extern int _is_clflush_available(void);
|
|
extern void _cache_flush_wbinvd(vaddr_t addr, size_t len);
|
|
extern size_t _cache_line_size_get(void);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* ZEPHYR_ARCH_X86_INCLUDE_CACHE_PRIVATE_H_ */
|