Ejemplo n.º 1
0
/***********************************************************************
* pause/continue rsx fifo
* 
* uint8_t pause    = pause fifo (1), continue fifo (0)
***********************************************************************/
int32_t rsx_fifo_pause(uint8_t pause)
{
	// lv2 sys_rsx_context_attribute()
	system_call_6(0x2A2, 0x55555555ULL, (uint64_t)(pause ? 2 : 3), 0, 0, 0, 0);
	
	return (int32_t)p1;
}
Ejemplo n.º 2
0
int ps3mapi_load_process_modules(process_id_t pid, char *path, void *arg, uint32_t arg_size)
{
	system_call_6(8, SYSCALL8_OPCODE_PS3MAPI, PS3MAPI_OPCODE_LOAD_PROC_MODULE, (uint64_t)pid, (uint64_t)((uint32_t)path), (uint64_t)((uint32_t)arg), (uint64_t)arg_size);
	return_to_user_prog(int);						
}
Ejemplo n.º 3
0
int ps3mapi_get_process_mem(process_id_t pid, uint64_t addr, char *buf, int size)
{
	system_call_6(8, SYSCALL8_OPCODE_PS3MAPI, PS3MAPI_OPCODE_GET_PROC_MEM, (uint64_t)pid, (uint64_t)addr, (uint64_t)((uint32_t)buf), (uint64_t)size);
	return_to_user_prog(int);						
}