xref: /qemu/include/qemu/cacheinfo.h (revision 79854b95)
1 /*
2  * QEMU host cacheinfo information
3  *
4  * This work is licensed under the terms of the GNU GPL, version 2 or later.
5  * See the COPYING file in the top-level directory.
6  */
7 #ifndef QEMU_CACHEINFO_H
8 #define QEMU_CACHEINFO_H
9 
10 /*
11  * These variables represent our best guess at the host icache and
12  * dcache sizes, expressed both as the size in bytes and as the
13  * base-2 log of the size in bytes. They are initialized at startup
14  * (via an attribute 'constructor' function).
15  */
16 extern int qemu_icache_linesize;
17 extern int qemu_icache_linesize_log;
18 extern int qemu_dcache_linesize;
19 extern int qemu_dcache_linesize_log;
20 
21 #endif
22