Skip to content
Browse files

arch/x86: eliminate cache_private.h

This file merely declares external functions referenced only
by ia32/cache.c, so the declarations are inlined instead.

Signed-off-by: Charles E. Youse <>
  • Loading branch information...
Charles E. Youse authored and nashif committed Jun 29, 2019
1 parent 589b86f commit 3ff2746857fa9ac6ffe17215f677296d1a323a42
Showing with 9 additions and 25 deletions.
  1. +9 −1 arch/x86/core/ia32/cache.c
  2. +0 −24 arch/x86/include/cache_private.h
@@ -15,8 +15,16 @@
#include <sys/util.h>
#include <toolchain.h>
#include <cache.h>
#include <cache_private.h>
#include <stdbool.h>
#include <cache.h>

* these functions are defined in cache_s.S

extern int z_is_clflush_available(void);
extern void z_cache_flush_wbinvd(vaddr_t addr, size_t len);
extern size_t z_cache_line_size_get(void);


This file was deleted.

0 comments on commit 3ff2746

Please sign in to comment.
You can’t perform that action at this time.