Page 1 of 1

irx in elf question

Posted: Fri Jul 16, 2004 11:33 pm
by clement
I have read loader.c and ps2menu.c.
I wanted to know how and when did the irx-address pointers (e.g. extern u8 *poweroff_irx;) and irx-size variables (e.g. extern int size_poweroff_irx;) have their values assigned as that the source only show the declaration and I don't think SifExecModuleBuffer function is supposed to be called with unassigned variables.

Posted: Sat Jul 17, 2004 1:02 am
by blackdroid
the key here is 'extern' and its just a reference, ps2menu's makefile bin2s libpoweroff.irx so I bet the defines is in that output.