Advertisement
BaSs_HaXoR

Ps3 System Calls (LVL2)

Nov 13th, 2014
1,376
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 72.82 KB | None | 0 0
  1. //Credits: PS3 DevWiki
  2. Syscalls
  3.  
  4. [edit] LV2 Syscalls
  5. Dec Hex fw_type needed_flags Name Notes
  6. #sys_process Syscalls (1-31)
  7. 1 0x001 CEXDEXDECR sys_process_getpid sys_pid_t sys_process_getpid(void);
  8. 2 0x002 CEXDEXDECR root sys_process_wait_for_child 3 params: sys_pid_t, uint32_t *status, unk=0
  9. 3 0x003 CEXDEXDECR sys_process_exit int sys_process_exit(int)
  10. 4 0x004 CEXDEXDECR dbg sys_process_get_status 1 param
  11. 5 0x005 CEXDEXDECR dbg sys_process_detach_child 1 param
  12. 12 0x00B CEXDEXDECR sys_process_get_number_of_object int sys_process_get_number_of_object(uint32_t object_type, uint32_t* count);
  13. 13 0x00C CEXDEXDECR sys_process_get_id int sys_process_get_id(uint32_t object, uint32_t * buff, size_t size, size_t * set_size);
  14. 14 0x00D CEXDEXDECR sys_process_is_spu_lock_line_reservation_address int sys_process_is_spu_lock_line_reservation_address(sys_addr_t addr, uint64_t flags);
  15. 18 0x012 CEXDEXDECR sys_process_getppid sys_pid_t sys_process_getppid(void);
  16. 19 0x013 CEXDEXDECR sys_process_kill int sys_process_kill(sys_pid_t pid);
  17. 21 0x015 CEXDEXDECR dbg _sys_process_spawn 7 param
  18. 22 0x016 CEXDEXDECR sys_process_exit void sys_process_exit(int error_code,0,0)
  19. 23 0x017 CEXDEXDECR dbg sys_process_wait_for_child2 6 params
  20. 24 0x018 CEXDEXDECR dbg 8 params, spawns a self
  21. 25 0x019 CEXDEXDECR sys_process_get_sdk_version 2 params :sys_pid_t pid, uint8_t outbuf[4]
  22. 26 0x01A CEXDEXDECR _sys_process_exit as well 4 params (calls sys_process_exit)
  23. 27 0x01B CEXDEXDECR dbg 8 params, spawns a self
  24. 28 0x01C CEXDEXDECR root _sys_process_get_number_of_object as well kinda int sys_process_get_number_of_object(uint32_t object)
  25. 29 0x01D CEXDEXDECR root sys_process_get_id as well same as syscall13 just with root flag check, same input etc.
  26. 30 0x01E CEXDEXDECR _sys_process_get_paramsfo int _sys_process_get_paramsfo(uint8_t buffer[0x40]);
  27. returns infos from sfo.sample:
  28. 00000000 01 42 4C 45 53 38 30 36 30 38 00 00 00 00 00 00 �BLES80608......
  29. 31 0x01F CEXDEXDECR sys_process_get_ppu_guid sys_addr_t sys_process_get_ppu_guid(void);
  30. #sys_ppu_thread Syscalls (40-58)
  31. 41 0x029 CEXDEXDECR sys_ppu_thread_exit int sys_ppu_thread_exit(int errorcode)
  32. 43 0x02B CEXDEXDECR sys_ppu_thread_yield void sys_ppu_thread_yield(void);
  33. 44 0x02C CEXDEXDECR sys_ppu_thread_join int sys_ppu_thread_join(sys_ppu_thread_t thread_id, uint64_t * vptr);
  34. 45 0x02D CEXDEXDECR sys_ppu_thread_detach int sys_ppu_thread_detach(sys_ppu_thread_t thread_id);
  35. 46 0x02E CEXDEXDECR sys_ppu_thread_get_join_state void sys_ppu_thread_get_join_state(int *isjoinable);
  36. 47 0x02F CEXDEXDECR dbg sys_ppu_thread_set_priority int sys_ppu_thread_set_priority(sys_ppu_thread_t thread_id, int prio);
  37. Flags are checked when 3071 > prio < 3199
  38. 48 0x030 CEXDEXDECR sys_ppu_thread_get_priority int sys_ppu_thread_get_priority(sys_ppu_thread_t thread_id, int *prio);
  39. 49 0x031 CEXDEXDECR sys_ppu_thread_get_stack_information int sys_ppu_thread_get_stack_information(sys_ppu_thread_stack_t * info);
  40. 50 0x032 CEXDEXDECR root sys_ppu_thread_stop int sys_ppu_thread_stop(sys_ppu_thread_t thread_id);
  41. 51 0x033 CEXDEXDECR root sys_ppu_thread_restart int sys_ppu_thread_restart(void);
  42. 52 0x034 CEXDEXDECR dbg sys_ppu_thread_create int sys_ppu_thread_create(sys_ppu_thread_t *thread_id, & void (*entry)(uint64_t), uint64_t arg, 0, int prio, size_t stacksize, uint64_t flags, const char *threadname);
  43. 53 0x035 CEXDEXDECR sys_ppu_thread_start int sys_ppu_thread_start(sys_ppu_thread_t thread_id);
  44. 54 0x036 CEXDEXDECR root syscall(0x036, 0x109/0x111, out: uint8[4]), pu_thread get (kernel) allocation information
  45. 55 0x037 CEXDEXDECR root syscall(0x037, 0x111, 0> int <0x100), pu_thread set (kernel) allocation? information
  46. 56 0x038 CEXDEXDECR sys_ppu_thread_rename int sys_ppu_thread_rename(sys_ppu_thread_t thread_id, const char *name);
  47. 57 0x039 CEXDEXDECR sys_ppu_thread_recover_page_fault int sys_ppu_thread_recover_page_fault(sys_ppu_thread_t thread_id);
  48. 58 0x03A CEXDEXDECR sys_ppu_thread_get_page_fault_context int sys_ppu_thread_get_page_fault_context(sys_ppu_thread_t thread_id, sys_ppu_thread_icontext_t * ctxp);
  49. #sys_trace Syscalls (67-69+77)
  50. 60 0x03C DEX DECR sys_trace_create
  51. 61 0x03D DEX DECR sys_trace_start
  52. 62 0x03E DEX DECR sys_trace_stop
  53. 63 0x03F DEX DECR sys_trace_update_top_index
  54. 64 0x040 DEX DECR sys_trace_destroy
  55. 65 0x041 DEX DECR sys_trace_drain
  56. 66 0x042 DEX DECR sys_trace_attach_process
  57. 67 0x043 DEX DECR sys_trace_allocate_buffer
  58. 68 0x044 DEX DECR sys_trace_free_buffer
  59. 69 0x045 DEX DECR sys_trace_create2
  60. #sys_timer Syscalls (70-76+141+142)
  61. 70 0x046 CEXDEXDECR sys_timer_create int sys_timer_create(sys_timer_t * timer_id);
  62. 71 0x047 CEXDEXDECR sys_timer_destroy int sys_timer_destroy(sys_timer_t timer_id);
  63. 72 0x048 CEXDEXDECR sys_timer_get_information int sys_timer_get_information(sys_timer_t timer_id, sys_timer_information_t * info);
  64. 73 0x049 CEXDEXDECR sys_timer_start int sys_timer_start(sys_timer_t timer_id, system_time_t base_time, usecond_t period);
  65. 74 0x04A CEXDEXDECR sys_timer_stop int sys_timer_stop(sys_timer_t timer_id);
  66. 75 0x04B CEXDEXDECR sys_timer_connect_event_queue int sys_timer_connect_event_queue(sys_timer_t timer_id, sys_event_queue_t queue_id, uint64_t name, uint64_t data1, uint64_t data2);
  67. 76 0x04C CEXDEXDECR sys_timer_disconnect_event_queue int sys_timer_disconnect_event_queue(sys_timer_t timer_id);
  68. #sys_trace Syscalls (67-69+77)
  69. 77 0x04D DEX DECR sys_trace_create2_in_cbepm
  70. 78 0x04E DECR sys_trace_
  71. #sys_interrupt Syscalls (80+81+84+88+89)
  72. 80 0x050 CEXDEXDECR sys_interrupt_tag_create int sys_interrupt_tag_create(sys_interrupt_tag_t * intrtag, sys_irqoutlet_id_t irq, sys_hw_thread_t hwthread);
  73. 81 0x051 CEXDEXDECR sys_interrupt_tag_destroy int sys_interrupt_tag_destroy(sys_interrupt_tag_t intrtag);
  74. #sys_event Syscalls (82+83+85-87+118+128-140)
  75. 82 0x052 CEXDEXDECR sys_event_flag_create int sys_event_flag_create(sys_event_flag_t * id, sys_event_flag_attribute_t * attr, uint64_t init);
  76. 83 0x053 CEXDEXDECR sys_event_flag_destroy int sys_event_flag_destroy(sys_event_flag_t id);
  77. #sys_interrupt Syscalls (80+81+84+88+89)
  78. 84 0x054 CEXDEXDECR sys_interrupt_thread_establish int sys_interrupt_thread_establish(sys_interrupt_thread_handle_t * ih, sys_interrupt_tag_t intrtag, uint64_t intrthread, uint64_t arg1, uint64_t arg2);
  79. #sys_event Syscalls (82+83+85-87+118+128-140)
  80. 85 0x055 CEXDEXDECR sys_event_flag_wait int sys_event_flag_wait(sys_event_flag_t id, uint64_t bitptn, uint32_t mode, uint64_t * result, usecond_t timeout);
  81. 86 0x056 CEXDEXDECR sys_event_flag_trywait int sys_event_flag_trywait(sys_event_flag_t id, uint64_t bitptn, uint32_t mode, uint64_t * result);
  82. 87 0x057 CEXDEXDECR sys_event_flag_set int sys_event_flag_set(sys_event_flag_t id, uint64_t bitptn);
  83. #sys_interrupt Syscalls (80+81+84+88+89)
  84. 88 0x058 CEXDEXDECR sys_interrupt_thread_eoi void sys_interrupt_thread_eoi(void);
  85. 89 0x059 CEXDEXDECR sys_interrupt_thread_disestablish int sys_interrupt_thread_disestablish(sys_interrupt_thread_handle_t ih);
  86. #sys_semaphore Syscalls (90-94+114)
  87. 90 0x05A CEXDEXDECR sys_semaphore_create int sys_semaphore_create(sys_semaphore_t * sem, sys_semaphore_attribute_t * attr, sys_semaphore_value_t initial_val, sys_semaphore_value_t max_val);
  88. 91 0x05B CEXDEXDECR sys_semaphore_destroy int sys_semaphore_destroy(sys_semaphore_t sem);
  89. 92 0x05C CEXDEXDECR sys_semaphore_wait int sys_semaphore_wait(sys_semaphore_t sem, usecond_t timeout);
  90. 93 0x05D CEXDEXDECR sys_semaphore_trywait int sys_semaphore_trywait(sys_semaphore_t sem);
  91. 94 0x05E CEXDEXDECR sys_semaphore_post int sys_semaphore_post(sys_semaphore_t sem, sys_semaphore_value_t val);
  92. #sys_lwmutex Syscalls (95-99)
  93. 95 0x05F CEXDEXDECR sys_lwmutex_create int sys_lwmutex_create(sys_lwmutex_t *lwmutex, sys_lwmutex_attribute_t *attr)
  94. 96 0x060 CEXDEXDECR sys_lwmutex_destroy int sys_lwmutex_destroy(sys_lwmutex_t *lwmutex)
  95. 97 0x061 CEXDEXDECR sys_lwmutex_lock int sys_lwmutex_lock(sys_lwmutex_t *lwmutex, usecond_t timeout)
  96. 98 0x062 CEXDEXDECR sys_lwmutex_trylock int sys_lwmutex_trylock(sys_lwmutex_t *lwmutex)
  97. 99 0x063 CEXDEXDECR sys_lwmutex_unlock int sys_lwmutex_unlock(sys_lwmutex_t *lwmutex)
  98. #sys_mutex Syscalls (100-104)
  99. 100 0x064 CEXDEXDECR sys_mutex_create int sys_mutex_create(sys_mutex_t * mutex_id, sys_mutex_attribute_t * attr);
  100. 101 0x065 CEXDEXDECR sys_mutex_destroy int sys_mutex_destroy(sys_mutex_t mutex_id);
  101. 102 0x066 CEXDEXDECR sys_mutex_lock int sys_mutex_lock(sys_mutex_t mutex_id, usecond_t timeout);
  102. 103 0x067 CEXDEXDECR sys_mutex_trylock int sys_mutex_trylock(sys_mutex_t mutex_id);
  103. 104 0x068 CEXDEXDECR sys_mutex_unlock int sys_mutex_unlock(sys_mutex_t mutex_id);
  104. #sys_cond Syscalls (105-110)
  105. 105 0x069 CEXDEXDECR sys_cond_create int sys_cond_create(sys_cond_t * cond_id, sys_mutex_t mutex_id, sys_cond_attribute_t * attr);
  106. 106 0x06A CEXDEXDECR sys_cond_destroy int sys_cond_destroy(sys_cond_t cond_id);
  107. 107 0x06B CEXDEXDECR sys_cond_wait int sys_cond_wait(sys_cond_t cond_id, usecond_t timeout);
  108. 108 0x06C CEXDEXDECR sys_cond_signal int sys_cond_signal(sys_cond_t cond_id);
  109. 109 0x06D CEXDEXDECR sys_cond_signal_all int sys_cond_signal_all(sys_cond_t cond_id);
  110. 110 0x06E CEXDEXDECR sys_cond_signal_to int sys_cond_signal_to(sys_cond_t cond_id, sys_ppu_thread_t thread);
  111. #sys_lwcond Syscalls (111+112)
  112. 111 0x06F CEXDEXDECR sys_lwcond_create int sys_lwcond_create(sys_lwcond_t *lwcond, sys_lwmutex_t *lwmutex, sys_lwcond_attribute_t *attr)
  113. 112 0x070 CEXDEXDECR sys_lwcond_destroy int sys_lwcond_destroy(sys_lwcond_t *lwcond)
  114. 113 0x071 CEXDEXDECR sys_lwcond_queue_wait 3 params
  115. #sys_semaphore Syscalls (90-94+114)
  116. 114 0x072 CEXDEXDECR sys_semaphore_get_value int sys_semaphore_get_value(sys_semaphore_t sem, sys_semaphore_value_t * val);
  117. 115 0x073 CEXDEXDECR 4 params
  118. 116 0x074 CEXDEXDECR 3 params
  119. 117 0x075 CEXDEXDECR 1 params : sys_lwmutex_t *lwmutex
  120. #sys_event Syscalls (82+83+85-87+118+128-140)
  121. 118 0x076 CEXDEXDECR sys_event_flag_clear int sys_event_flag_clear(sys_event_flag_t id, uint64_t bitptn);
  122. 119 0x077 CEXDEXDECR root int syscall(119, uint64_t *real_time_clock); Gets ps3 real time clock value, hvsc232
  123. #sys_rwlock Syscalls (120-127+148)
  124. 120 0x078 CEXDEXDECR sys_rwlock_create int sys_rwlock_create(sys_rwlock_t * rw_lock_id, sys_rwlock_attribute_t * attr);
  125. 121 0x079 CEXDEXDECR sys_rwlock_destroy int sys_rwlock_destroy(sys_rwlock_t rw_lock_id);
  126. 122 0x07A CEXDEXDECR sys_rwlock_rlock int sys_rwlock_rlock(sys_rwlock_t rw_lock_id, usecond_t timeout);
  127. 123 0x07B CEXDEXDECR sys_rwlock_tryrlock int sys_rwlock_tryrlock(sys_rwlock_t rw_lock_id);
  128. 124 0x07C CEXDEXDECR sys_rwlock_runlock int sys_rwlock_runlock(sys_rwlock_t rw_lock_id);
  129. 125 0x07D CEXDEXDECR sys_rwlock_wlock int sys_rwlock_wlock(sys_rwlock_t rw_lock_id, usecond_t timeout);
  130. 126 0x07E CEXDEXDECR sys_rwlock_trywlock int sys_rwlock_trywlock(sys_rwlock_t rw_lock_id);
  131. 127 0x07F CEXDEXDECR sys_rwlock_wunlock int sys_rwlock_wunlock(sys_rwlock_t rw_lock_id);
  132. #sys_event Syscalls (82+83+85-87+118+128-140)
  133. 128 0x080 CEXDEXDECR sys_event_queue_create int sys_event_queue_create(sys_event_queue_t * equeue_id, sys_event_queue_attribute_t * attr, sys_ipc_key_t event_queue_key, int size);
  134. 129 0x081 CEXDEXDECR sys_event_queue_destroy int sys_event_queue_destroy(sys_event_queue_t equeue_id, int mode);
  135. 130 0x082 CEXDEXDECR sys_event_queue_receive int sys_event_queue_receive(sys_event_queue_t equeue_id, sys_event_t * event, usecond_t timeout);
  136. 131 0x083 CEXDEXDECR sys_event_queue_tryreceive int sys_event_queue_tryreceive(sys_event_queue_t equeue_id, sys_event_t * event_array, int size, int *number);
  137. 132 0x084 CEXDEXDECR sys_event_flag_cancel int sys_event_flag_cancel(sys_event_flag_t id, int *num);
  138. 133 0x085 CEXDEXDECR sys_event_queue_drain int sys_event_queue_drain(sys_event_queue_t equeue_id);
  139. 134 0x086 CEXDEXDECR sys_event_port_create int sys_event_port_create(sys_event_port_t * eport_id, int port_type, uint64_t name);
  140. 135 0x087 CEXDEXDECR sys_event_port_destroy int sys_event_port_destroy(sys_event_port_t eport_id);
  141. 136 0x088 CEXDEXDECR sys_event_port_connect_local int sys_event_port_connect_local(sys_event_port_t event_port_id, sys_event_queue_t event_queue_id);
  142. 137 0x089 CEXDEXDECR sys_event_port_disconnect int sys_event_port_disconnect(sys_event_port_t event_port_id);
  143. 138 0x08A CEXDEXDECR sys_event_port_send int sys_event_port_send(sys_event_port_t eport_id, unint64_t data1, uint64_t data2, uint64_t data3);
  144. 139 0x08B CEXDEXDECR sys_event_flag_get int sys_event_flag_get(sys_event_flag_t id, uint64_t * bitptn);
  145. 140 0x08C CEXDEXDECR sys_event_port_connect_ipc int sys_event_port_connect_ipc(sys_event_port_t eport_id, sys_ipc_key_t event_queue_key);
  146. #sys_timer Syscalls (70-76+141+142)
  147. 141 0x08D CEXDEXDECR sys_timer_usleep int sys_timer_usleep(usecond_t sleep_time);
  148. 142 0x08E CEXDEXDECR sys_timer_sleep int sys_timer_sleep(second_t sleep_time);
  149. #sys_time Syscalls (143-147)
  150. 143 0x08F CEXDEXDECR root sys_time_set_timezone int sys_time_set_timezone(int timezone, int summertime)
  151. 144 0x090 CEXDEXDECR sys_time_get_timezone int sys_time_get_timezone(int *timezone, int *summertime)
  152. 145 0x091 CEXDEXDECR sys_time_get_current_time int sys_time_get_current_time(sys_time_sec_t * sec, sys_time_nsec_t * nsec);
  153. 146 0x092 CEXDEXDECR root sys_time_set_current_time int sys_time_set_current_time(uint64_t sec, uint64_t nsec);
  154. 147 0x093 CEXDEXDECR sys_time_get_timebase_frequency uint64_t sys_time_get_timebase_frequency(void);
  155. #sys_rwlock Syscalls (120-127+148)
  156. 148 0x094 CEXDEXDECR sys_rwlock_trywlock int sys_rwlock_trywlock(sys_rwlock_t rw_lock_id);
  157. #sys_spu/sys_raw_spu Syscalls (150-260)
  158. 150 0x096 CEXDEXDECR sys_raw_spu_create_interrupt_tag int sys_raw_spu_create_interrupt_tag(sys_raw_spu_t id,sys_class_id_t class_id, sys_hw_thread_t hwthread, sys_interrupt_tag_t *intrtag)
  159. 151 0x097 CEXDEXDECR sys_raw_spu_set_int_mask int sys_raw_spu_set_int_mask(sys_raw_spu_t id, sys_class_id_t class_id, uint64_t mask)
  160. 152 0x098 CEXDEXDECR sys_raw_spu_get_int_mask int sys_raw_spu_get_int_mask(sys_raw_spu_t id, sys_class_id_t class_id, uint64_t *mask)
  161. 153 0x099 CEXDEXDECR sys_raw_spu_set_int_stat int sys_raw_spu_set_int_stat(sys_raw_spu_t id, sys_class_id_t class_id, uint64_t stat)
  162. 154 0x09A CEXDEXDECR sys_raw_spu_get_int_stat int sys_raw_spu_get_int_stat(sys_raw_spu_t id, sys_class_id_t class_id, uint64_t *stat)
  163. 155 0x09B CEXDEXDECR sys_spu_image_get_information? int sys_spu_image_get_information?(sys_spu_image_t *img, out:uint[4],out:uint[4])
  164. 156 0x09C CEXDEXDECR sys_spu_image_open int sys_spu_image_open(sys_spu_image_t *img, const char *path)
  165. 157 0x09D CEXDEXDECR sys_spu_image_import int sys_spu_image_import(sys_spu_image_t *img, const void *src, uint32_t type)
  166. 158 0x09E CEXDEXDECR sys_spu_image_close int sys_spu_image_close(sys_spu_image_t *img);
  167. 159 0x09F CEXDEXDECR sys_raw_spu_load 3 Params ( sys_spu_image_t * img, sys_addr_t alloc_addr, int size? ), needs much more proper information
  168. 160 0x0A0 CEXDEXDECR sys_raw_spu_create int sys_raw_spu_create(sys_raw_spu_t *id, sys_raw_spu_attribute_t *attr)
  169. 161 0x0A1 CEXDEXDECR sys_raw_spu_destroy int sys_raw_spu_destroy(sys_raw_spu_t id)
  170. 163 0x0A3 CEXDEXDECR sys_raw_spu_read_puint_mb int sys_raw_spu_read_puint_mb(sys_raw_spu_t id, uint32_t *value)
  171. 165 0x0A5 CEXDEXDECR sys_spu_thread_get_exit_status int sys_spu_thread_get_exit_status(sys_spu_thread_t id, int *status)
  172. 166 0x0A6 CEXDEXDECR sys_spu_thread_set_argument int sys_spu_thread_set_argument(sys_spu_thread_t id, sys_spu_thread_argument_t *arg)
  173. 167 0x0A7 CEXDEXDECR sys_spu_thread_group_start_on_exit
  174. 169 0x0A9 CEXDEXDECR sys_spu_initialize int sys_spu_initialize(unsigned int max_usable_spu, unsigned int max_raw_spu)
  175. 170 0x0AA CEXDEXDECR sys_spu_thread_group_create int sys_spu_thread_group_create(sys_spu_thread_group_t *id, unsigned int num, int prio, sys_spu_thread_group_attribute_t *attr)
  176. 171 0x0AB CEXDEXDECR sys_spu_thread_group_destroy int sys_spu_thread_group_destroy(sys_spu_thread_group_t id)
  177. 172 0x0AC CEXDEXDECR sys_spu_thread_initialize int sys_spu_thread_initialize(sys_spu_thread_t *thread,sys_spu_thread_group_t group,uint spu_num,sys_spu_image_t *img,sys_spu_thread_attribute_t *attr,sys_spu_thread_argument_t *arg)
  178. 173 0x0AD CEXDEXDECR sys_spu_thread_group_start int sys_spu_thread_group_start(sys_spu_thread_group_t id)
  179. 174 0x0AE CEXDEXDECR sys_spu_thread_group_suspend int sys_spu_thread_group_suspend(sys_spu_thread_group_t id)
  180. 175 0x0AF CEXDEXDECR sys_spu_thread_group_resume int sys_spu_thread_group_resume(sys_spu_thread_group_t id)
  181. 176 0x0B0 CEXDEXDECR sys_spu_thread_group_yield int sys_spu_thread_group_yield(sys_spu_thread_group_t id)
  182. 177 0x0B1 CEXDEXDECR sys_spu_thread_group_terminate int sys_spu_thread_group_terminate(sys_spu_thread_group_t id, int value)
  183. 178 0x0B2 CEXDEXDECR sys_spu_thread_group_join int sys_spu_thread_group_join(sys_spu_thread_group_t gid, int *cause, int *status)
  184. 179 0x0B3 CEXDEXDECR sys_spu_thread_group_set_priority int sys_spu_thread_group_set_priority(sys_spu_thread_group_t id, int priority)
  185. 180 0x0B4 CEXDEXDECR sys_spu_thread_group_get_priority int sys_spu_thread_group_get_priority(sys_spu_thread_group_t id, int *priority)
  186. 181 0x0B5 CEXDEXDECR sys_spu_thread_write_ls int sys_spu_thread_write_ls(sys_spu_thread_t id, uint32_t address, uint64_t value, size_t type)
  187. 182 0x0B6 CEXDEXDECR sys_spu_thread_read_ls int sys_spu_thread_read_ls(sys_spu_thread_t id, uint32_t address, uint64_t *value, size_t type)
  188. 184 0x0B8 CEXDEXDECR sys_spu_thread_write_snr int sys_spu_thread_write_snr(sys_spu_thread_t id, int number, uint32_t value)
  189. 185 0x0B9 CEXDEXDECR sys_spu_thread_group_connect_event int sys_spu_thread_group_connect_event(sys_spu_thread_group_t id, sys_event_queue_t eq, sys_event_type_t et)
  190. 186 0x0BA CEXDEXDECR sys_spu_thread_group_disconnect_event int sys_spu_thread_group_disconnect_event(sys_spu_thread_group_t id, sys_event_type_t et)
  191. 187 0x0BB CEXDEXDECR sys_spu_thread_set_spu_cfg int sys_spu_thread_set_spu_cfg(sys_spu_thread_t id, uint64_t value)
  192. 188 0x0BC CEXDEXDECR sys_spu_thread_get_spu_cfg int sys_spu_thread_get_spu_cfg(sys_spu_thread_t id, uint64_t *value)
  193. 190 0x0BE CEXDEXDECR sys_spu_thread_write_spu_mb int sys_spu_thread_write_spu_mb(sys_spu_thread_t id, uint32_t value);
  194. 191 0x0BF CEXDEXDECR sys_spu_thread_connect_event int sys_spu_thread_connect_event(sys_spu_thread_t id, sys_event_queue_t eq, sys_event_type_t et, uint8_t spup)
  195. 192 0x0C0 CEXDEXDECR sys_spu_thread_disconnect_event int sys_spu_thread_disconnect_event(sys_spu_thread_t id, sys_event_type_t et, uint8_t spup)
  196. 193 0x0C1 CEXDEXDECR sys_spu_thread_bind_queue int sys_spu_thread_bind_queue(sys_spu_thread_t id,sys_event_queue_t spuq,uint32_t spuq_num)
  197. 194 0x0C2 CEXDEXDECR sys_spu_thread_unbind_queue int sys_spu_thread_unbind_queue(sys_spu_thread_t id, uint32_t spuq_num)
  198. 196 0x0C4 CEXDEXDECR sys_raw_spu_set_spu_cfg int sys_raw_spu_set_spu_cfg(sys_raw_spu_t id, uint32_t value)
  199. 197 0x0C5 CEXDEXDECR sys_raw_spu_get_spu_cfg int sys_raw_spu_get_spu_cfg(sys_raw_spu_t id, uint32_t *value)
  200. 198 0x0C6 CEXDEXDECR sys_spu_thread_recover_page_fault int sys_spu_thread_recover_page_fault(sys_spu_thread_t id)
  201. 199 0x0C7 CEXDEXDECR sys_raw_spu_recover_page_fault int sys_raw_spu_recover_page_fault(sys_raw_spu_t id)
  202. 200 0x0C8
  203. 201 0x0C9
  204. 202 0x0CA
  205. 203 0x0CB
  206. 209 0x0D1
  207. 210 0x0D2
  208. 211 0x0D3
  209. 212 0x0D4
  210. 213 0x0D5
  211. 214 0x0D6
  212. 215 0x0D7 DEX DECR sys_dbg_mat_set_condition int sys_dbg_mat_set_condition(sys_addr_t,int)
  213. 216 0x0D8 DEX DECR sys_dbg_mat_get_condition int sys_dbg_mat_get_condition(sys_addr_t,int*)
  214. 217 0x0D9 DECR dbg
  215. 218 0x0DA DECR dbg
  216. 219 0x0DB DECR dbg
  217. 226 0x0E2
  218. 230 0x0E6 CEXDEXDECR root sys_isolated_spu_create int sys_isolated_spu_create(sys_raw_spu_t *id, uint8_t *source_spe, in?: args?,0,0,0)
  219. 231 0x0E7 CEXDEXDECR root sys_isolated_spu_destroy int sys_isolated_spu_destroy(sys_raw_spu_t id)
  220. 232 0x0E8 CEXDEXDECR root sys_isolated_spu_start int sys_isolated_spu_start(sys_raw_spu_t id)
  221. 233 0x0E9 CEXDEXDECR root sys_isolated_spu_create_interrupt_tag int sys_isolated_spu_create_interrupt_tag(sys_raw_spu_t id, uint32_t class_id, uint32_t hwthread, sys_interrupt_tag_t *intrtag)
  222. 234 0x0EA CEXDEXDECR root sys_isolated_spu_set_int_mask int sys_isolated_spu_set_int_mask(sys_raw_spu_t id, uint32_t class_id, uint64_t mask)
  223. 235 0x0EB CEXDEXDECR root sys_isolated_spu_get_int_mask int sys_isolated_spu_get_int_mask(sys_raw_spu_t id, uint32_t class_id, uint64_t *mask)
  224. 236 0x0EC CEXDEXDECR root sys_isolated_spu_set_int_stat int sys_isolated_spu_set_int_stat(sys_raw_spu_t id, uint32_t class_id, uint64_t stat)
  225. 237 0x0ED CEXDEXDECR root sys_isolated_spu_get_int_stat int sys_isolated_spu_get_int_stat(sys_raw_spu_t id, uint32_t class_id, uint64_t * stat)
  226. 238 0x0EE CEXDEXDECR root sys_isolated_spu_set_spu_cfg int sys_isolated_spu_set_spu_cfg(sys_spu_thread_t id, uint64_t value)
  227. 239 0x0EF CEXDEXDECR root sys_isolated_spu_get_spu_cfg int sys_isolated_spu_get_spu_cfg(sys_spu_thread_t id, uint64_t * value)
  228. 240 0x0F0 CEXDEXDECR root sys_isolated_spu_read_puint_mb int sys_isolated_spu_read_puint_mb(sys_raw_spu_t id, uint32_t * value)
  229. 244 0x0F4 CEXDEXDECR root sys_spu_thread_group_system_set_next_group int sys_spu_thread_group_system_set_next_group(void)
  230. 245 0x0F5 CEXDEXDECR root sys_spu_thread_group_system_unset_next_group int sys_spu_thread_group_system_unset_next_group(void)
  231. 246 0x0F6 CEXDEXDECR root sys_spu_thread_group_system_set_switch_group int sys_spu_thread_group_system_set_switch_group(void)
  232. 247 0x0F7 CEXDEXDECR root sys_spu_thread_group_system_unset_switch_group int sys_spu_thread_group_system_unset_switch_group(void)
  233. 248 0x0F8 CEXDEXDECR root sys_spu_thread_group.... 5 Params: sys_spu_thread_group_t group,.....
  234. 249 0x0F9 CEXDEXDECR root sys_spu_thread_group.... int sc249(sys_spu_thread_group_t group)
  235. 250 0x0FA CEXDEXDECR sys_spu_thread_group_set_cooperative_victims 2 Params
  236. 251 0x0FB CEXDEXDECR sys_spu_thread_group_connect_event_all_threads int sys_spu_thread_group_connect_event_all_threads(sys_spu_thread_group_t id, sys_event_queue_t eq, uint64_t req, uint8_t *spup)
  237. 252 0x0FC CEXDEXDECR sys_spu_thread_group_disconnect_event_all_threads int sys_spu_thread_group_disconnect_event_all_threads(sys_spu_thread_group_t id, uint8_t spup)
  238. 253 0x0FD CEXDEXDECR sys_spu_thread_group.. 2 Params( sys_spu_thread_group_t id, out:uint8[0x40])
  239. 254 0x0FE CEXDEXDECR sys_spu_thread_group_log int sys_spu_thread_group_log(int command, int *stat)
  240. 260 0x104 CEXDEXDECR sys_spu_image_open_by_fd int sys_spu_image_open_by_fd(sys_spu_image_t *img, int fd, off64_t offset)
  241. #sys_vm/sys_memory/sys_mmapper Syscalls (300-352)
  242. 300 0x12C CEXDEXDECR sys_vm_memory_map int sys_vm_memory_map(size_t vsize, size_t psize, sys_memory_container_t container, uint64_t flag, uint64_t policy, sys_addr_t * addr);
  243. 301 0x12D CEXDEXDECR sys_vm_unmap int sys_vm_unmap(sys_addr_t addr);
  244. 302 0x12E CEXDEXDECR sys_vm_append_memory int sys_vm_append_memory(sys_addr_t addr, size_t size);
  245. 303 0x12F CEXDEXDECR sys_vm_return_memory int sys_vm_return_memory(sys_addr_t addr, size_t size);
  246. 304 0x130 CEXDEXDECR sys_vm_lock int sys_vm_lock(sys_addr_t addr, size_t size);
  247. 305 0x131 CEXDEXDECR sys_vm_unlock int sys_vm_unlock(sys_addr_t addr, size_t size);
  248. 306 0x132 CEXDEXDECR sys_vm_touch int sys_vm_touch(sys_addr_t addr, size_t size);
  249. 307 0x133 CEXDEXDECR sys_vm_flush int sys_vm_flush(sys_addr_t addr, size_t size);
  250. 308 0x134 CEXDEXDECR sys_vm_invalidate int sys_vm_invalidate(sys_addr_t addr, size_t size);
  251. 309 0x135 CEXDEXDECR sys_vm_store int sys_vm_store(sys_addr_t addr, size_t size);
  252. 310 0x136 CEXDEXDECR sys_vm_sync int sys_vm_sync(sys_addr_t addr, size_t size);
  253. 311 0x137 CEXDEXDECR sys_vm_test int sys_vm_test(sys_addr_t addr, size_t size, uint64_t * result);
  254. 312 0x138 CEXDEXDECR sys_vm_get_statistics int sys_vm_get_statistics(sys_addr_t addr, sys_vm_statistics_t * stat);
  255. 313 0x139 CEXDEXDECR diff sys_vm_memory_map same Params (size_t vsize, size_t psize, sys_memory_container_t container, uint64_t flag, uint64_t policy, sys_addr_t * addr); apperently maps different vm memory area
  256. 314 0x13A CEXDEXDECR 2 Params
  257. 315 0x13B CEXDEXDECR 1 Param
  258. 324 0x144 CEXDEXDECR dbg sys_memory_container_create int sys_memory_container_create(sys_memory_container_t * cid, size_t yield_size);
  259. 325 0x145 CEXDEXDECR dbg sys_memory_container_destroy int sys_memory_container_destroy(sys_memory_container_t cid);
  260. 326 0x146 CEXDEXDECR sys_mmapper_allocate_fixed_address int sys_mmapper_allocate_fixed_address(void);
  261. 327 0x147 CEXDEXDECR sys_mmapper_enable_page_fault_notification int sys_mmapper_enable_page_fault_notification(sys_addr_t start_addr, sys_event_queue_t queue_id);
  262. 328 0x148 CEXDEXDECR 7 Params
  263. 329 0x149 CEXDEXDECR sys_mmapper_free_shared_memory int sys_mmapper_free_shared_memory(sys_addr_t start_addr);
  264. 330 0x14A CEXDEXDECR sys_mmapper_allocate_address int sys_mmapper_allocate_address(size_t size, uint64_t flags, size_t alignment, sys_addr_t * alloc_addr);
  265. 331 0x14B CEXDEXDECR sys_mmapper_free_address int sys_mmapper_free_address(sys_addr_t start_addr);
  266. 332 0x14C CEXDEXDECR sys_mmapper_allocate_shared_memory 4 Params: (size_t size, uint64_t flags, size_t alignment, sys_addr_t * alloc_addr) ?
  267. 333 0x14D CEXDEXDECR sys_mmapper_set_shared_memory_flag int sys_mmapper_set_shared_memory_flag(sys_addr_t, flags) ?;
  268. 334 0x14E CEXDEXDECR sys_mmapper_map_shared_memory 3 Params: (sys_addr_t start_addr, sys_memory_t mem_id, uint64_t flags) ?
  269. 335 0x14F CEXDEXDECR sys_mmapper_unmap_shared_memory 2 Params: (sys_addr_t start_addr,sys_memory_t *mem_id ) ?
  270. 336 0x150 CEXDEXDECR sys_mmapper_change_address_access_right int sys_mmapper_change_address_access_right(sys_addr_t start_addr, uint64_t flags);
  271. 337 0x151 CEXDEXDECR sys_mmapper_search_and_map int sys_mmapper_search_and_map(sys_addr_t start_addr, sys_memory_t mem_id, uint64_t flags, sys_addr_t * alloc_addr);
  272. 338 0x152 CEXDEXDECR sys_mmapper_get_shared_memory_attribute 2 Params:
  273. 339 0x153 CEXDEXDECR 5 Params
  274. 340 0x154 CEXDEXDECR 2 Params
  275. 341 0x155 CEXDEXDECR _sys_memory_container_create2 ? int _sys_memory_container_create2(sys_memory_container_t * cid, size_t yield_size);
  276. 342 0x156 CEXDEXDECR sys_memory_container_destroy? int sys_memory_container_destroy? (sys_memory_container_t cid);
  277. 343 0x157 CEXDEXDECR sys_memory_container_get_size int sys_memory_container_get_size(sys_memory_info_t * mem_info, sys_memory_container_t cid);
  278. 344 0x158 sys_memory_budget_set
  279. 345 0x159 CEXDEXDECR 3 Params, a variation of sys_memory_container_destroy (sys_memory_container_t cid, int, &out)
  280. 346 0x15A CEXDEXDECR
  281. 348 0x15C CEXDEXDECR sys_memory_allocate int sys_memory_allocate(size_t size, uint64_t flags, sys_addr_t * alloc_addr);
  282. 349 0x15D CEXDEXDECR sys_memory_free int sys_memory_free(sys_addr_t start_addr);
  283. 350 0x15E CEXDEXDECR sys_memory_allocate_from_container int sys_memory_allocate_from_container(size_t size, sys_memory_container_t container, uint64_t flags, sys_addr_t * alloc_addr);
  284. 351 0x15F CEXDEXDECR sys_memory_get_page_attribute int sys_memory_get_page_attribute(sys_addr_t addr, sys_page_attr_t * attr);
  285. 352 0x160 CEXDEXDECR sys_memory_get_user_memory_size int sys_memory_get_user_memory_size(sys_memory_info_t * mem_info);
  286. 353 0x161 CEXDEXDECR sys_memory_get_user_memory_stat int sys_memory_get_user_memory_stat(out:uint8[0x1C])
  287. 354 0x162 CEXDEXDECR root 3 Params
  288. 355 0x163 CEXDEXDECR root 2 Param: uint32_t *, uint32_t * (set 0, reset memory stats?)
  289. 356 0x164 CEXDEXDECR sys_memory_allocate_colored 4 Params
  290. 357 0x165 CEXDEXDECR 2 Params
  291. 358 0x166 CEXDEXDECR 5 Params
  292. 359 0x167 CEXDEXDECR 2 Params
  293. 360 0x168 CEXDEXDECR 7 Params
  294. 361 0x169 CEXDEXDECR sys_memory_allocate_from_container_colored 5 Params
  295. 362 0x16A CEXDEXDECR sys_mmapper_allocate_memory_from_container sys_mmapper_allocate_memory_from_container(size_t size, sys_memory_container_t container, uint64_t flags, sys_memory_t *mem_id)
  296. 363 0x16B CEXDEXDECR 6 Params
  297. 364 0x16C DECR
  298. #sys_uart Syscalls (367-370)
  299. 367 0x16F CEXDEXDECR root sys_uart_initialize syscall(367, void)
  300. 368 0x170 CEXDEXDECR root sys_uart_receive sys_uart_receive(out: uint8_t buffer[SizeToReceive], int SizeToReceive (0x400/0x800), 0/1)
  301. 369 0x171 CEXDEXDECR root sys_uart_send sys_uart_send(const void *buf, uint64_t size, uint64_t flags)
  302. 370 0x172 CEXDEXDECR root sys_uart_get_params int sys_uart_get_params(out:buffer[0x10])
  303. #sys_game Syscalls (372-376+410-412)
  304. 372 0x174 CEXDEXDECR sys_game_watchdog_start 1 param: int time(r)
  305. 373 0x175 CEXDEXDECR sys_game_watchdog_stop int sys_game_watchdog_stop(void)
  306. 374 0x176 CEXDEXDECR sys_game_watchdog_clear int sys_game_watchdog_clear(void)
  307. 375 0x177 CEXDEXDECR root sys_game_set_system_sw_version int sys_game_set_system_sw_version(uint64_t version)
  308. 376 0x178 CEXDEXDECR root sys_game_get_system_sw_version int sys_game_get_system_sw_version(void)
  309. #sys_sm/sys_ctrl Syscalls (378-396)
  310. 377 0x179 CEXDEXDECR root sys_sm_set_shop_mode int sys_sm_set_shop_mode(int mode (0/1)) ( HV System Manager access - ServiceID 39 (SET_SHOP_DEMO_MODE))
  311. 378 0x17A CEXDEXDECR root sys_sm_get_ext_event2 4 Param, sc378(uint64_t * v1,uint64_t * v2, uint64_t * v3, 0=receive buffer/1=get queuing events), v1==7 -> yesHOT
  312. 379 0x17B CEXDEXDECR root sys_sm_shutdown int sys_sm_shutdown(uint16_t op, const void * lpar_parameter, uint64_t parameter_size )
  313. 0x1100/0x100 = turn off,
  314. 0x1200 = Lv2 Hard Reboot,
  315. 0x200 = Lv2 Soft Reboot,
  316. 0x8201 = load lpar id 1
  317. 0x8202 = load lpar id 2
  318. 0x8204 = load lpar id 3
  319. HV System Manager access - ServiceID 1 (REQUEST)+ 10 (DELIVER INTER LPAR PARAMETER)
  320. 380 0x17C CEXDEXDECR dbg sys_sm_get_params alias sys_get_system_parameter, 4 Params: uint64_t * unknown1, uint64_t * unknown2, uint64_t * unknown3, uint64_t * unknown4
  321. 381 0x17D CEXDEXDECR root sys_sm_get_inter_lpar_parameter? 2Params: syscall(381,uint8_t lpar_parameter[param_size], int param_size (0x600));
  322. 382 0x17E CEXDEXDECR root sys_sm_ int syscall(382, void); - prevents ps3 lpar shutdown ?
  323. 383 0x17F CEXDEXDECR root sys_game_get_temperature int sys_game_get_temperature(0=CELL/1=RSX,uint32_t *temperature) ( HV System Manager access - ServiceID 13 (TEMPERATURE))
  324. 2nd Byte conversion: r.shift (second_byte * 0x64 ) by 8
  325. Example: 195 = 0xC3 -> 0xC3 * 0x64 -> 0x4C2C ->> shift -> 0x4C -> XX.76°C
  326. 384 0x180 CEXDEXDECR root sys_sm_get_tzpb 1 Param: syscall(384,uint64_t *tzpb); (uint8_t [0x20]) Get TimeZone Presence
  327. HV System Manager access - ServiceID 15
  328. 385 0x181 CEXDEXDECR root sys_sm_request_led int sys_sm_request_led( int led_id(1=power,2=status or 3=disk), out:uint8_t led_action[1] ) HV System Manager access - ServiceID 17
  329. 386 0x182 CEXDEXDECR root sys_sm_control_led int sys_sm_control_led(uint8_t led_id, uint8_t led_action)
  330. led_id = 0,1 (POWER),2 (STATUS)(red, green, red+green combined: looks like yellow);
  331. led_action = 0,1,2,3 (off,on,blink fast, blink slow)
  332. 387 0x183 CEXDEXDECR dbg sys_sm_get_platform_info? syscall(387, uint8_t platform_info[0x18]) / OS Version, Revision, System Software Version?
  333. 388 0x184 CEXDEXDECR root sys_sm_ring_buzzer_too 2 Params,HV System Manager access - ServiceID 21 (RING_BUZZER)
  334. 389 0x185 CEXDEXDECR PM sys_sm_set_fan_policy int sys_sm_set_fan_policy (in:uint8, in:uint8, in:uint8)
  335. 390 0x186 CEXDEXDECR root sys_sm_request_error_log 4 Params, uint8_t offset (0-0x20), uint8_t *, uint32_t *, uint32_t *
  336. HV System Manager access - ServiceID 26 (REQUEST_ERROR_LOG)
  337. 391 0x187 CEXDEXDECR root sys_sm_request_be_count 4 Params
  338. uint8_t *,
  339. uint32_t* total_time_in_seconds,
  340. uint32_t* power_on_counter,
  341. uint32_t* power_off_counter
  342. HV System Manager access - ServiceID 28 (REQUEST_BE_COUNT):
  343. 392 0x188 CEXDEXDECR root sys_sm_ring_buzzer 3 Params: PacketID=0x1004, field2, field4 Hypervisor_Reverse_Engineering#Parameters_6 Parameters
  344. 393 0x189 CEXDEXDECR root sys_sm_get_hw_config gets hardware configuration: syscall(393,uint8_t * res, uint64_t * hw_config)
  345. 394 0x18A CEXDEXDECR root sys_sm_request_scversion uint8_t SoftID[8],old_PatchID[8],new_PatchID[8]; lv2syscall3(394, (uint64_t)SoftID, (uint64_t)old_PatchID, (uint64_t)new_PatchID);
  346. HV System Manager access - ServiceID 30 (REQUEST_SC_VERSION) System_Controller_Firmware#.27info0.27 SC Firmware
  347. 395 0x18B CEXDEXDECR PM sys_sm_request_system_event_log int sys_sm_request_system_event_log(int offset(0 - 5),uint64_t *out,uint64_t *out,uint64_t *out,uint8_t buf[0x20], int flag ), 6 Params, HV System Manager access - ServiceID 32 (REQUEST_SYSTEM_EVENT_LOG)
  348. 396 0x18C CEXDEXDECR root sys_sm_set_rtc_alarm 1 Param, HV System Manager access - ServiceID 34+38 (RTC_ALARM)
  349. 397 0x18D CEXDEXDECR root sys_sm_get_rtc_alarm 1 Param, HV System Manager access - ServiceID 36
  350. 398 0x18E CEXDEXDECR root sys_console_write int sys_console_write(const char *s, unsigned int len)(lv2,lv1::console::write_async
  351. 400 0x190 CEXDEXDECR PM int sys_request_system_event_log(int offset(0 - 5),uint64_t *out, int flag ) , HV System Manager access - ServiceID 32 (REQUEST_SYSTEM_EVENT_LOG)
  352. sys_sm_request_system_event_log too
  353. 401 0x191 CEXDEXDECR root 2 Params: uint64_t param,uint8_t * st (status?/state?)
  354. HV System Manager access - ServiceID 40 (BOOT_PARAMETER)
  355. also sends the param to syscon
  356. related to 404
  357. #sys_tty Syscalls (402-403)
  358. 402 0x192 CEXDEXDECR sys_tty_read int sys_tty_read(unsigned int ch, void *buf, unsigned int len, unsigned int *preadlen);
  359. 403 0x193 CEXDEXDECR sys_tty_write int sys_tty_write(unsigned int ch, const void *buf, unsigned int len, unsigned int *pwritelen);
  360. 404 0x194 CEXDEXDECR root 2 Params: uint64_t * param, uint8_t * st
  361. HV System Manager access - ServiceID 42 (BOOT_PARAMETER)
  362. [Network Settings for Debug] related, returns single/dual setting flag?
  363. 405 0x195 CEXDEXDECR PM 2 Params: uint16_t * comp?, uint8_t * st (status?/state?)
  364. HV System Manager access - ServiceID 44
  365. factory_process_comp (0,0), dbg_printf comp value
  366. 406 0x196 CEXDEXDECR PM 2 Params: uint32_t comp? ,uint8_t * st
  367. comp? = 0x01,0x02,0x04,0x08,0x10,0x20,0x40,0x80,0x100
  368. HV System Manager access - ServiceID 46
  369. factory_process_comp (1,x) -> OR-Operation with comp
  370. 407 0x197 CEXDEXDECR PM 1 Param: uint8_t * st
  371. HV System Manager access - ServiceID 48
  372. factory_process_comp (2,0) -> ANDC-Operation with comp=0
  373. 408 0x198 CEXDEXDECR PM sys_sm_get_tzpb too 1 Param: out:uint8_t [0x20]
  374. same as 384 just requires PM
  375. 409 0x199 CEXDEXDECR PM sys_sm_get_fan_policy int sys_sm_get_fan_policy(uint8_t id, uint8_t *st (status? state?), uint8_t *policy (mode), uint8_t * mode (speed), uint8_t *duty)
  376. #sys_game Syscalls (372-376+410-412)
  377. 410 0x19A CEXDEXDECR sys_game_board_storage_read 2 Params,out:uint8_t[0x10], uint8_t[1], HV System Manager access - ServiceID 54
  378. 411 0x19B CEXDEXDECR sys_game_board_storage_write 2 Params,in:uint8_t[0x10],uint8_t[1], HV System Manager access - ServiceID 52
  379. 412 0x19C DEX DECR sys_game_get_rtc_status
  380. 413 0x19D CEXDEXDECR root 3 Params, HV System Manager access - ServiceID 56: out:uint8_t[1],out:uint8_t[1],out:uint8_t[1]
  381. 414 0x19E CEXDEXDECR root 3 Params,in:packetid ,in:uint8_t[0x20],out:uint8_t[1], HV System Manager access - ServiceID 58
  382. 415 0x19F CEXDEXDECR root 3 Params,in:packetid,out:uint8_t[0x20],out:uint8_t[1], HV System Manager access - ServiceID 60
  383. #sys_overlay Syscalls (450-457)
  384. 450 0x1C2 CEXDEXDECR sys_overlay_load_module int sys_overlay_load_module(sys_overlay_t * ovlmid, const char *path, uint64_t flags, sys_addr_t * entry)
  385. 451 0x1C3 CEXDEXDECR sys_overlay_unload_module int sys_overlay_unload_module(sys_overlay_t ovlmid)
  386. 452 0x1C4 CEXDEXDECR sys_overlay_get_module_list int sys_overlay_get_module_list(sys_pid_t pid, size_t ovlmids_num, sys_overlay_t * ovlmids, size_t * num_of_modules)
  387. 453 0x1C5 CEXDEXDECR sys_overlay_get_module_info int sys_overlay_get_module_info(sys_pid_t pid,sys_overlay_t ovlmid, sys_overlay_module_info_t * info)
  388. 454 0x1C6 CEXDEXDECR sys_overlay_load_module_by_fd int sys_overlay_load_module_by_fd(sys_overlay_t * ovlmid, int fd, off64_t offset, uint64_t flags, sys_addr_t * entry)
  389. 455 0x1C7 CEXDEXDECR sys_overlay_get_module_info2 int sys_overlay_get_module_info2(sys_pid_t pid, sys_overlay_t ovlmid, sys_overlay_module_info2_t * info)
  390. 456 0x1C8 CEXDEXDECR sys_overlay_get_sdk_version 2 Params
  391. 457 0x1C9 CEXDEXDECR sys_overlay_get_module_dbg_info 3 Params: (sys_pid_t pid, sys_overlay_t ovlmid, sys_overlay_module_dbg_t * info) ?
  392. 458 0x1CA CEXDEXDECR sys_overlay_get_module_dbg_info too 3 Params:
  393. #sys_prx Syscalls (460-499)
  394. 460 0x1CC DEX DECR root sys_prx_dbg_get_module_id_list sys_prx_dbg_get_module_id_list(sys_pid_t pid, sys_prx_dbg_get_module_list_t *pInfo)
  395. 461 0x1CD CEXDEXDECR sys_prx_get_module_id_by_address sys_prx_id_t sys_prx_get_module_id_by_address(void* addr)
  396. 462 0x1CE DEXDECR 1 Param: uint8_t [0x50]
  397. 463 0x1CF CEXDEXDECR sys_prx_load_module_by_fd sys_prx_id_t sys_prx_load_module_by_fd(int fd, off64_t offset, sys_prx_flags_t flags, sys_prx_load_module_option_t pOpt)
  398. 464 0x1D0 CEXDEXDECR sys_prx_load_module_on_memcontainer_by_fd sys_prx_id_t sys_prx_load_module_on_memcontainer_by_fd(int fd,off64_t offset,sys_memory_container_t mem_container,sys_prx_flags_t flags,sys_prx_load_module_option_t pOpt)
  399. 465 0x1D1 CEXDEXDECR sys_prx_load_module_list int sys_prx_load_module_list(int n, const char **path_list, uint64_t flags, sys_prx_load_module_list_option_t * pOpt, sys_prx_id_t * idlist)
  400. 466 0x1D2 CEXDEXDECR sys_prx_load_module_list_on_memcontainer sys_prx_id_t sys_prx_load_module_by_fd(int fd, off64_t offset, uint64_t flags, sys_prx_load_module_option_t * pOpt)
  401. 467 0x1D3 CEXDEXDECR sys_prx_get_ppu_guid sys_addr_t sys_prx_get_ppu_guid(sys_prx_id_t id)
  402. 468 0x1D4 DEX DECR root
  403. 470 0x1D6 CEXDEXDECR root int syscall 470 (uint32_t type?, void* npd? [0x60])
  404. 471 0x1D7 CEXDEXDECR root int syscall_471(uint32_t type, char* titleID, void* klicensee, uint8_t* actdat, uint8_t* rif, int32_t licenseType, uint8_t* magicVersion);
  405. 472 0x1D8 CEXDEXDECR root 2 Params:
  406. 473 0x1D9 CEXDEXDECR
  407. 474 0x1DA CEXDEXDECR
  408. 475 0x1DB CEXDEXDECR root int syscall_475(uint32_t type, void* npd?, void* klicensee, uint8_t* actdat, uint8_t* rif, uint8_t magicVersion)
  409. 476 0x1DC CEXDEXDECR root can only be either syscall476 (1,0) or syscall476 (0,1)
  410. 480 0x1E0 CEXDEXDECR sys_prx_load_module sys_prx_id_t sys_prx_load_module(const char* path, sys_prx_flags_t flags, sys_prx_load_module_option_t* pOpt)
  411. 481 0x1E1 CEXDEXDECR sys_prx_start_module int sys_prx_start_module(sys_prx_id_t id, sys_prx_flags_t flags, sys_prx_start_t* pOpt)
  412. 482 0x1E2 CEXDEXDECR sys_prx_stop_module int sys_prx_stop_module(sys_prx_id_t id, size_t args, void *argp, int *modres, sys_prx_flags_t flags, sys_prx_stop_module_option_t pOpt)
  413. 483 0x1E3 CEXDEXDECR sys_prx_unload_module int sys_prx_unload_module(sys_prx_id_t id, sys_prx_flags_t flags, sys_prx_unload_module_option_t pOpt);
  414. 484 0x1E4 CEXDEXDECR sys_prx_register_module int sys_prx_register_module(char * name, const sys_prx_register_module_option_t * pOpt)
  415. 485 0x1E5 CEXDEXDECR sys_prx_query_module int sys_prx_query_module(void) // only returns 0
  416. 486 0x1E6 CEXDEXDECR sys_prx_register_library int sys_prx_register_library(void* library)
  417. 487 0x1E7 CEXDEXDECR sys_prx_unregister_library int sys_prx_unregister_library(void* library) // only returns 0
  418. 488 0x1E8 CEXDEXDECR sys_prx_link_library int sys_prx_link_library(void) // only returns 0
  419. 489 0x1E9 CEXDEXDECR sys_prx_unlink_library int sys_prx_unlink_library(void) // only returns 0
  420. 490 0x1EA CEXDEXDECR sys_prx_query_library int sys_prx_query_library(void) // only returns 0
  421. 492 0x1EC CEXDEXDECR dbg 4 Params:
  422. 493 0x1ED CEXDEXDECR dbg sys_prx_dbg_get_module_info int sys_prx_dbg_get_module_info(sys_pid_t pid, sys_prx_id_t id, sys_prx_dbg_module_info* info)
  423. 494 0x1EE CEXDEXDECR sys_prx_get_module_list int sys_prx_get_module_list(sys_prx_flags_t flags, sys_prx_get_module_list_t *pInfo);
  424. 495 0x1EF CEXDEXDECR sys_prx_get_module_info int sys_prx_get_module_info(sys_prx_id_t id, sys_prx_flags_t flags, sys_prx_module_info_t *pInfo)
  425. 496 0x1F0 CEXDEXDECR sys_prx_get_module_id_by_name sys_prx_id_t sys_prx_get_module_id_by_name(const char* name, sys_prx_flags_t flags, sys_prx_get_module_id_by_name_option_t *pOpt)
  426. 497 0x1F1 CEXDEXDECR sys_prx_load_module_on_memcontainer sys_prx_id_t sys_prx_load_module_on_memcontainer(const char* path, sys_memory_container_t mem_container, sys_prx_flags_t flags, sys_prx_load_module_option_t pOpt)
  427. 498 0x1F2 CEXDEXDECR sys_prx_start int sys_prx_start (void) // only returns 0
  428. 499 0x1F3 CEXDEXDECR sys_prx_stop int sys_prx_stop(void)
  429. #sys_hid_manager Syscalls
  430. 500 0x1F4 CEXDEXDECR sys_hid_manager_open 2 Params
  431. 501 0x1F5 CEXDEXDECR sys_hid_manager_close 1 Param: uint32_t port_no
  432. 502 0x1F6 CEXDEXDECR root sys_hid_manager_read 4 Params: uint32_t port_no,uint32_t packet_id, uint8_t[size], uint32_t size
  433. 503 0x1F7 CEXDEXDECR sys_hid_manager_ioctl 4 Params: uint32_t port_no,uint32_t packet_id, uint8_t[size], uint32_t size
  434. 504 0x1F8 CEXDEXDECR root sys_hid_manager_map_logical_id_to_port_id param 1: device_type, 1 = pad, 2 = kb, 3 = mouse
  435. int sc(int device_type, int device_no, int port_no)
  436. 505 0x1F9 CEXDEXDECR root sys_hid_manager_unmap_logical_id_to_port_id int sc(int device_type, int device_no, int port_no)
  437. 506 0x1FA CEXDEXDECR root sys_hid_manager_add_hot_key_observer 2 Params
  438. 507 0x1FB CEXDEXDECR root sys_hid_manager_remove_hot_key_observer 2 Params
  439. 508 0x1FC CEXDEXDECR root sys_hid_manager_grab_focus 1 Param: sys_pid_t pid (for example current pid)
  440. 509 0x1FD CEXDEXDECR root sys_hid_manager_release_focus 1 Param
  441. 510 0x1FE CEXDEXDECR sys_hid_manager_... int syscall(510, void);
  442. 511 0x1FF CEXDEXDECR root sys_hid_manager_set_... 1 Param
  443. 512 0x200 CEXDEXDECR root 1 Param : int syscall(512,sys_pid_t pid), simple root-flag check?;
  444. 513 0x201 CEXDEXDECR sys_hid_manager_... 4 Params
  445. 514 0x202 CEXDEXDECR sys_hid_manager_... 3 Params
  446. #sys_config Syscalls
  447. 516 0x204 CEXDEXDECR sys_config_open 2 Params : (sys_event_queue_t * equeue_id, uint64_t *out)
  448. 517 0x205 CEXDEXDECR sys_config_close sys_config_close(sys_event_queue_t * equeue_id);
  449. 518 0x206 CEXDEXDECR sys_config_get_service_event 4 Params:
  450. 519 0x207 CEXDEXDECR sys_config_add_service_listener 6 Params
  451. 520 0x208 CEXDEXDECR sys_config_remove_service_listener 2 Params
  452. 521 0x209 CEXDEXDECR sys_config_register_service 7 Params
  453. 522 0x20A CEXDEXDECR sys_config_unregister_service 2 Params
  454. 523 0x20B CEXDEXDECR sys_config_io_event
  455. 524 0x20C CEXDEXDECR sys_config_
  456. 525 0x20D CEXDEXDECR sys_config_
  457. #sys_usbd Syscalls
  458. 530 0x212 CEXDEXDECR sys_usbd_initialize 1 Param, out: *uint32_t
  459. 531 0x213 CEXDEXDECR sys_usbd_finalize 1 Param, in: handle/id
  460. 532 0x214 CEXDEXDECR sys_usbd_get_device_list 3 Params
  461. 533 0x215 CEXDEXDECR sys_usbd_get_descriptor_size 2 Params
  462. 534 0x216 CEXDEXDECR sys_usbd_get_descriptor 3 Params
  463. 535 0x217 CEXDEXDECR sys_usbd_register_ldd 3 Params
  464. 536 0x218 CEXDEXDECR sys_usbd_unregister_ldd 3 Params
  465. 537 0x219 CEXDEXDECR sys_usbd_open_pipe 7 Params
  466. 538 0x21A CEXDEXDECR sys_usbd_open_default_pipe 2 Params
  467. 539 0x21B CEXDEXDECR sys_usbd_close_pipe 2 Params
  468. 540 0x21C CEXDEXDECR sys_usbd_receive_event 4 Params
  469. 541 0x21D CEXDEXDECR sys_usbd_detect_event void
  470. 542 0x21E CEXDEXDECR sys_usbd_attach 4 Params
  471. 543 0x21F CEXDEXDECR sys_usbd_transfer_data 6 Params
  472. 544 0x220 CEXDEXDECR sys_usbd_isochronous_transfer_data 3 Params
  473. 545 0x221 CEXDEXDECR sys_usbd_get_transfer_status 5 Params
  474. 546 0x222 CEXDEXDECR sys_usbd_get_isochronous_transfer_status 5 Params
  475. 547 0x223 CEXDEXDECR sys_usbd_get_device_location 3 Params
  476. 548 0x224 CEXDEXDECR sys_usbd_send_event 2 Params
  477. 549 0x225 CEXDEXDECR 4 Params
  478. 550 0x226 CEXDEXDECR sys_usbd_allocate_memory 3 Params
  479. 551 0x227 CEXDEXDECR sys_usbd_free_memory 2 Params
  480. 552 0x228 CEXDEXDECR 1 Param
  481. 553 0x229 CEXDEXDECR void
  482. 554 0x22A CEXDEXDECR void
  483. 555 0x22B CEXDEXDECR void
  484. 556 0x22C CEXDEXDECR sys_usbd_get_device_speed 3 Params, , , out:uint8_t[1]
  485. 557 0x22D CEXDEXDECR 5 Params
  486. 558 0x22E CEXDEXDECR 3 Params
  487. 559 0x22F CEXDEXDECR sys_usbd_register_extra_ldd 6 Params
  488. #sys_gl819 Syscalls Cardcontroller cf/sd/mmc/sm/ms
  489. 560 0x230 CEXDEXDECR root
  490. 561 0x231 CEXDEXDECR root 1 Param: out:uint8_t [4] (cf/sd/mmc/sm/ms flag availability from hw config)
  491. 562 0x232 CEXDEXDECR root gets MultiCardReader Firmware Version: syscall(0x232, out:uint8_t [2])
  492. 563 0x233 CEXDEXDECR
  493. 564 0x234 CEXDEXDECR
  494. 565 0x235 CEXDEXDECR
  495. 566 0x236 CEXDEXDECR
  496. 567 0x237 CEXDEXDECR
  497. 568 0x238 CEXDEXDECR
  498. 569 0x239 CEXDEXDECR
  499. #PAD Manager Syscalls PAD related
  500. 570 0x23A CEXDEXDECR
  501. 571 0x23B CEXDEXDECR sys_pad_ldd_unregister_controller int sys_pad_ldd_unregister_controller ( int32_t handle)
  502. 572 0x23C CEXDEXDECR sys_pad_ldd_data_insert int sys_pad_ldd_data_insert (int32_t handle, cellpaddata* data /* uint8_t[0x84] */)
  503. 573 0x23D CEXDEXDECR sys_pad_dbg_ldd_set_data_insert_mode int sys_pad_dbg_ldd_set_data_insert_mode ( int32_t handle, 0x100, uint32_t* mode , 4)
  504. 574 0x23E CEXDEXDECR sys_pad_ldd_register_controller int sys_pad_ldd_register_controller/sys_pad_dbg_ldd_register_controller ( uint8_t[0x114] /* struct */, int32_t* out, 5, uint32_t device_capability<<1)
  505. 575 0x23F CEXDEXDECR sys_pad_ldd_get_port_no int sys_pad_ldd_get_port_no (int32_t handle)
  506. 577 0x241 CEXDEXDECR root PM sys_pad_manager_.... int sys_pad_manager_.... (int8_t device_number?)
  507. #sys_bluetooth Syscalls
  508. 578 0x242 CEXDEXDECR
  509. 579 0x243 CEXDEXDECR
  510. 580 0x244 CEXDEXDECR root
  511. 581 0x245 CEXDEXDECR root
  512. 582 0x246 CEXDEXDECR root
  513. 583 0x247 CEXDEXDECR root gets Bluetooth Firmware Version: syscall(0x247, out:uint8_t [2])
  514. 584 0x248 CEXDEXDECR root
  515. 585 0x249 CEXDEXDECR
  516. 586 0x24A CEXDEXDECR return 0x80010003
  517. 587 0x24B CEXDEXDECR root
  518. 588 0x24C CEXDEXDECR return 0x80010003
  519. 589 0x24D CEXDEXDECR return 0x80010003
  520. 590 0x24E CEXDEXDECR root bt_set_device_info()
  521. 591 0x24F CEXDEXDECR return 0
  522. 592 0x250 CEXDEXDECR return 0
  523. 593 0x251 CEXDEXDECR root getting bluetooth address
  524. 594 0x252 CEXDEXDECR return 0x80010003
  525. 595 0x253 CEXDEXDECR return 0x80010003
  526. 596 0x254 CEXDEXDECR return 0x80010003
  527. 597 0x255 CEXDEXDECR bt_cancel_connect_accept_controller(),deprecated
  528. 598 0x256 CEXDEXDECR root 0 Param
  529. 599 0x257 CEXDEXDECR root 2 Params: out:uint8_t[2], out:uint8_t[2]
  530. #sys_storage Syscalls (600-623+837+838)
  531. 600 0x258 CEXDEXDECR root sys_storage_open int sys_storage_open(uint64_t id, int mode, int *fd, int flags) mode=0,flags=0
  532. 601 0x259 CEXDEXDECR sys_storage_close int sys_storage_close(int fd)
  533. 602 0x25A CEXDEXDECR sys_storage_read int sys_storage_read(int fd, int mode?, uint32_t start_sector, uint32_t sectors, uint8_t *bounce_buf, uint32_t *sectors_read, uint64_t flags) mode?=0
  534. 603 0x25B CEXDEXDECR sys_storage_write
  535. 604 0x25C CEXDEXDECR sys_storage_send_device_command 6 Params:
  536. 605 0x25D CEXDEXDECR sys_storage_async_configure int sys_storage_async_configure(uint32_t fd, sys_io_buffer_t io_buffer, sys_event_queue_t equeue_id, int *unknown)
  537. 606 0x25E CEXDEXDECR sys_storage_async_read int sys_storage_async_read(int fd, int unknown_1, uint32_t start_sector, uint32_t sectors, sys_io_block_t bounce_buf, uint64_t user_data, int unknown_2) unknown_1=0, unknown_2=0
  538. 607 0x25F CEXDEXDECR sys_storage_async_write 7 Params:
  539. 608 0x260 CEXDEXDECR sys_storage_async_cancel 2 Params
  540. 609 0x261 CEXDEXDECR root sys_storage_get_device_info int sys_storage_get_device_info(uint64_t device, uint8_t *buffer), buffer[40]=total sectors,buffer[48]=sector size,buffer[53]=writable
  541. 610 0x262 CEXDEXDECR root sys_storage_get_device_config 2 Params: int sys_storage_get_device_config(uint64_t device, uint8_t *config) ?
  542. 611 0x263 CEXDEXDECR root sys_storage_report_devices 4 Params:
  543. 612 0x264 CEXDEXDECR root sys_storage_configure_medium_event 3 Params
  544. 613 0x265 CEXDEXDECR sys_storage_set_medium_polling_interval 2 Params
  545. 614 0x266 CEXDEXDECR sys_storage_create_region
  546. 615 0x267 CEXDEXDECR sys_storage_delete_region int sys_storage_delete_region(uint32_t dev_id,uint64_t index);
  547. 616 0x268 CEXDEXDECR sys_storage_execute_device_command sys_storage_execute_device_command(uint32_t dev_handle, uint64_t cmd, const void *cmdbuf, uint64_t cmdbuf_size, void *databuf, uint64_t databuf_size, uint64_t *unknown)
  548. 617 0x269 CEXDEXDECR sys_storage_check_region_acl alias int sys_storage_get_region_acl(device_id, region_id, index, authority, mask);
  549. 618 0x26A CEXDEXDECR sys_storage_set_region_acl int sys_storage_set_region_acl(device_id, region_id, authority, permission);
  550. 619 0x26B CEXDEXDECR sys_storage_async_send_device_command sys_storage_async_send_device_command(uint32_t dev_handle, uint64_t cmd, const void *cmdbuf, uint64_t cmdbuf_size, void *databuf, uint64_t databuf_size, uint64_t *unknown)
  551. 620 0x26C CEXDEXDECR root hid ldd if, kb/mouse/pad.... (param1: ?,0,1,2 or 3;param2;param3;param4;param5)
  552. 621 0x26D CEXDEXDECR sys_gamepad_ycon_if syscall(621,packet_id,uint8_t *in,uint8_t *out) Talk:LV2_Functions_and_Syscalls#Syscall_621_.280x26D.29 gamepad_if usage
  553. 622 0x26E CEXDEXDECR sys_storage_get_region_offset
  554. 623 0x26F DECR sys_storage_set_emulated_speed
  555. #sys_io Syscalls (624-627)
  556. 624 0x270 CEXDEXDECR sys_io_buffer_create int sys_io_buffer_create(int io_block_count, int block_size, int blocks, int unknown_3, sys_io_buffer_t *io_buffer)
  557. 625 0x271 CEXDEXDECR sys_io_buffer_destroy int sys_io_buffer_destroy(sys_io_buffer_t io_buffer)
  558. 626 0x272 CEXDEXDECR sys_io_buffer_allocate int sys_io_buffer_allocate(sys_io_buffer_t io_buffer, sys_io_block_t *block)
  559. 627 0x273 CEXDEXDECR sys_io_buffer_free int sys_io_buffer_free(sys_io_buffer_t io_buffer, sys_io_block_t block)
  560. #sys_gpio Syscalls (630-631)
  561. 630 0x276 CEXDEXDECR sys_gpio_set int sys_gpio_set (uint64_t device_id, uint64_t mask, uint64_t value)
  562. 631 0x277 CEXDEXDECR sys_gpio_get int sys_gpio_get (uint64_t device_id, uint64_t *value)
  563. #sys_fsw Syscalls (633-634)
  564. 633 0x279 DECR sys_fsw_connect_event int sys_fsw_connect_event(sys_event_queue_t eq_id)
  565. 634 0x27A DECR sys_fsw_disconnect_event int sys_fsw_disconnect_event(void)
  566. #Bluetooth Syscalls
  567. 635 0x27B CEXDEXDECR root sys_btsetting_if? 2 Params: uint64_t packet_id (0=init,1=finalize,....27) , uint8_t buffer
  568. 636 0x27C CEXDEXDECR root (BT Database Lookup)
  569. 637 0x27D CEXDEXDECR root BT dev list related, syscall(0x27d, out:uint8_t[0x100])
  570. 638 0x27E CEXDEXDECR root BT related, 3 Params: packet_id (<7), input, output?
  571. #USB Bluetooth Audio Syscalls (639-649)
  572. 639 0x27F CEXDEXDECR "deprecated!" (seems Sony doesnt want/like USB Bluetooth Audio transmitter/receiver)
  573. 640 0x280 CEXDEXDECR "deprecated!"
  574. 641 0x281 CEXDEXDECR "deprecated!"
  575. 642 0x282 CEXDEXDECR "deprecated!"
  576. 643 0x283 CEXDEXDECR "deprecated!"
  577. 644 0x284 CEXDEXDECR "deprecated!"
  578. 645 0x285 CEXDEXDECR "deprecated!"
  579. 646 0x286 CEXDEXDECR "deprecated!"
  580. 647 0x287 CEXDEXDECR "deprecated!"
  581. 648 0x288 CEXDEXDECR "deprecated!"
  582. 649 0x289 CEXDEXDECR "deprecated!"
  583. #RSX Audio Syscalls (650-x)
  584. 650 0x28A CEXDEXDECR sys_rsxaudio_initialize int sys_rsxaudio_initialize(out:uint8[4])
  585. 651 0x28B CEXDEXDECR sys_rsxaudio_finalize 1 Params
  586. 652 0x28C CEXDEXDECR sys_rsxaudio_import_shared_memory 2 Params
  587. 653 0x28D CEXDEXDECR sys_rsxaudio_unimport_shared_memory 2 Params
  588. 654 0x28E CEXDEXDECR sys_rsxaudio_create_connection 1 Params
  589. 655 0x28F CEXDEXDECR sys_rsxaudio_close_connection 1 Params
  590. 656 0x290 CEXDEXDECR sys_rsxaudio_prepare_process 1 Params
  591. 657 0x291 CEXDEXDECR sys_rsxaudio_start_process 1 Params
  592. 658 0x292 CEXDEXDECR sys_rsxaudio_ 1 Params
  593. 659 0x293 CEXDEXDECR sys_rsxaudio_ 3 Params
  594. #sys_rsx Syscalls (666-667)
  595. 666 0x29A CEXDEXDECR sys_rsx_device_open 1 Param
  596. 667 0x29B CEXDEXDECR sys_rsx_device_close
  597. 668 0x29C CEXDEXDECR sys_rsx_memory_allocate
  598. 669 0x29D CEXDEXDECR sys_rsx_memory_free
  599. 670 0x29E CEXDEXDECR sys_rsx_context_allocate
  600. 671 0x29F CEXDEXDECR sys_rsx_context_free
  601. 672 0x2A0 CEXDEXDECR sys_rsx_context_iomap
  602. 673 0x2A1 CEXDEXDECR sys_rsx_context_iounmap
  603. 674 0x2A2 CEXDEXDECR sys_rsx_context_attribute
  604. 675 0x2A3 CEXDEXDECR sys_rsx_device_map
  605. 676 0x2A4 CEXDEXDECR sys_rsx_device_unmap
  606. 677 0x2A5 CEXDEXDECR sys_rsx_attribute
  607. 678 0x2A6 DEX DECR
  608. 679 0x2A7 CEXDEXDECR root
  609. #Bluetooth USB Audio Syscalls (680-696)
  610. 680 0x2A8 CEXDEXDECR root
  611. 681 0x2A9 CEXDEXDECR root
  612. 682 0x2AA CEXDEXDECR root
  613. 683 0x2AB CEXDEXDECR root
  614. 684 0x2AC CEXDEXDECR root
  615. 685 0x2AD CEXDEXDECR root
  616. 686 0x2AE CEXDEXDECR root
  617. 687 0x2AF CEXDEXDECR root
  618. 688 0x2B0 CEXDEXDECR root
  619. 689 0x2B1 CEXDEXDECR root
  620. 690 0x2B2 CEXDEXDECR root
  621. 691 0x2B3 CEXDEXDECR root
  622. 692 0x2B4 CEXDEXDECR root
  623. 693 0x2B5 CEXDEXDECR root
  624. 694 0x2B6 CEXDEXDECR "deprecated!" (usbbtaudio)
  625. 695 0x2B7 CEXDEXDECR "deprecated!" (usbbtaudio)
  626. 696 0x2B8 CEXDEXDECR root bt audio interface, packetid 0-4 (0= GetSinkConfig)
  627. #sys_bdemu Syscalls (699)
  628. 699 0x2BB DEX DECR sys_bdemu_send_command sys_bdemu_send_command(cmd, unused, unk1, result_buffer, result_buffer_len)
  629. cmd 0: returns BDemu usb DeviceID
  630. cmd 1: eject image (unk1 and result_buffer must be 0)
  631. cmd 2: format bdemu hdd?
  632. #sys_net Syscalls (700-726)
  633. 700 0x2BC CEXDEXDECR sys_net_bnet_accept int sys_net_bnet_accept (int s, struct sockaddr *addr, socklen_t *paddrlen ) // s = socket descriptor
  634. 701 0x2BD CEXDEXDECR sys_net_bnet_bind int sys_net_bnet_bind ( int s, const struct sockaddr *addr, socklen_t addrlen )
  635. 702 0x2BE CEXDEXDECR sys_net_bnet_connect int sys_net_bnet_connect ( int s, const struct sockaddr *addr, socklen_t addrlen )
  636. 703 0x2BF CEXDEXDECR sys_net_bnet_getpeername int sys_net_bnet_getpeername ( int s, struct sockaddr *addr, socklen_t *paddrlen )
  637. 704 0x2C0 CEXDEXDECR sys_net_bnet_getsockname int sys_net_bnet_getsockname ( int s, struct sockaddr *addr, socklen_t *paddrlen )
  638. 705 0x2C1 CEXDEXDECR sys_net_bnet_getsockopt int sys_net_bnet_getsockopt ( int s, int level, int optname, void *optval, socklen_t *optlen )
  639. 706 0x2C2 CEXDEXDECR sys_net_bnet_listen int sys_net_bnet_listen ( int s, int backlog )
  640. 707 0x2C3 CEXDEXDECR sys_net_bnet_recvfrom int sys_net_bnet_recvfrom ( int s, void *buf, size_t len, int flags, struct sockaddr *addr, socklen_t *paddrlen )
  641. 708 0x2C4 CEXDEXDECR sys_net_bnet_recvmsg int sys_net_bnet_recvmsg ( int s, struct msghdr *msg, int flags )
  642. 709 0x2C5 CEXDEXDECR sys_net_bnet_sendmsg int sys_net_bnet_sendmsg ( int s, const struct msghdr *msg, int flags )
  643. 710 0x2C6 CEXDEXDECR sys_net_bnet_sendto int sys_net_bnet_sendto ( int s, const void *buf, size_t len, int flags, const struct sockaddr *addr, socklen_t addrlen )
  644. 711 0x2C7 CEXDEXDECR sys_net_bnet_setsockop int sys_net_bnet_setsockop ( int s, int level, int optname, const void *optval, socklen_t optlen )
  645. 712 0x2C8 CEXDEXDECR sys_net_bnet_shutdown int sys_net_bnet_shutdown ( int s, int how )
  646. 713 0x2C9 CEXDEXDECR sys_net_bnet_socket int sys_net_bnet_socket ( int family, int type, int protocol )
  647. 714 0x2CA CEXDEXDECR sys_net_bnet_close int sys_net_bnet_close ( int fd )
  648. 715 0x2CB CEXDEXDECR sys_net_bnet_poll
  649. 716 0x2CC CEXDEXDECR sys_net_bnet_select
  650. 717 0x2CD CEXDEXDECR sys_net_open_dump int sys_net_open_dump ( int len, int flags )
  651. 718 0x2CE CEXDEXDECR sys_net_read_dump int sys_net_read_dump ( int id, void *buf, int len, int *pflags )
  652. 719 0x2CF CEXDEXDECR sys_net_close_dump int sys_net_close_dump ( int id, int *pflags )
  653. 720 0x2D0 CEXDEXDECR sys_net_write_dump int sys_net_write_dump ( char *buf )
  654. 721 0x2D1 CEXDEXDECR sys_net_abort int sys_net_abort (packet id <5: 0=abort socket,1=abort resolver ), sys_net_thread_id_t tid/int socket_descriptor, int flags )
  655. 722 0x2D2 CEXDEXDECR sys_net_infoctl
  656. 723 0x2D3 CEXDEXDECR sys_net_control
  657. 724 0x2D4 CEXDEXDECR sys_net_bnet_ioctl
  658. 725 0x2D5 CEXDEXDECR sys_net_bnet_sysctl
  659. 726 0x2D6 CEXDEXDECR sys_net_eurus_post_command int sys_net_eurus_post_command(uint16_t cmd, uint8_t *cmdbuf, uint64_t cmdbuf_size) Hypervisor_Reverse_Engineering#Commands_2 Commands
  660. #lv2Fs Syscalls (801-834)
  661. 800 0x320 CEXDEXDECR sys_fs_test int sys_fs_test(packetid < 7 (6 tests) ,0,*deviceid,4,uint8* out[0x420],0x420)
  662. 801 0x321 CEXDEXDECR sys_fs_open CellFsErrno sys_fs_open(const char *path, int flags, int *fd, uint64_t mode, const void *arg, uint64_t size);
  663. 802 0x322 CEXDEXDECR sys_fs_read CellFsErrno sys_fs_read(int fd, void *buf, uint64_t nbytes, uint64_t *nread);
  664. 803 0x323 CEXDEXDECR sys_fs_write CellFsErrno sys_fs_write(int fd, const void *buf, uint64_t nbytes, uint64_t *nwrite);
  665. 804 0x324 CEXDEXDECR sys_fs_close CellFsErrno sys_fs_close(int fd);
  666. 805 0x325 CEXDEXDECR sys_fs_opendir CellFsErrno sys_fs_opendir(const char *path, int *fd);
  667. 806 0x326 CEXDEXDECR sys_fs_readdir CellFsErrno sys_fs_readdir(int fd, CellFsDirent *dir, uint64_t *nread);
  668. 807 0x327 CEXDEXDECR sys_fs_closedir CellFsErrno sys_fs_closedir(int fd);
  669. 808 0x328 CEXDEXDECR sys_fs_stat CellFsErrno sys_fs_stat(const char *path, CellFsStat *sb);
  670. 809 0x329 CEXDEXDECR sys_fs_fstat CellFsErrno sys_fs_fstat(int fd, CellFsStat *sb);
  671. 810 0x32A CEXDEXDECR sys_fs_link int sys_fs_link(char const*, char const*)
  672. 811 0x32B CEXDEXDECR sys_fs_mkdir CellFsErrno sys_fs_mkdir(const char *path, CellFsMode mode);
  673. 812 0x32C CEXDEXDECR sys_fs_rename CellFsErrno sys_fs_rename(const char *from, const char *to);
  674. 813 0x32D CEXDEXDECR sys_fs_rmdir CellFsErrno sys_fs_rmdir(const char *path);
  675. 814 0x32E CEXDEXDECR sys_fs_unlink CellFsErrno sys_fs_unlink(const char *path);
  676. 815 0x32F CEXDEXDECR sys_fs_utime CellFsErrno sys_fs_utime(const char *path, const CellFsUtimbuf *timep);
  677. 816 0x330 CEXDEXDECR sys_fs_access int sys_fs_access(char cont*, int)
  678. 817 0x331 CEXDEXDECR sys_fs_fcntl int sys_fs_fcntl(int, int, void *, unsigned long)
  679. 818 0x332 CEXDEXDECR sys_fs_lseek CellFsErrno sys_fs_lseek(int fd, int64_t offset, int whence, uint64_t *pos);
  680. 819 0x333 CEXDEXDECR sys_fs_fdatasync int sys_fs_datasync(int)
  681. 820 0x334 CEXDEXDECR sys_fs_fsync CellFsErrno sys_fs_fsync(int fd);
  682. 821 0x335 CEXDEXDECR sys_fs_fget_block_size int sys_fs_fget_block_size(int, unsigned long *, unsigned long *, unsigned long *, int *)
  683. 822 0x336 CEXDEXDECR sys_fs_get_block_size int sys_fs_get_block_size(char const*, unsigned long *, unsigned long *, unsigned long *)
  684. 823 0x337 CEXDEXDECR sys_fs_acl_read int sys_fs_acl_read(char const*, CellFsAcl *)
  685. 824 0x338 CEXDEXDECR sys_fs_acl_write int sys_fs_acl_read(char const*, CellFsAcl *)
  686. 825 0x339 CEXDEXDECR sys_fs_lsn_get_cda_size int sys_fs_lsn_get_cda_size(int, unsigned long *)
  687. 826 0x33A CEXDEXDECR sys_fs_lsn_get_cda int sys_fs_lsn_get_cda(int, CellFsCda *, unsigned long, unsigned long *)
  688. 827 0x33B CEXDEXDECR sys_fs_lsn_lock int sys_fs_lsn_lock(int)
  689. 828 0x33C CEXDEXDECR sys_fs_lsn_unlock int sys_fs_lsn_unlock(int)
  690. 829 0x33D CEXDEXDECR sys_fs_lsn_read int sys_fs_lsn_read(int, CellFsCda const*, unsigned long)
  691. 830 0x33E CEXDEXDECR sys_fs_lsn_write int sys_fs_lsn_write(int, CellFsCda const*, unsigned long)
  692. 831 0x33F CEXDEXDECR sys_fs_truncate CellFsErrno sys_fs_truncate(const char *path, uint64_t size);
  693. 832 0x340 CEXDEXDECR sys_fs_ftruncate CellFsErrno sys_fs_ftruncate(int fd, uint64_t size);
  694. 833 0x341 CEXDEXDECR sys_fs_symbolic_link int sys_fs_symbolic_link(char const*, char const*)
  695. 834 0x342 CEXDEXDECR sys_fs_chmod CellFsErrno sys_fs_chmod(const char *path, CellFsMode mode);
  696. 835 0x343 CEXDEXDECR sys_fs_chown int sys_fs_chown(char const*, int, int)
  697. 836 0x344 CEXDEXDECR sys_fs_newfs int sys_fs_newfs(char const* deviceName, char const*, int, char const**)
  698. 837 0x345 CEXDEXDECR sys_fs_mount int sys_fs_mount(char const* deviceName, char const*, char const*, int, int, int, char const**)
  699. Example: Device Name (e.g CELL_FS_IOS:BUILTIN_FLSH1), Device File System (e.g CELL_FS_FAT), Device Path (e.g. /dev_flash), 0, Write Protection (0 or 1), 0, 0, 0
  700. 838 0x346 CEXDEXDECR sys_fs_unmount int sys_fs_unmount(char const*, int, int)
  701. Parameters: Device Path (e.g. /dev_flash)
  702. 839 0x347 CEXDEXDECR sys_fs_sync int sys_fs_sync(const char *dir) Parameter: Device Path (e.g. /dev_hdd0)
  703. 840 0x348 CEXDEXDECR sys_fs_disk_free int sys_fs_disk_free(char const*, unsigned long *, unsigned long *)
  704. 841 0x349 CEXDEXDECR sys_fs_get_mount_info_size int sys_fs_get_mount_info_size(unsigned long *)
  705. 842 0x34A CEXDEXDECR sys_fs_get_mount_info int sys_fs_get_mount_info(CellFsMountInformation *, unsigned long, unsigned long *)
  706. 843 0x34B CEXDEXDECR sys_fs_get_fs_info_size int sys_fs_get_fs_info_size(unsigned long *)
  707. 844 0x34C CEXDEXDECR sys_fs_get_fs_info int sys_fs_get_fs_info(ulong, ulong*, CellFsInfo *)
  708. 845 0x34D CEXDEXDECR sys_fs_mapped_allocate int sys_fs_mapped_allocate(int, unsigned long, void **)
  709. 846 0x34E CEXDEXDECR sys_fs_mapped_free int sys_fs_mapped_free(int, void *)
  710. 847 0x34F CEXDEXDECR sys_fs_truncate2 int sys_fs_ftruncate2(int fd, uint64_t size);
  711. #process socket service syscalls (861-864)
  712. 860 0x35C CEXDEXDECR AuthID syscall_sys_ss_get_cache_of_analog_sunset_flag int syscall_sys_ss_get_cache_of_analog_sunset_flag(out:uint8_t[1])
  713. 861 0x35D CEXDEXDECR root gamesave_storage_manager_if(uint32_t packetid (0-0x13), uint8_t buf[0xB8], const char* path, int32_t len, int32_t unk2, int32_t unk3, 0, 0);
  714. 862 0x35E CEXDEXDECR root vtrm_manager_if (Interface)
  715. 863 0x35F CEXDEXDECR root update_manager_if (Interface)
  716. 864 0x360 CEXDEXDECR dbg storage_manager_if (Interface)
  717. #sys_ss/sys_get Syscalls (865-879)
  718. 865 0x361 CEXDEXDECR root AuthID sys_ss_random_number_generator int sys_ss_random_number_generator(id,buffer,size), alias sys_get_random_number
  719. 866 0x362 CEXDEXDECR root secure_rtc_manager_if (Interface)
  720. 867 0x363 CEXDEXDECR root aim_manager_if (Interface)
  721. 868 0x364 CEXDEXDECR root / dbg AuthID indi_info_manager_if (Interface)
  722. 869 0x365 CEXDEXDECR root fdm_manager_if ?
  723. 870 0x366 CEXDEXDECR sys_ss_get_console_id int sys_ss_get_console_id(uint8_t *buf) //returns IDPS in buf
  724. 871 0x367 CEXDEXDECR dbg sys_ss_access_control_engine 3 params (1,sys_pid_t,out:uint8_t [8]) / (2 or 3,out:uint8_t [8],0)
  725. 872 0x368 CEXDEXDECR sys_ss_get_open_psid int sys_ss_get_open_psid(CellSsOpenPSID *ptr) ; typedef struct CellSsOpenPSID { uint64_t high; uint64_t low;}
  726. 873 0x369 CEXDEXDECR sys_ss_get_cache_of_product_mode int sys_ss_get_cache_of_product_mode(uint8_t *ptr [1]);
  727. 874 0x36A CEXDEXDECR sys_ss_get_cache_of_flash_ext_flag int sys_ss_get_cache_of_flash_ext_flag(uint8_t *flag [1])
  728. 875 0x36B CEXDEXDECR sys_ss_get_boot_device int sys_ss_get_boot_device(uint8_t * buf [8]);
  729. 876 0x36C CEXDEXDECR sys_ss_disc_access_control 2Params: 0x20000(=get_disc_access_control),uint32_t * disc_access / 0x20001(=set_disc_access_control),1
  730. 877 0x36D CEXDEXDECR root sys_ss_~utoken_if syscall(877,0x25003=Decrypt or 0x25004 or 0x25005=Encrypt or 0x25006=(copy syscall table to user), uint8_t *token, 0xC50 (size)), user_token_manager_if
  731. 878 0x36E CEXDEXDECR sys_ss_ad_sign syscall(878, 0x26001, in_buffer[0x14], out_buffer[0x80])
  732. 879 0x36F CEXDEXDECR sys_ss_media_id syscall(879, 0x10001, out_buffer[0x10])
  733. #sys_deci3 Syscalls (880-884)
  734. 880 0x370 DEX DECR sys_deci3_open int sys_deci3_open(sys_deci3_protocol_t protocol, sys_deci3_port_t port, void *option, sys_deci3_session_t * session_id);
  735. 881 0x371 DEX DECR sys_deci3_create_event_path int sys_deci3_create_event_path(sys_deci3_session_t session_id, size_t bufsize, sys_event_queue_t event_queue_id);
  736. 882 0x372 DEX DECR sys_deci3_close int sys_deci3_close(sys_deci3_session_t session_id);
  737. 883 0x373 DEX DECR sys_deci3_send int sys_deci3_send(sys_deci3_session_t session_id, uint8_t * buf, __CSTD size_t size);
  738. 884 0x374 DEX DECR sys_deci3_receive int sys_deci3_receive(sys_deci3_session_t session_id, uint8_t * buf, __CSTD size_t size);
  739. 885 0x375 DECR sys_deci3_open2
  740. 889 0x379 DECR root sys_
  741. 890 0x37A sys_deci3_initialize
  742. 891 0x37B sys_deci3_terminate
  743. 892 0x37C sys_deci3_debug_mode
  744. 893 0x37D sys_deci3_show_status
  745. 894 0x37E sys_deci3_echo_test
  746. 895 0x37F sys_deci3_send_dcmp_packet
  747. 896 0x380 sys_deci3_dump_cp_register
  748. 897 0x381 sys_deci3_dump_cp_buffer
  749. 899 0x383 sys_deci3_test
  750. #sys_dbg Syscalls (900-970)
  751. 900 0x384 CEXDEXDECR sys_dbg_stop_processes 2 params: sys_pid_t pid, 1
  752. 901 0x385 DEX DECR sys_dbg_continue_processes
  753. 902 0x386 CEXDEXDECR sys_dbg_stop_threads 2 params: in/out, len
  754. 903 0x387 CEXDEXDECR sys_dbg_continue_threads 2 params: uint64_t *inbuff, int length(0 or ... or 8)
  755. 904 0x388 DEX DECR sys_dbg_read_process_memory int sys_dbg_read_process_memory(sys_pid_t pid, uint64_t process_ea, uint32_t size, void* data)
  756. 905 0x389 DEX DECR sys_dbg_write_process_memory int sys_dbg_write_process_memory(sys_pid_t pid, uint64_t process_ea, uint32_t size, const void* data)
  757. 906 0x38A CEXDEXDECR sys_dbg_read_thread_register 3 Params: uint8_t [0x10], uint64_t *, uint8_t[0x10]
  758. 907 0x38B DEX DECR sys_dbg_write_thread_register
  759. 908 0x38C DEX DECR sys_dbg_get_process_list int sys_dbg_get_process_list(sys_pid_t* pids, uint64_t* max, uint64_t* count)
  760. 909 0x38D CEXDEXDECR sys_dbg_get_thread_list int sys_dbg_get_thread_list( sys_pid_t pid, sys_ppu_thread_t* ids, uint64_t* ids_num, uint64_t* all_ids_num)
  761. 910 0x38E CEXDEXDECR sys_dbg_get_thread_info 2 Params: uint8_t * [0x10] {type,thread id?}, uint8_t [0x80]
  762. 1 spu_thread
  763. 2 spu_thread_group
  764. 0 ppu_thread
  765. 911 0x38F CEXDEXDECR sys_dbg_spu_thread_read_from_ls 4 Params: spu thread id,, size, uint8_t[size]
  766. 912 0x390 DEX DECR sys_dbg_spu_thread_write_to_ls
  767. 913 0x391 DEX DECR sys_dbg_kill_process int sys_dbg_kill_process(sys_pid_t pid)
  768. 914 0x392 CEXDEXDECR sys_dbg_get_process_info int sys_dbg_get_process_info(sys_pid_t pid, sys_process_info_t* info)
  769. 915 0x393 DEX DECR sys_dbg_set_run_control_bit_to_spu
  770. 916 0x394 DEX DECR sys_dbg_spu_thread_get_exception_cause
  771. 917 0x395 DEX DECR sys_dbg_create_kernel_event_queue
  772. 918 0x396 DEX DECR sys_dbg_read_kernel_event_queue
  773. 919 0x397 DEX DECR sys_dbg_destroy_kernel_event_queue
  774. 920 0x398 DEX DECR sys_dbg_get_process_event_ctrl_flag
  775. 921 0x399 DEX DECR sys_dbg_set_process_event_cntl_flag
  776. 922 0x39A DEX DECR sys_dbg_get_spu_thread_group_event_cntl_flag
  777. 923 0x39B DEX DECR sys_dbg_set_spu_thread_group_event_cntl_flag
  778. 924 0x39C DEX DECR
  779. 925 0x39D DEX DECR sys_dbg_get_raw_spu_list
  780. 926 0x39E DEX DECR
  781. 927 0x3A0 DEX DECR
  782. 928 0x3A1 DEX DECR
  783. 929 0x3A2 DEX DECR
  784. 930 0x3A3 DEX DECR
  785. 931 0x3A4 DEX DECR
  786. 932 0x3A4 DEX DECR sys_dbg_get_mutex_list
  787. 933 0x3A5 CEXDEXDECR sys_dbg_get_mutex_information int sys_dbg_get_mutex_information(sys_pid_t id, sys_mutex_t id, sys_dbg_mutex_information_t* info )
  788. 934 0x3A6 DEX DECR sys_dbg_get_cond_list
  789. 935 0x3A7 CEXDEXDECR sys_dbg_get_cond_information int sys_dbg_get_cond_information ( sys_pid_t id, sys_cond_t id, sys_dbg_cond_information_t* info )
  790. 936 0x3A8 DEX DECR sys_dbg_get_rwlock_list
  791. 937 0x3A9 CEXDEXDECR sys_dbg_get_rwlock_information int sys_dbg_get_rwlock_information ( sys_pid_t id, sys_rwlock_t id, sys_dbg_rwlock_information_t* info )
  792. 938 0x3AA DEX DECR sys_dbg_get_lwmutex_list
  793. 939 0x3AB DEX DECR sys_dbg_get_address_from_dabr int sys_dbg_get_address_from_dabr ( sys_pid_t id, uint64_t* addr, uint64_t* ctrl_flag )
  794. 940 0x3AC DEX DECR sys_dbg_set_address_to_dabr int sys_dbg_set_address_to_dabr ( sys_pid_t id, uint64_t addr, uint64_t ctrl_flag )
  795. 941 0x3AD CEXDEXDECR sys_dbg_get_lwmutex_information int sys_dbg_get_lwmutex_information ( sys_pid_t id, sys_lwmutex_pseudo_id_t id, sys_dbg_lwmutex_information_t* info )
  796. 942 0x3AE DEX DECR sys_dbg_get_event_queue_list
  797. 943 0x3AF CEXDEXDECR sys_dbg_get_event_queue_information int sys_dbg_get_event_queue_information ( sys_pid_t id, sys_event_queue_t id, sys_dbg_event_queue_information_t* info )
  798. 944 0x3B0 CEXDEXDECR sys_dbg_initialize_ppu_exception_handler int sys_dbg_initialize_ppu_exception_handler( sys_event_queue_t * equeue_id)
  799. 945 0x3B1 CEXDEXDECR dbg sys_dbg_finalize_ppu_exception_handler int sys_dbg_finalize_ppu_exception_handler ( sys_event_queue_t equeue_id )
  800. 946 0x3B2 DEX DECR sys_dbg_get_semaphore_list
  801. 947 0x3B3 CEXDEXDECR sys_dbg_get_semaphore_information int sys_dbg_get_semaphore_information (sys_pid_t id, sys_semaphore_t id, sys_dbg_semaphore_information_t* info )
  802. 948 0x3B4 DEX DECR sys_dbg_get_kernel_thread_list
  803. 949 0x3B5 DEX DECR sys_dbg_get_kernel_thread_info
  804. 950 0x3B6 DEX DECR sys_dbg_get_lwcond_list
  805. 951 0x3B7 CEXDEXDECR sys_dbg_get_lwcond_information int sys_dbg_get_lwcond_information (sys_pid_t id, sys_lwcond_pseudo_id_t id, sys_dbg_lwcond_information_t* info )
  806. 952 0x3B8 DEX DECR sys_dbg_create_scratch_data_area_ext
  807. 953 0x3B9 DEX DECR sys_dbg_vm_get_page_information int sys_dbg_vm_get_page_information (sys_pid_t id, sys_addr_t addr, unsigned int num, sys_vm_page_information_t *pageinfo )
  808. 954 0x3BA DEX DECR sys_dbg_vm_get_info
  809. 955 0x3BB DEX DECR sys_dbg_enable_floating_point_enabled_exception int sys_dbg_enable_floating_point_enabled_exception ( sys_ppu_thread_t id )
  810. 956 0x3BC DEX DECR sys_dbg_disable_floating_point_enabled_exception int sys_dbg_disable_floating_point_enabled_exception ( sys_ppu_thread_t id )
  811. 957 0x3BD CEXDEXDECR dbg 3 Params: sys_pid_t?, uint8_t [ *0x10 ], uint32_t * out_count
  812. 959 0x3BF CEXDEXDECR sys_dbg_(send event flags?) 4 Params: id, uint64_t,uint64_t,uint64_t
  813. 960 0x3C0 DECR sys_control_performance_monitor? int sys_control_performance_monitor? (int id, 0 / *out ) - Controls Performance Monitor on the Cell Broadband Engine syscall
  814. 961 0x3C1 DECR
  815. 962 0x3C2 DECR
  816. 963 0x3C3 DECR
  817. 964 0x3C4 DECR
  818. 965 0x3C5 DECR
  819. 966 0x3C6 DECR
  820. 967 0x3C7 DECR
  821. 968 0x3C8 DECR
  822. 969 0x3C9 DECR
  823. 970 0x3CA DEX DECR sys_dbg_get_event_flag_list
  824. 971 0x3CB CEXDEXDECR sys_dbg_get_event_flag_information int sys_dbg_get_event_flag_information ( sys_pid_t id, sys_event_flag_t id, sys_dbg_event_flag_information_t* info )
  825. 972 0x3CC CEXDEXDECR sys_dbg_(send event flags?) 1 Param: uint8_t [0x48]
  826. 973 0x3CD DEX DECR
  827. 974 0x3CE CEXDEXDECR sc(0x3CE, in:(ppu)thread_id, out:uint8_t[0x440])
  828. 975 0x3CF CEXDEXDECR sys_dbg_read_spu_thread_context2 int sys_dbg_read_spu_thread_context2( sys_spu_thread_t id, sys_dbg_spu_thread_context2_t* spu_context )
  829. 976 0x3D0 CEXDEXDECR sys_crypto_engine_create int sys_crypto_engine_create(sys_pid_t* id);
  830. 977 0x3D1 CEXDEXDECR sys_crypto_engine_destroy int sys_crypto_engine_destroy(sys_pid_t id);
  831. 978 0x3D2 CEXDEXDECR root sys_crypto_engine_hasher_prepare int sys_crypto_engine_hasher_prepare(sys_pid_t id, int32_t hash_key_index); /* uses HMAC-SHA1 with key size of 0x14 bytes, keys are generated by VTRM (master) */
  832. 979 0x3D3 CEXDEXDECR sys_crypto_engine_hasher_run int sys_crypto_engine_hasher_run(sys_pid_t id, const void* data, uint32_t data size); /* splits data by chunks of 0x400 bytes max */
  833. 980 0x3D4 CEXDEXDECR sys_crypto_engine_hasher_get_hash int sys_crypto_engine_hasher_get_hash(sys_pid_t id, void* buffer, uint32_t max_buffer_size /* >= 0x14 */);
  834. 981 0x3D5 CEXDEXDECR root sys_crypto_engine_cipher_prepare int sys_crypto_engine_cipher_prepare(sys_pid_t id, int32_t hash_key_index, int32_t mode /* 1:encrypt, 2:decrypt */, int32_t cipher_key_index, const void* iv, uint32_t iv_size); /* uses AES-CBC-128, keys are generated by VTRM (master) */
  835. 982 0x3D6 CEXDEXDECR sys_crypto_engine_cipher_run int sys_crypto_engine_cipher_run(sys_pid_t id, const void* input, void* output, uint32_t data_size); /* splits data by chunks of 0x400 bytes max */
  836. 983 0x3D7 CEXDEXDECR sys_crypto_engine_cipher_get_hash int sys_crypto_engine_cipher_get_hash(sys_pid_t id, void* buffer, uint32_t max_buffer_size /* >= 0x14 */);
  837. 984 0x3D8 CEXDEXDECR sys_crypto_engine_random_generate int sys_crypto_engine_random_generate(void* buffer, uint32_t max_buffer_size /* >= 0x10 */);
  838. 985 0x3D9 CEXDEXDECR root sys_dbg_get_console_type? returns Console Type, syscall(985,uint64_t * type)
  839. 1=CEX
  840. 2=DEX
  841. 3=TOOL
  842. 986 0x3DA CEXDEXDECR root dbg seems to return Game Application Title ID , syscall(986,out:uint8[0x40])
  843. 987 0x3DB CEXDEXDECR root syscall(987,0 or 1, uint64_t data), example: 0, 0x8000100000020000 (no root flags required)
  844. example: 1, uint64_t data (requires root flags AND QA-Enabled, sends data to vsh process)
  845. 988 0x3DC CEX sys_dbg_(something)_ppu_exception_handler 2 Params: syscall(988,int i,0) , i <0x10 (1 or 4 or 8 or 0x10)
  846. 989 0x3DD CEXDEXDECR
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement