forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

irx in elf question

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
clement



Joined: 13 Jul 2004
Posts: 9

PostPosted: Fri Jul 16, 2004 11:33 pm    Post subject: irx in elf question Reply with quote

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.
Back to top
View user's profile Send private message
blackdroid



Joined: 17 Jan 2004
Posts: 564
Location: Sweden

PostPosted: Sat Jul 17, 2004 1:02 am    Post subject: Reply with quote

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.
_________________
Kung VU
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group