Nids resolver under 3.80+

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
moonlight
Posts: 567
Joined: Wed Oct 26, 2005 7:46 pm

Nids resolver under 3.80+

Post by moonlight »

Well, at request, I write this message here so kernel module programmers can see which kernel libraries are resolved currently in M33 firmware. You can request here too for a library to be included in next version.

Library: SysMemoryForKernel
Status: Complete.
Remarks: sceKernelSetSdkCompiledVersion and sceKernelSet37XSdkCompiledVersion were deleted from kernel usage by Sony.

Library: KDebugForKernel
Status: Complete.

Library: LoadCoreForKernel
Status: Complete.

Library: ExceptionManagerForKernel
Status: Complete.

Library: InterruptManagerForKernel
Status: Complete.

Library: IoFileMgrForKernel
Status: Complete.

Library: ModuleMgrForKernel
Status: Complete.

Library: LoadExecForKernel
Status: Complete

Library: sceDmacplus_driver
Status: Complete

Library: sceGpio_driver
Status: Complete

Library: sceSysreg_driver
Status: Complete
Remarks: The 3.71 nids of the following functions are also resolved:
sceSysregMeResetEnable, sceSysregMeResetDisable, sceSysregMeBusClockEnable and sceSysregMeBusClockDisable.

Library: sceSyscon_driver
Status: Complete

Library: sceDve_driver
Status: Complete
Remarks: the nids are remapped to the 3.30-3.73 ones, which are the ones used by dvemgr.prx.

Library: sceGe_driver
Status: Complete

Library: sceDisplay_driver
Status: Complete.
Remarks: The 3.71 nids of the following functions are also resolved:
sceDisplayGetBrightness, sceDisplayDisable, sceDisplayGetFramePerSec, sceDisplaySetBrightness,
sceDisplayGetVcount, sceDisplayGetFrameBuf, sceDisplayWaitVblankStart, sceDisplaySetFrameBuf,
sceDisplayGetFrameBufferInternal, sceDisplayEnable, sceDisplaySetFrameBufferInternal.

Library: sceCtrl_driver
Status: Complete.
Remarks: The 3.71 nids of the following functions are also resolved:
sceCtrlSetSamplingMode, sceCtrlSetSamplingCycle, sceCtrlPeekBufferPositive, sceCtrlReadBufferPositive,
sceCtrlReadBufferNegative,

Library: sceHprm_driver
Status: Complete
Remarks: To compatibilize dvemgr.prx with 3.80 M33, the 3.71 nid of sceHprmGetCableType is also resolved.

Library: scePower_driver
Status: Almost complete. 2 or 3 not important funcs may be missing.
Remarks: In 3.71 Sony deleted the function scePowerSetClockFrequency from kernel usage.
M33 core will transparently resolve this nid to the correct function from the user library.

Library: sceUmd
Status: Complete.
Remarks: The 3.71 nid of sceUmdCheckMedium is also resolved.

Library: sceImpose_driver
Status: Complete.

Library: sceRtc_driver
Status: Complete.

Library: sceReg_driver
Status: Complete.

Library: memlmd
Status: Partial (0x323366CA, 0x1570BAB4, 0x7CF1CD3E)

Library: sceMesgLed_driver:
Status: Partial (0xDFF0F308)

Library: sceDdr_driver
Status: Complete

Library: sceClokgen_driver
Status: Partial (sceClockgenAudioClkSetFreq)

---------

Some considerations:

The nids resolver is also applied when using sctrlHENFindFunction.
The nids resolver doesn't have any consequence if you want to use new nids, as it just searches for old nids and convert them in new nids.
The nids resolver is applied to all kernel prx's in all operative modes, except to modules that export the variable "module_sdk_version" with a value greater or equal than 0x03080000. This is done by all firmware modules, this exception was done to avoid innecesary waste time resolving the own firmware modules.
hibbyware
Posts: 78
Joined: Wed Mar 28, 2007 10:29 am

Post by hibbyware »

Thanks moonlight,

This list should come in handy,
angelo
Posts: 168
Joined: Wed Aug 29, 2007 9:34 pm

Thanks

Post by angelo »

Thank you moonlight.

This will be handy for PRX devs.
Post Reply