| View previous topic :: View next topic |
| Author |
Message |
jockyw2001
Joined: 29 Sep 2005 Posts: 339
|
Posted: Wed Feb 21, 2007 11:05 am Post subject: How to find (offending) kernel mode function references? |
|
|
I have built a PRX which should be pure user mode and to be used on 3.x-oe firmwares. The problem is that 2 kernel mode modules are linked:
| Code: | Import 21, Name KDebugForKernel, Functions 1, Variables 0, flags 00010000
Functions:
0x84F370BC [0x00278FAC] - KDebugForKernel_84F370BC (Kprintf)
Import 22, Name LoadCoreForKernel, Functions 2, Variables 0, flags 00010000
Functions:
0xD8779AC6 [0x00278FB4] - LoadCoreForKernel_D8779AC6 (sceKernelIcacheClearAll)
0xCCE4A157 [0x00278FBC] - LoadCoreForKernel_CCE4A157 (sceKernelFindModuleByUID) |
I have searched my entire sourcetree (both *.c and objects *.o) for these 3 functions, but can't find any reference. I think these problems started after a pspsdk update, but I'm not sure. I'm pretty sure there is a library now containing references to these functions, but I have no clue which one.
Can anyone help please, now that I am so close to a release ? |
|
| Back to top |
|
 |
blondin

Joined: 07 Mar 2006 Posts: 18 Location: France (Grenoble)
|
Posted: Wed Feb 21, 2007 11:07 pm Post subject: |
|
|
| ... |
|
| Back to top |
|
 |
adrahil
Joined: 16 Mar 2006 Posts: 277
|
Posted: Thu Feb 22, 2007 2:34 am Post subject: |
|
|
| These functions are provided by the PSP kernel, like the windows API... |
|
| Back to top |
|
 |
jockyw2001
Joined: 29 Sep 2005 Posts: 339
|
Posted: Thu Feb 22, 2007 6:14 am Post subject: |
|
|
| adrahil wrote: | | These functions are provided by the PSP kernel, like the windows API... |
I know that, but in none of my source files I can't find references. I can't explain these imports. How can I find out what needs them?
EDIT: I found the culprit. I used a wrong version of avc sourcefile.Entirely my fault of course. |
|
| Back to top |
|
 |
|