22#define MODULE_RESIDENT_END 0
23#define MODULE_NO_RESIDENT_END 1
24#define MODULE_REMOVABLE_END 2
53 unsigned short int version;
86 void *reboot_handlers;
87 void *intr_suspend_tbl;
120void FlushIcache(
void);
121void FlushDcache(
void);
127int LinkLibraryEntries(
void* addr,
int size);
129int UnLinkLibraryEntries(
void* addr,
int size);
135int * QueryBootMode(
int mode);
144int AddRebootNotifyHandler(BootupCallback_t func,
int priority,
int *stat);
146void SetCacheCtrl(u32 val);
148int ProbeExecutableObject(
void* image,
FileInfo_t *result);
149int LoadExecutableObject(
void* image,
FileInfo_t *fi);
152#define loadcore_IMPORTS \
153 loadcore_IMPORTS_start \
155 I_GetLibraryEntryTable \
160 I_RegisterLibraryEntries \
161 I_ReleaseLibraryEntries \
163 I_QueryLibraryEntryTable \
168#define loadcore_IMPORTS_start DECLARE_IMPORT_TABLE(loadcore, 1, 1)
169#define loadcore_IMPORTS_end END_IMPORT_TABLE
171#define I_GetLibraryEntryTable DECLARE_IMPORT(3, GetLibraryEntryTable)
172#define I_GetLoadcoreInternalData DECLARE_IMPORT(3, GetLoadcoreInternalData)
173#define I_FlushIcache DECLARE_IMPORT(4, FlushIcache)
174#define I_FlushDcache DECLARE_IMPORT(5, FlushDcache)
175#define I_RegisterLibraryEntries DECLARE_IMPORT(6, RegisterLibraryEntries)
176#define I_ReleaseLibraryEntries DECLARE_IMPORT(7, ReleaseLibraryEntries)
177#define I_LinkLibraryEntries DECLARE_IMPORT(8, LinkLibraryEntries)
178#define I_UnLinkLibraryEntries DECLARE_IMPORT(9, UnLinkLibraryEntries)
179#define I_RegisterNonAutoLinkEntries DECLARE_IMPORT(10, RegisterNonAutoLinkEntries)
180#define I_QueryLibraryEntryTable DECLARE_IMPORT(11, QueryLibraryEntryTable)
181#define I_QueryBootMode DECLARE_IMPORT(12, QueryBootMode)
182#define I_RegisterBootMode DECLARE_IMPORT(13, RegisterBootMode)
183#define I_LockLibraryClient DECLARE_IMPORT(14, LockLibraryClient)
184#define I_UnLockLibraryClient DECLARE_IMPORT(15, UnLockLibraryClient)
185#define I_RegisterModule DECLARE_IMPORT(16, RegisterModule)
186#define I_ReleaseModule DECLARE_IMPORT(17, ReleaseModule)
187#define I_AddRebootNotifyHandler DECLARE_IMPORT(20, AddRebootNotifyHandler)
188#define I_SetCacheCtrl DECLARE_IMPORT(21, SetCacheCtrl)
189#define I_ProbeExecutableObject DECLARE_IMPORT(22, ProbeExecutableObject)
190#define I_LoadExecutableObject DECLARE_IMPORT(23, LoadExecutableObject)
191#define I_SearchModuleCBByAddr DECLARE_IMPORT(24, SearchModuleCBByAddr)
194#define LinkImports(...) LinkLibraryEntries(__VA_ARGS__)
195#define UnlinkImports(...) UnLinkLibraryEntries(__VA_ARGS__)
196#define SetNonAutoLinkFlag(...) LockLibraryClient(__VA_ARGS__)
197#define UnsetNonAutoLinkFlag(...) UnLockLibraryClient(__VA_ARGS__)
198#define LinkModule(...) RegisterModule(__VA_ARGS__)
199#define UnlinkModule(...) ReleaseModule(__VA_ARGS__)
200#define RegisterPostBootCallback(...) AddRebootNotifyHandler(__VA_ARGS__)
201#define ReadModuleHeader(...) ProbeExecutableObject(__VA_ARGS__)
202#define LoadModuleImage(...) LoadExecutableObject(__VA_ARGS__)
203#define FindImageInfo(...) SearchModuleCBByAddr(__VA_ARGS__)
204#define I_LinkImports I_LinkLibraryEntries
205#define I_UnlinkImports I_UnLinkLibraryEntries
206#define I_SetNonAutoLinkFlag I_LockLibraryClient
207#define I_UnsetNonAutoLinkFlag I_UnLockLibraryClient
208#define I_LinkModule I_RegisterModule
209#define I_UnlinkModule I_ReleaseModule
210#define I_RegisterPostBootCallback I_AddRebootNotifyHandler
211#define I_ReadModuleHeader I_ProbeExecutableObject
212#define I_LoadModuleImage I_LoadExecutableObject
213#define I_FindImageInfo I_SearchModuleCBByAddr
ModuleInfo_t * image_info
struct _ModuleInfo ModuleInfo_t
struct tag_LC_internals lc_internals_t
iop_library_table_t * GetLibraryEntryTable(void) __attribute__((deprecated))