#include <nitro/mi.h>
typedef struct MICachePage
{
struct MICachePage *next;
u32 offset;
u8 *buffer;
}
MICachePage;
typedef struct MICache
{
/* private: */
u32 pagewidth;
MICachePage *valid;
MICachePage *invalid;
MICachePage *loading;
int valid_total;
int invalid_total;
int loading_total;
}
MICache;
This structure is for implementing a memory cache for the MIDevice
structure.
This feature is a utility that enables efficient read access to devices. The structure has the following features:
MI_InitCache, MI_ReadCache, MI_LoadCache, MI_IsCacheLoading
MIDevice
2007/05/16 Initial version.
CONFIDENTIAL