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 

Latebinding - Not working as planned...

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



Joined: 08 Feb 2007
Posts: 155

PostPosted: Sun Mar 21, 2010 12:44 am    Post subject: Latebinding - Not working as planned... Reply with quote

Here's my next problem... it's a followup to the Debug Code Kernel / User Mode.

I figured out it wasn't a problem with the Debug Code, but the code not being called at all.

I figured out what was causing this, namely latebinding imports.

What I'm wondering about however is that it's partially working...

My code patches the functions sceUtilityLoadModule / UnloadModule / LoadNetModule / UnloadNetModule to ignore network module loadings and unloadings...

Instead I want to load my very own adhoc libraries to replace adhoc entirely.

Thus my kernel module does the following loading operations in this order... and the loadings are successful...

flash0:/kd/ifhandle.prx
flash0:/kd/pspnet.prx
pspnet_adhoc.prx (my dummy)
all the other pspnet_adhoc_module_replicas.... (dummies too)

Thing is... the late binding imports related to adhoc functions get properly filled by my dummy modules... but the pspnet.prx imports dont?!

You guys have a idea why?
_________________
Been gone for some time. Now I'm back. Someone mind getting me up-2-date?
Back to top
View user's profile Send private message MSN Messenger
Davee



Joined: 22 Jun 2009
Posts: 59

PostPosted: Sun Mar 21, 2010 10:24 am    Post subject: Reply with quote

| 0x8 to the attributes for late binding. You doing this? (attr = 0x4009).
Back to top
View user's profile Send private message
Coldbird



Joined: 08 Feb 2007
Posts: 155

PostPosted: Mon Mar 22, 2010 11:05 pm    Post subject: Reply with quote

I did... I resolved the matter by delaying the startup of the problematic modules for half a second using sceKernelDelayThread... why this solves the problems I have no idea...

Anyway, see this case as solved.
_________________
Been gone for some time. Now I'm back. Someone mind getting me up-2-date?
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP 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