Skip to content

Commit

Permalink
orbis: add fw 9.00 jailbreak support
Browse files Browse the repository at this point in the history
  • Loading branch information
john-tornblom committed Dec 22, 2021
1 parent 8ee6dca commit 5a6fccc
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions kern_orbis.c
Expand Up @@ -269,6 +269,15 @@ kern_get_offsets(struct kern_offset *kern, unsigned int sw_ver) {
kern->copyout = (void *)(base + K755_COPYOUT);
break;

case 0x900:
base = &((unsigned char *)read_msr(0xC0000082))[-K900_XFAST_SYSCALL];
ptr = (unsigned char *)base;
kern->prison0 = (void **)&ptr[K900_PRISON_0];
kern->root_vnode = (void **)&ptr[K900_ROOTVNODE];
kern->copyin = (void *)(base + K900_COPYIN);
kern->copyout = (void *)(base + K900_COPYOUT);
break;

default:
return -1;
}
Expand Down

1 comment on commit 5a6fccc

@lineacero
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤Wonderfull❤

Please sign in to comment.