SKBL: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
(Created page with "= Common = These functions are different offsets than SceTzs modules. The `Secure kernel boot loader` function. == SceSysmem == === sceGUIDReferObjectWithClass === {| cla...")
 
No edit summary
Line 1: Line 1:
= Common =
= Common =


These functions are different offsets than SceTzs modules.
These functions are at different offsets than those of SceTzs modules.


The `Secure kernel boot loader` function.
Offsets are relative to SKBL text segment base address. See [[Physical_Memory#Secure_DRAM|Secure DRAM]].


== SceSysmem ==
== SceSysmem ==
Line 13: Line 13:
! Version !! offset !! mode
! Version !! offset !! mode
|-
|-
| 3.60 || 0x40029DF8 || thumb
| 3.60 || 0x9DF8 || thumb
|}
|}


Line 24: Line 24:
! Version !! offset !! mode
! Version !! offset !! mode
|-
|-
| 3.60 || 0x40029E60 || thumb
| 3.60 || 0x9E60 || thumb
|}
|}


Line 35: Line 35:
! Version !! offset !! mode
! Version !! offset !! mode
|-
|-
| 3.60 || 0x40035A30 || thumb
| 3.60 || 0x15A30 || thumb
|}
|}


Line 48: Line 48:
! Version !! offset !! mode
! Version !! offset !! mode
|-
|-
| 3.60 || 0x40022350 || thumb
| 3.60 || 0x2350 || thumb
|}
|}


Line 59: Line 59:
! Version !! offset !! mode
! Version !! offset !! mode
|-
|-
| 3.60 || 0x40022744 || thumb
| 3.60 || 0x2744 || thumb
|}
|}


Line 70: Line 70:
! Version !! offset !! mode
! Version !! offset !! mode
|-
|-
| 3.60 || 0x40022494 || thumb
| 3.60 || 0x2494 || thumb
|}
|}


Line 81: Line 81:
! Version !! offset !! mode
! Version !! offset !! mode
|-
|-
| 3.60 || 0x40022710 || thumb
| 3.60 || 0x2710 || thumb
|}
|}


Line 92: Line 92:
! Version !! offset !! mode
! Version !! offset !! mode
|-
|-
| 3.60 || 0x400225BC || thumb
| 3.60 || 0x25BC || thumb
|}
|}


Line 103: Line 103:
! Version !! offset !! mode
! Version !! offset !! mode
|-
|-
| 3.60 || 0x400220B0 || thumb
| 3.60 || 0x20B0 || thumb
|}
|}



Revision as of 17:22, 12 March 2021

Common

These functions are at different offsets than those of SceTzs modules.

Offsets are relative to SKBL text segment base address. See Secure DRAM.

SceSysmem

sceGUIDReferObjectWithClass

Version offset mode
3.60 0x9DF8 thumb
int sceGUIDReferObjectWithClass(SceUID uid, SceClass *pClass, SceKernelObject **ppEntry);

sceKernelUidRelease

Version offset mode
3.60 0x9E60 thumb
int sceKernelUidRelease(SceUID uid);

memset

Version offset mode
3.60 0x15A30 thumb
void *memset(void *dst, int ch, int len);

SceKernelModulemgr

get_module_object

Version offset mode
3.60 0x2350 thumb
SceModuleObject *get_module_object(SceUID modid);

get_module_bootstart

Version offset mode
3.60 0x2744 thumb
int get_module_bootstart(SceUID modid, void *entry);

sceKernelLoadModuleWithBuffer

Version offset mode
3.60 0x2494 thumb
SceUID sceKernelLoadModuleWithBuffer(const void *pModule, SceSize size);

sceKernelStartModule

Version offset mode
3.60 0x2710 thumb
int sceKernelStartModule(SceUID modid, SceSize args, void *argp, int flags, SceKernelLMOption *option, int *status);

sceKernelStartModuleForPid

Version offset mode
3.60 0x25BC thumb
int sceKernelStartModuleForPid(SceUID pid, SceUID modid, SceSize args, void *argp, int flags, SceKernelLMOption *option, int *status);

sceKernelLoadStartModule

Version offset mode
3.60 0x20B0 thumb
typedef struct SceTzsModule {
	const void *pModule;
	const void *pModuleEnd;
} SceTzsModule;

int sceKernelLoadStartModule(SceTzsModule *pModule, void *argp);