Permalink
Switch branches/tags
Nothing to show
Find file
66af857 Nov 28, 2010
30 lines (23 sloc) 606 Bytes
/*
* dev_syscalls.S -- PS3 Jailbreak payload - Development system calls
*
* Copyright (C) Youness Alaoui (KaKaRoTo)
* Copyright (C) Aaron Lindsay (Aaron')
* Copyright (C) (subdub)
*
* This software is distributed under the terms of the GNU General Public
* License ("GPL") version 3, as published by the Free Software Foundation.
*/
#ifndef __DEV_SYSCALLS_H_S__
#define __DEV_SYSCALLS_H_S__
syscall_peek_desc:
QUAD_MEM2(syscall_peek)
syscall_poke_desc:
QUAD_MEM2(syscall_poke)
syscall_peek:
ld %r3, 0x00(%r3)
blr
syscall_poke:
std %r4, 0x00(%r3)
blr
#endif /* __DEV_SYSCALLS_H_S__ */