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