| View previous topic :: View next topic |
| Author |
Message |
Coldbird

Joined: 08 Feb 2007 Posts: 155
|
Posted: Sun Mar 21, 2010 12:44 am Post subject: Latebinding - Not working as planned... |
|
|
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 |
|
 |
Davee
Joined: 22 Jun 2009 Posts: 59
|
Posted: Sun Mar 21, 2010 10:24 am Post subject: |
|
|
| | 0x8 to the attributes for late binding. You doing this? (attr = 0x4009). |
|
| Back to top |
|
 |
Coldbird

Joined: 08 Feb 2007 Posts: 155
|
Posted: Mon Mar 22, 2010 11:05 pm Post subject: |
|
|
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 |
|
 |
|