x86_address_query x86_cpuid
API Reference Manual  /  4 Model-to-Model Interfaces  / 

x86_cache_flush

Description
The x86 cache flush interface is implemented by objects which need to do some special handling when the cpu flushes the cache.

The flush method is invoked when the cpu executes an invd or a wbinvd instruction. The writeback parameter is set for the later instruction.

SIM_INTERFACE(x86_cache_flush) {
        void (*flush)(conf_object_t *obj, conf_object_t *cpu, bool writeback);
};
#define X86_CACHE_FLUSH_INTERFACE "x86_cache_flush"

Execution Context
Cell Context for all methods.

x86_address_query x86_cpuid