popsdeco

kernel function difference

Nov 9th, 2011
90
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [PSAR SDK vs PSP SDK]
  2. - pspinit.h no difference
  3. - psploadexec_kernel.h sceKernelLoadExecVSHMs4 is available even if _PSP_FW_VERSION < 300...
  4. - pspmodulemgr.h
  5. ---PSAR SDK only---
  6. SceUID ModuleMgrForUser_FEF27DC1(const char *path, int flags, SceKernelLMOption *option);
  7. #define sceKernelLoadModuleDNAS ModuleMgrForUser_FEF27DC1
  8. int ModuleMgrForUser_8F2DF740(int exitcode, SceSize argsize, void *argp, int *status, SceKernelSMOption *option);
  9. #define sceKernelStopUnloadSelfModuleWithStatus ModuleMgrForUser_8F2DF740
  10. ---PSP SDK only---
  11. int sceKernelGetModuleId(void);
  12. - pspmodulemgr_kernel.h
  13. ---PSAR SDK only---
  14. SceUID sceKernelLoadModuleVSH(const char *path, int flags, SceKernelLMOption *option);
  15. SceUID ModuleMgrForKernel_A1A78C58(const char *path, int flags, SceKernelLMOption *option);
  16. SceUID ModuleMgrForKernel_896C15B6(const char *path, int flags, SceKernelLMOption *option);
  17. SceUID ModuleMgrForKernel_6723BBFF(const char *path, int flags, SceKernelLMOption *option);
  18. SceUID ModuleMgrForKernel_49C5B9E1(const char *path, int flags, SceKernelLMOption *option);
  19. SceUID ModuleMgrForKernel_ECC2EAA9(const char *path, int flags, SceKernelLMOption *option);
  20. SceUID ModuleMgrForKernel_F07E1A2F(const char *path, int flags, SceKernelLMOption *option);
  21. SceUID ModuleMgrForKernel_6DE9FF11(int apitype, const char *path, int flags, SceKernelLMOption *option);
  22. int ModuleMgrForKernel_2BE4807D(int exitcode, SceSize argsize, void *argp, int *status, SceKernelSMOption *option);
  23. #define sceKernelLoadModuleDisc ModuleMgrForKernel_A1A78C58
  24. #define sceKernelLoadModuleDiscUpdater ModuleMgrForKernel_896C15B6
  25. #define sceKernelLoadModuleMs1 ModuleMgrForKernel_6723BBFF
  26. #define sceKernelLoadModuleMs2 ModuleMgrForKernel_49C5B9E1
  27. #define sceKernelLoadModuleMs3 ModuleMgrForKernel_ECC2EAA9
  28. #define sceKernelLoadModuleMs4 ModuleMgrForKernel_F07E1A2F
  29. #define sceKernelLoadModuleWithApitype2 ModuleMgrForKernel_6DE9FF11
  30. #define sceKernelStopUnloadSelfModuleWithStatusKernel ModuleMgrForKernel_2BE4807D
  31. - pspsysmem.h
  32. ---PSAR SDK only---
  33. int sceKernelSetCompiledSdkVersion(int sdkversion);
  34. int sceKernelGetCompiledSdkVersion(void);
  35. int sceKernelSetCompilerVersion(int version);
  36. int sceKernelGetCompilerVersion(void);
  37. ---PSP SDK only---
  38. void sceKernelPrintf(const char *format, ...) __attribute__((format(printf, 1, 2)));
  39. - pspsysmem_kernel.h no difference
  40. - psputilsforkernel.h
  41. ---PSAR SDK only---
  42. int sceKernelLzrcDecode(u8 *dest, u32 destSize, const u8 *src, void *unknown);
  43.  
  44. [PSAR SDK vs PRO SDK]
  45. - kubridge.h
  46. ---PRO SDK only---
  47. int kuKernelFindModuleByName(char *modname, SceModule *mod);
  48. void kuKernelIcacheInvalidateAll(void);
  49. u32 kuKernelPeekw(void *addr);
  50. void kuKernelPokew(void *addr, u32 value);
  51. void *kuKernelMemcpy(void *dest, const void *src, size_t num);
  52. int kuKernelCall(void *func_addr, struct KernelCallArg *args);
  53. int kuKernelCallExtendStack(void *func_addr, struct KernelCallArg *args, int stack_size);
  54. void kuKernelGetUmdFile(char *umdfile, int size);
  55. - pspcrypt.h
  56. ---PRO SDK only---
  57. int sceUtilsBufferCopyByPollingWithRange(void *inbuf, SceSize insize, void *outbuf, int outsize, int cmd);
  58. - pspmodulemgr_kernel.h no difference
  59. - pspusbdevice.h no difference
  60. - systemctrl.h/systemctrl_se.h too many differences
  61. - vshctrl.h
  62. ---PRO SDK only---
  63. int vctrlVSHUpdateConfig(SEConfig *config);
  64. vshDetectDiscType(const char *path);
  65.  
  66. [M33 SDK vs PRO SDK]
  67. - systemctrl.h
  68. int sctrlKernelLoadExecVSHEf2(const char *file, struct SceKernelLoadExecVSHParam *param);
  69. int sctrlHENGetMinorVersion();
  70. void sctrlHENSetSpeed(int cpu, int bus);
  71. void sctrlHENPatchSyscall(void *addr, void *newaddr);
  72. int sctrlKernelQuerySystemCall(void *func_addr);
  73. int sctrlKernelBootFrom(void);
  74. int sctrlPatchModule(char *modname, u32 inst, u32 offset);
  75. u32 sctrlModuleTextAddr(char *modname);
  76. u32 sctrlGetInitTextAddr(void);
  77. void sctrlSetCustomStartModule(int (*func)(int modid, SceSize argsize, void *argp, int *modstatus, SceKernelSMOption *opt));
  78. int sctrlKernelSetNidResolver(char *libname, u32 enabled);
  79. u32 sctrlKernelRand(void);
  80. void sctrlHENPatchSyscall(u32 addr, void *newaddr);
  81. -systemctrl_se.h
  82. SEConfig's definition
  83. int sctrlSEGetDiscType(void);
  84. u32 sctrlSEGetBootConfFileIndex(void);
  85.  
  86.  
RAW Paste Data