diff --git a/rpcs3/Emu/Cell/PPUFunction.cpp b/rpcs3/Emu/Cell/PPUFunction.cpp index 4fd88a462a..a0084d78dd 100644 --- a/rpcs3/Emu/Cell/PPUFunction.cpp +++ b/rpcs3/Emu/Cell/PPUFunction.cpp @@ -3,642 +3,6 @@ #include "PPUModule.h" -extern std::string ppu_get_syscall_name(u64 code) -{ - switch (code) - { - case 1: return "sys_process_getpid"; - case 2: return "sys_process_wait_for_child"; - case 4: return "sys_process_get_status"; - case 5: return "sys_process_detach_child"; - case 12: return "sys_process_get_number_of_object"; - case 13: return "sys_process_get_id"; - case 14: return "sys_process_is_spu_lock_line_reservation_address"; - case 18: return "sys_process_getppid"; - case 19: return "sys_process_kill"; - case 21: return "_sys_process_spawn"; - case 22: return "_sys_process_exit"; - case 23: return "sys_process_wait_for_child2"; - case 25: return "sys_process_get_sdk_version"; - case 26: return "_sys_process_exit2"; - case 27: return "sys_process_spawns_a_self2"; - case 28: return "_sys_process_get_number_of_object"; - case 29: return "sys_process_get_id2"; - case 30: return "_sys_process_get_paramsfo"; - case 31: return "sys_process_get_ppu_guid"; - case 41: return "_sys_ppu_thread_exit"; - case 43: return "sys_ppu_thread_yield"; - case 44: return "sys_ppu_thread_join"; - case 45: return "sys_ppu_thread_detach"; - case 46: return "sys_ppu_thread_get_join_state"; - case 47: return "sys_ppu_thread_set_priority"; - case 48: return "sys_ppu_thread_get_priority"; - case 49: return "sys_ppu_thread_get_stack_information"; - case 50: return "sys_ppu_thread_stop"; - case 51: return "sys_ppu_thread_restart"; - case 52: return "_sys_ppu_thread_create"; - case 53: return "sys_ppu_thread_start"; - case 56: return "sys_ppu_thread_rename"; - case 57: return "sys_ppu_thread_recover_page_fault"; - case 58: return "sys_ppu_thread_get_page_fault_context"; - case 60: return "sys_trace_create"; - case 61: return "sys_trace_start"; - case 62: return "sys_trace_stop"; - case 63: return "sys_trace_update_top_index"; - case 64: return "sys_trace_destroy"; - case 65: return "sys_trace_drain"; - case 66: return "sys_trace_attach_process"; - case 67: return "sys_trace_allocate_buffer"; - case 68: return "sys_trace_free_buffer"; - case 69: return "sys_trace_create2"; - case 70: return "sys_timer_create"; - case 71: return "sys_timer_destroy"; - case 72: return "sys_timer_get_information"; - case 73: return "_sys_timer_start"; - case 74: return "sys_timer_stop"; - case 75: return "sys_timer_connect_event_queue"; - case 76: return "sys_timer_disconnect_event_queue"; - case 77: return "sys_trace_create2_in_cbepm"; - case 80: return "sys_interrupt_tag_create"; - case 81: return "sys_interrupt_tag_destroy"; - case 82: return "sys_event_flag_create"; - case 83: return "sys_event_flag_destroy"; - case 84: return "_sys_interrupt_thread_establish"; - case 85: return "sys_event_flag_wait"; - case 86: return "sys_event_flag_trywait"; - case 87: return "sys_event_flag_set"; - case 88: return "sys_interrupt_thread_eoi"; - case 89: return "_sys_interrupt_thread_disestablish"; - case 90: return "sys_semaphore_create"; - case 91: return "sys_semaphore_destroy"; - case 92: return "sys_semaphore_wait"; - case 93: return "sys_semaphore_trywait"; - case 94: return "sys_semaphore_post"; - case 95: return "_sys_lwmutex_create"; - case 96: return "_sys_lwmutex_destroy"; - case 97: return "_sys_lwmutex_lock"; - case 98: return "_sys_lwmutex_unlock"; - case 99: return "_sys_lwmutex_trylock"; - case 100: return "sys_mutex_create"; - case 101: return "sys_mutex_destroy"; - case 102: return "sys_mutex_lock"; - case 103: return "sys_mutex_trylock"; - case 104: return "sys_mutex_unlock"; - case 105: return "sys_cond_create"; - case 106: return "sys_cond_destroy"; - case 107: return "sys_cond_wait"; - case 108: return "sys_cond_signal"; - case 109: return "sys_cond_signal_all"; - case 110: return "sys_cond_signal_to"; - case 111: return "_sys_lwcond_create"; - case 112: return "_sys_lwcond_destroy"; - case 113: return "_sys_lwcond_queue_wait"; - case 114: return "sys_semaphore_get_value"; - case 115: return "_sys_lwcond_signal"; - case 116: return "_sys_lwcond_signal_all"; - case 117: return "_sys_lwmutex_unlock2"; - case 118: return "sys_event_flag_clear"; - case 119: return "sys_time_get_rtc"; - case 120: return "sys_rwlock_create"; - case 121: return "sys_rwlock_destroy"; - case 122: return "sys_rwlock_rlock"; - case 123: return "sys_rwlock_tryrlock"; - case 124: return "sys_rwlock_runlock"; - case 125: return "sys_rwlock_wlock"; - case 126: return "sys_rwlock_trywlock"; - case 127: return "sys_rwlock_wunlock"; - case 128: return "sys_event_queue_create"; - case 129: return "sys_event_queue_destroy"; - case 130: return "sys_event_queue_receive"; - case 131: return "sys_event_queue_tryreceive"; - case 132: return "sys_event_flag_cancel"; - case 133: return "sys_event_queue_drain"; - case 134: return "sys_event_port_create"; - case 135: return "sys_event_port_destroy"; - case 136: return "sys_event_port_connect_local"; - case 137: return "sys_event_port_disconnect"; - case 138: return "sys_event_port_send"; - case 139: return "sys_event_flag_get"; - case 140: return "sys_event_port_connect_ipc"; - case 141: return "sys_timer_usleep"; - case 142: return "sys_timer_sleep"; - case 143: return "sys_time_set_timezone"; - case 144: return "sys_time_get_timezone"; - case 145: return "sys_time_get_current_time"; - case 146: return "sys_time_get_system_time"; - case 147: return "sys_time_get_timebase_frequency"; - case 148: return "_sys_rwlock_trywlock"; - case 150: return "sys_raw_spu_create_interrupt_tag"; - case 151: return "sys_raw_spu_set_int_mask"; - case 152: return "sys_raw_spu_get_int_mask"; - case 153: return "sys_raw_spu_set_int_stat"; - case 154: return "sys_raw_spu_get_int_stat"; - case 155: return "_sys_spu_image_get_information"; - case 156: return "sys_spu_image_open"; - case 157: return "_sys_spu_image_import"; - case 158: return "_sys_spu_image_close"; - case 159: return "_sys_spu_image_get_segments"; - case 160: return "sys_raw_spu_create"; - case 161: return "sys_raw_spu_destroy"; - case 163: return "sys_raw_spu_read_puint_mb"; - case 165: return "sys_spu_thread_get_exit_status"; - case 166: return "sys_spu_thread_set_argument"; - case 167: return "sys_spu_thread_group_start_on_exit"; - case 169: return "sys_spu_initialize"; - case 170: return "sys_spu_thread_group_create"; - case 171: return "sys_spu_thread_group_destroy"; - case 172: return "sys_spu_thread_initialize"; - case 173: return "sys_spu_thread_group_start"; - case 174: return "sys_spu_thread_group_suspend"; - case 175: return "sys_spu_thread_group_resume"; - case 176: return "sys_spu_thread_group_yield"; - case 177: return "sys_spu_thread_group_terminate"; - case 178: return "sys_spu_thread_group_join"; - case 179: return "sys_spu_thread_group_set_priority"; - case 180: return "sys_spu_thread_group_get_priority"; - case 181: return "sys_spu_thread_write_ls"; - case 182: return "sys_spu_thread_read_ls"; - case 184: return "sys_spu_thread_write_snr"; - case 185: return "sys_spu_thread_group_connect_event"; - case 186: return "sys_spu_thread_group_disconnect_event"; - case 187: return "sys_spu_thread_set_spu_cfg"; - case 188: return "sys_spu_thread_get_spu_cfg"; - case 190: return "sys_spu_thread_write_spu_mb"; - case 191: return "sys_spu_thread_connect_event"; - case 192: return "sys_spu_thread_disconnect_event"; - case 193: return "sys_spu_thread_bind_queue"; - case 194: return "sys_spu_thread_unbind_queue"; - case 196: return "sys_raw_spu_set_spu_cfg"; - case 197: return "sys_raw_spu_get_spu_cfg"; - case 198: return "sys_spu_thread_recover_page_fault"; - case 199: return "sys_raw_spu_recover_page_fault"; - case 213: return "sys_console_write2"; - case 215: return "sys_dbg_mat_set_condition"; - case 216: return "sys_dbg_mat_get_condition"; - case 230: return "sys_isolated_spu_create"; - case 231: return "sys_isolated_spu_destroy"; - case 232: return "sys_isolated_spu_start"; - case 233: return "sys_isolated_spu_create_interrupt_tag"; - case 234: return "sys_isolated_spu_set_int_mask"; - case 235: return "sys_isolated_spu_get_int_mask"; - case 236: return "sys_isolated_spu_set_int_stat"; - case 237: return "sys_isolated_spu_get_int_stat"; - case 238: return "sys_isolated_spu_set_spu_cfg"; - case 239: return "sys_isolated_spu_get_spu_cfg"; - case 240: return "sys_isolated_spu_read_puint_mb"; - case 244: return "sys_spu_thread_group_system_set_next_group"; - case 245: return "sys_spu_thread_group_system_unset_next_group"; - case 246: return "sys_spu_thread_group_system_set_switch_group"; - case 247: return "sys_spu_thread_group_system_unset_switch_group"; - case 250: return "sys_spu_thread_group_set_cooperative_victims"; - case 251: return "sys_spu_thread_group_connect_event_all_threads"; - case 252: return "sys_spu_thread_group_disconnect_event_all_threads"; - case 253: return "sys_spu_thread_group_syscall_253"; - case 254: return "sys_spu_thread_group_log"; - case 260: return "sys_spu_image_open_by_fd"; - case 300: return "sys_vm_memory_map"; - case 301: return "sys_vm_unmap"; - case 302: return "sys_vm_append_memory"; - case 303: return "sys_vm_return_memory"; - case 304: return "sys_vm_lock"; - case 305: return "sys_vm_unlock"; - case 306: return "sys_vm_touch"; - case 307: return "sys_vm_flush"; - case 308: return "sys_vm_invalidate"; - case 309: return "sys_vm_store"; - case 310: return "sys_vm_sync"; - case 311: return "sys_vm_test"; - case 312: return "sys_vm_get_statistics"; - case 313: return "sys_vm_memory_map_different"; - case 324: return "sys_memory_container_create"; - case 325: return "sys_memory_container_destroy"; - case 326: return "sys_mmapper_allocate_fixed_address"; - case 327: return "sys_mmapper_enable_page_fault_notification"; - case 328: return "sys_mmapper_allocate_shared_memory_from_container_ext"; - case 329: return "sys_mmapper_free_shared_memory"; - case 330: return "sys_mmapper_allocate_address"; - case 331: return "sys_mmapper_free_address"; - case 332: return "sys_mmapper_allocate_shared_memory"; - case 333: return "sys_mmapper_set_shared_memory_flag"; - case 334: return "sys_mmapper_map_shared_memory"; - case 335: return "sys_mmapper_unmap_shared_memory"; - case 336: return "sys_mmapper_change_address_access_right"; - case 337: return "sys_mmapper_search_and_map"; - case 338: return "sys_mmapper_get_shared_memory_attribute"; - case 339: return "sys_mmapper_allocate_shared_memory_ext"; - case 341: return "sys_memory_container_create"; - case 342: return "sys_memory_container_destroy"; - case 343: return "sys_memory_container_get_size"; - case 344: return "sys_memory_budget_set"; - case 348: return "sys_memory_allocate"; - case 349: return "sys_memory_free"; - case 350: return "sys_memory_allocate_from_container"; - case 351: return "sys_memory_get_page_attribute"; - case 352: return "sys_memory_get_user_memory_size"; - case 353: return "sys_memory_get_user_memory_stat"; - case 356: return "sys_memory_allocate_colored"; - case 361: return "sys_memory_allocate_from_container_colored"; - case 362: return "sys_mmapper_allocate_shared_memory_from_container"; - case 367: return "sys_uart_initialize"; - case 368: return "sys_uart_receive"; - case 369: return "sys_uart_send"; - case 370: return "sys_uart_get_params"; - case 372: return "sys_game_watchdog_start"; - case 373: return "sys_game_watchdog_stop"; - case 374: return "sys_game_watchdog_clear"; - case 375: return "sys_game_set_system_sw_version"; - case 376: return "sys_game_get_system_sw_version"; - case 377: return "sys_sm_set_shop_mode"; - case 378: return "sys_sm_get_ext_event2"; - case 379: return "sys_sm_shutdown"; - case 380: return "sys_sm_get_params"; - case 381: return "sys_sm_get_inter_lpar_parameter"; - case 382: return "sys_sm_initialize"; - case 383: return "sys_game_get_temperature"; - case 384: return "sys_sm_get_tzpb"; - case 385: return "sys_sm_request_led"; - case 386: return "sys_sm_control_led"; - case 387: return "sys_sm_get_system_info"; - case 388: return "sys_sm_ring_buzzer"; - case 389: return "sys_sm_set_fan_policy"; - case 390: return "sys_sm_request_error_log"; - case 391: return "sys_sm_request_be_count"; - case 392: return "sys_sm_ring_buzzer"; - case 393: return "sys_sm_get_hw_config"; - case 394: return "sys_sm_request_scversion"; - case 395: return "sys_sm_request_system_event_log"; - case 396: return "sys_sm_set_rtc_alarm"; - case 397: return "sys_sm_get_rtc_alarm"; - case 398: return "sys_console_write"; - case 402: return "sys_tty_read"; - case 403: return "sys_tty_write"; - case 408: return "sys_sm_get_tzpb"; - case 409: return "sys_sm_get_fan_policy"; - case 410: return "sys_game_board_storage_read"; - case 411: return "sys_game_board_storage_write"; - case 412: return "sys_game_get_rtc_status"; - case 450: return "sys_overlay_load_module"; - case 451: return "sys_overlay_unload_module"; - case 452: return "sys_overlay_get_module_list"; - case 453: return "sys_overlay_get_module_info"; - case 454: return "sys_overlay_load_module_by_fd"; - case 455: return "sys_overlay_get_module_info2"; - case 456: return "sys_overlay_get_sdk_version"; - case 457: return "sys_overlay_get_module_dbg_info"; - case 458: return "sys_overlay_get_module_dbg_info"; - case 460: return "sys_prx_dbg_get_module_id_list"; - case 461: return "_sys_prx_get_module_id_by_address"; - case 463: return "_sys_prx_load_module_by_fd"; - case 464: return "_sys_prx_load_module_on_memcontainer_by_fd"; - case 465: return "_sys_prx_load_module_list"; - case 466: return "_sys_prx_load_module_list_on_memcontainer"; - case 467: return "sys_prx_get_ppu_guid"; - case 470: return "sys_npdrm_check_ekc"; - case 471: return "sys_npdrm_regist_ekc"; - case 480: return "_sys_prx_load_module"; - case 481: return "_sys_prx_start_module"; - case 482: return "_sys_prx_stop_module"; - case 483: return "_sys_prx_unload_module"; - case 484: return "_sys_prx_register_module"; - case 485: return "_sys_prx_query_module"; - case 486: return "_sys_prx_register_library"; - case 487: return "_sys_prx_unregister_library"; - case 488: return "_sys_prx_link_library"; - case 489: return "_sys_prx_unlink_library"; - case 490: return "_sys_prx_query_library"; - case 492: return "sys_prx_dbg_get_module_list"; - case 493: return "sys_prx_dbg_get_module_info"; - case 494: return "_sys_prx_get_module_list"; - case 495: return "_sys_prx_get_module_info"; - case 496: return "_sys_prx_get_module_id_by_name"; - case 497: return "_sys_prx_load_module_on_memcontainer"; - case 498: return "_sys_prx_start"; - case 499: return "_sys_prx_stop"; - case 500: return "sys_hid_manager_open"; - case 501: return "sys_hid_manager_close"; - case 502: return "sys_hid_manager_read"; - case 503: return "sys_hid_manager_ioctl"; - case 504: return "sys_hid_manager_map_logical_id_to_port_id"; - case 505: return "sys_hid_manager_unmap_logical_id_to_port_id"; - case 506: return "sys_hid_manager_add_hot_key_observer"; - case 507: return "sys_hid_manager_remove_hot_key_observer"; - case 508: return "sys_hid_manager_grab_focus"; - case 509: return "sys_hid_manager_release_focus"; - case 510: return "sys_hid_manager_check_focus"; - case 511: return "sys_hid_manager_set_master_process"; - case 512: return "sys_hid_manager_is_process_permission_root"; - case 514: return "sys_hid_manager_514"; - case 516: return "sys_config_open"; - case 517: return "sys_config_close"; - case 518: return "sys_config_get_service_event"; - case 519: return "sys_config_add_service_listener"; - case 520: return "sys_config_remove_service_listener"; - case 521: return "sys_config_register_service"; - case 522: return "sys_config_unregister_service"; - case 523: return "sys_config_get_io_event"; - case 524: return "sys_config_register_io_error_listener"; - case 525: return "sys_config_unregister_io_error_listener"; - case 530: return "sys_usbd_initialize"; - case 531: return "sys_usbd_finalize"; - case 532: return "sys_usbd_get_device_list"; - case 533: return "sys_usbd_get_descriptor_size"; - case 534: return "sys_usbd_get_descriptor"; - case 535: return "sys_usbd_register_ldd"; - case 536: return "sys_usbd_unregister_ldd"; - case 537: return "sys_usbd_open_pipe"; - case 538: return "sys_usbd_open_default_pipe"; - case 539: return "sys_usbd_close_pipe"; - case 540: return "sys_usbd_receive_event"; - case 541: return "sys_usbd_detect_event"; - case 542: return "sys_usbd_attach"; - case 543: return "sys_usbd_transfer_data"; - case 544: return "sys_usbd_isochronous_transfer_data"; - case 545: return "sys_usbd_get_transfer_status"; - case 546: return "sys_usbd_get_isochronous_transfer_status"; - case 547: return "sys_usbd_get_device_location"; - case 548: return "sys_usbd_send_event"; - case 549: return "sys_usbd_event_port_send"; - case 550: return "sys_usbd_allocate_memory"; - case 551: return "sys_usbd_free_memory"; - case 556: return "sys_usbd_get_device_speed"; - case 559: return "sys_usbd_register_extra_ldd"; - case 570: return "sys_pad_ldd_register_controller"; - case 571: return "sys_pad_ldd_unregister_controller"; - case 572: return "sys_pad_ldd_data_insert"; - case 573: return "sys_pad_dbg_ldd_set_data_insert_mode"; - case 574: return "sys_pad_ldd_register_controller"; - case 575: return "sys_pad_ldd_get_port_no"; - case 583: return "sys_bt_read_firmware_version"; - case 584: return "sys_bt_complete_wake_on_host"; - case 585: return "sys_bt_disable_bluetooth"; - case 586: return "sys_bt_enable_bluetooth"; - case 587: return "sys_bt_bccmd"; - case 588: return "sys_bt_read_hq"; - case 589: return "sys_bt_hid_get_remote_status"; - case 590: return "sys_bt_register_controller"; - case 591: return "sys_bt_clear_registered_contoller"; - case 592: return "sys_bt_connect_accept_controller"; - case 593: return "sys_bt_get_local_bdaddress"; - case 594: return "sys_bt_hid_get_data"; - case 595: return "sys_bt_hid_set_report"; - case 596: return "sys_bt_sched_log"; - case 597: return "sys_bt_cancel_connect_accept_controller"; - case 600: return "sys_storage_open"; - case 601: return "sys_storage_close"; - case 602: return "sys_storage_read"; - case 603: return "sys_storage_write"; - case 604: return "sys_storage_send_device_command"; - case 605: return "sys_storage_async_configure"; - case 606: return "sys_storage_async_read"; - case 607: return "sys_storage_async_write"; - case 608: return "sys_storage_async_cancel"; - case 609: return "sys_storage_get_device_info"; - case 610: return "sys_storage_get_device_config"; - case 611: return "sys_storage_report_devices"; - case 612: return "sys_storage_configure_medium_event"; - case 613: return "sys_storage_set_medium_polling_interval"; - case 614: return "sys_storage_create_region"; - case 615: return "sys_storage_delete_region"; - case 616: return "sys_storage_execute_device_command"; - case 617: return "sys_storage_check_region_acl"; - case 618: return "sys_storage_set_region_acl"; - case 619: return "sys_storage_async_send_device_command"; - case 621: return "sys_gamepad_ycon_if"; - case 622: return "sys_storage_get_region_offset"; - case 623: return "sys_storage_set_emulated_speed"; - case 624: return "sys_io_buffer_create"; - case 625: return "sys_io_buffer_destroy"; - case 626: return "sys_io_buffer_allocate"; - case 627: return "sys_io_buffer_free"; - case 630: return "sys_gpio_set"; - case 631: return "sys_gpio_get"; - case 633: return "sys_fsw_connect_event"; - case 634: return "sys_fsw_disconnect_event"; - case 635: return "sys_btsetting_if"; - case 640: return "sys_usbbtaudio_initialize"; - case 641: return "sys_usbbtaudio_finalize"; - case 642: return "sys_usbbtaudio_discovery"; - case 643: return "sys_usbbtaudio_cancel_discovery"; - case 644: return "sys_usbbtaudio_pairing"; - case 645: return "sys_usbbtaudio_set_passkey"; - case 646: return "sys_usbbtaudio_connect"; - case 647: return "sys_usbbtaudio_disconnect"; - case 650: return "sys_rsxaudio_initialize"; - case 651: return "sys_rsxaudio_finalize"; - case 652: return "sys_rsxaudio_import_shared_memory"; - case 653: return "sys_rsxaudio_unimport_shared_memory"; - case 654: return "sys_rsxaudio_create_connection"; - case 655: return "sys_rsxaudio_close_connection"; - case 656: return "sys_rsxaudio_prepare_process"; - case 657: return "sys_rsxaudio_start_process"; - case 658: return "sys_rsxaudio_stop_process"; - case 666: return "sys_rsx_device_open"; - case 667: return "sys_rsx_device_close"; - case 668: return "sys_rsx_memory_allocate"; - case 669: return "sys_rsx_memory_free"; - case 670: return "sys_rsx_context_allocate"; - case 671: return "sys_rsx_context_free"; - case 672: return "sys_rsx_context_iomap"; - case 673: return "sys_rsx_context_iounmap"; - case 674: return "sys_rsx_context_attribute"; - case 675: return "sys_rsx_device_map"; - case 676: return "sys_rsx_device_unmap"; - case 677: return "sys_rsx_attribute"; - case 699: return "sys_bdemu_send_command"; - case 700: return "sys_net_bnet_accept"; - case 701: return "sys_net_bnet_bind"; - case 702: return "sys_net_bnet_connect"; - case 703: return "sys_net_bnet_getpeername"; - case 704: return "sys_net_bnet_getsockname"; - case 705: return "sys_net_bnet_getsockopt"; - case 706: return "sys_net_bnet_listen"; - case 707: return "sys_net_bnet_recvfrom"; - case 708: return "sys_net_bnet_recvmsg"; - case 709: return "sys_net_bnet_sendmsg"; - case 710: return "sys_net_bnet_sendto"; - case 711: return "sys_net_bnet_setsockopt"; - case 712: return "sys_net_bnet_shutdown"; - case 713: return "sys_net_bnet_socket"; - case 714: return "sys_net_bnet_close"; - case 715: return "sys_net_bnet_poll"; - case 716: return "sys_net_bnet_select"; - case 717: return "_sys_net_open_dump"; - case 718: return "_sys_net_read_dump"; - case 719: return "_sys_net_close_dump"; - case 720: return "_sys_net_write_dump"; - case 721: return "sys_net_abort"; - case 722: return "sys_net_infoctl"; - case 723: return "sys_net_control"; - case 724: return "sys_net_bnet_ioctl"; - case 725: return "sys_net_bnet_sysctl"; - case 726: return "sys_net_eurus_post_command"; - case 800: return "sys_fs_test"; - case 801: return "sys_fs_open"; - case 802: return "sys_fs_read"; - case 803: return "sys_fs_write"; - case 804: return "sys_fs_close"; - case 805: return "sys_fs_opendir"; - case 806: return "sys_fs_readdir"; - case 807: return "sys_fs_closedir"; - case 808: return "sys_fs_stat"; - case 809: return "sys_fs_fstat"; - case 810: return "sys_fs_link"; - case 811: return "sys_fs_mkdir"; - case 812: return "sys_fs_rename"; - case 813: return "sys_fs_rmdir"; - case 814: return "sys_fs_unlink"; - case 815: return "sys_fs_utime"; - case 816: return "sys_fs_access"; - case 817: return "sys_fs_fcntl"; - case 818: return "sys_fs_lseek"; - case 819: return "sys_fs_fdatasync"; - case 820: return "sys_fs_fsync"; - case 821: return "sys_fs_fget_block_size"; - case 822: return "sys_fs_get_block_size"; - case 823: return "sys_fs_acl_read"; - case 824: return "sys_fs_acl_write"; - case 825: return "sys_fs_lsn_get_cda_size"; - case 826: return "sys_fs_lsn_get_cda"; - case 827: return "sys_fs_lsn_lock"; - case 828: return "sys_fs_lsn_unlock"; - case 829: return "sys_fs_lsn_read"; - case 830: return "sys_fs_lsn_write"; - case 831: return "sys_fs_truncate"; - case 832: return "sys_fs_ftruncate"; - case 833: return "sys_fs_symbolic_link"; - case 834: return "sys_fs_chmod"; - case 835: return "sys_fs_chown"; - case 836: return "sys_fs_newfs"; - case 837: return "sys_fs_mount"; - case 838: return "sys_fs_unmount"; - case 839: return "sys_fs_sync"; - case 840: return "sys_fs_disk_free"; - case 841: return "sys_fs_get_mount_info_size"; - case 842: return "sys_fs_get_mount_info"; - case 843: return "sys_fs_get_fs_info_size"; - case 844: return "sys_fs_get_fs_info"; - case 845: return "sys_fs_mapped_allocate"; - case 846: return "sys_fs_mapped_free"; - case 847: return "sys_fs_truncate2"; - case 860: return "sys_ss_get_cache_of_analog_sunset_flag"; - case 861: return "sys_ss_protected_file_db"; - case 862: return "sys_ss_virtual_trm_manager"; - case 863: return "sys_ss_update_manager"; - case 864: return "sys_ss_sec_hw_framework"; - case 865: return "sys_ss_random_number_generator"; - case 866: return "sys_ss_secure_rtc"; - case 867: return "sys_ss_appliance_info_manager"; - case 868: return "sys_ss_individual_info_manager"; - case 869: return "sys_ss_factory_data_manager"; - case 870: return "sys_ss_get_console_id"; - case 871: return "sys_ss_access_control_engine"; - case 872: return "sys_ss_get_open_psid"; - case 873: return "sys_ss_get_cache_of_product_mode"; - case 874: return "sys_ss_get_cache_of_flash_ext_flag"; - case 875: return "sys_ss_get_boot_device"; - case 876: return "sys_ss_disc_access_control"; - case 878: return "sys_ss_ad_sign"; - case 879: return "sys_ss_media_id"; - case 880: return "sys_deci3_open"; - case 881: return "sys_deci3_create_event_path"; - case 882: return "sys_deci3_close"; - case 883: return "sys_deci3_send"; - case 884: return "sys_deci3_receive"; - case 885: return "sys_deci3_open2"; - case 890: return "sys_deci3_initialize"; - case 891: return "sys_deci3_terminate"; - case 892: return "sys_deci3_debug_mode"; - case 893: return "sys_deci3_show_status"; - case 894: return "sys_deci3_echo_test"; - case 895: return "sys_deci3_send_dcmp_packet"; - case 896: return "sys_deci3_dump_cp_register"; - case 897: return "sys_deci3_dump_cp_buffer"; - case 899: return "sys_deci3_test"; - case 900: return "sys_dbg_stop_processes"; - case 901: return "sys_dbg_continue_processes"; - case 902: return "sys_dbg_stop_threads"; - case 903: return "sys_dbg_continue_threads"; - case 904: return "sys_dbg_read_process_memory"; - case 905: return "sys_dbg_write_process_memory"; - case 906: return "sys_dbg_read_thread_register"; - case 907: return "sys_dbg_write_thread_register"; - case 908: return "sys_dbg_get_process_list"; - case 909: return "sys_dbg_get_thread_list"; - case 910: return "sys_dbg_get_thread_info"; - case 911: return "sys_dbg_spu_thread_read_from_ls"; - case 912: return "sys_dbg_spu_thread_write_to_ls"; - case 913: return "sys_dbg_kill_process"; - case 914: return "sys_dbg_get_process_info"; - case 915: return "sys_dbg_set_run_control_bit_to_spu"; - case 916: return "sys_dbg_spu_thread_get_exception_cause"; - case 917: return "sys_dbg_create_kernel_event_queue"; - case 918: return "sys_dbg_read_kernel_event_queue"; - case 919: return "sys_dbg_destroy_kernel_event_queue"; - case 920: return "sys_dbg_get_process_event_ctrl_flag"; - case 921: return "sys_dbg_set_process_event_cntl_flag"; - case 922: return "sys_dbg_get_spu_thread_group_event_cntl_flag"; - case 923: return "sys_dbg_set_spu_thread_group_event_cntl_flag"; - case 924: return "sys_dbg_get_module_list"; - case 925: return "sys_dbg_get_raw_spu_list"; - case 926: return "sys_dbg_initialize_scratch_executable_area"; - case 927: return "sys_dbg_terminate_scratch_executable_area"; - case 928: return "sys_dbg_initialize_scratch_data_area"; - case 929: return "sys_dbg_terminate_scratch_data_area"; - case 930: return "sys_dbg_get_user_memory_stat"; - case 931: return "sys_dbg_get_shared_memory_attribute_list"; - case 932: return "sys_dbg_get_mutex_list"; - case 933: return "sys_dbg_get_mutex_information"; - case 934: return "sys_dbg_get_cond_list"; - case 935: return "sys_dbg_get_cond_information"; - case 936: return "sys_dbg_get_rwlock_list"; - case 937: return "sys_dbg_get_rwlock_information"; - case 938: return "sys_dbg_get_lwmutex_list"; - case 939: return "sys_dbg_get_address_from_dabr"; - case 940: return "sys_dbg_set_address_to_dabr"; - case 941: return "sys_dbg_get_lwmutex_information"; - case 942: return "sys_dbg_get_event_queue_list"; - case 943: return "sys_dbg_get_event_queue_information"; - case 944: return "sys_dbg_initialize_ppu_exception_handler"; - case 945: return "sys_dbg_finalize_ppu_exception_handler"; - case 946: return "sys_dbg_get_semaphore_list"; - case 947: return "sys_dbg_get_semaphore_information"; - case 948: return "sys_dbg_get_kernel_thread_list"; - case 949: return "sys_dbg_get_kernel_thread_info"; - case 950: return "sys_dbg_get_lwcond_list"; - case 951: return "sys_dbg_get_lwcond_information"; - case 952: return "sys_dbg_create_scratch_data_area_ext"; - case 953: return "sys_dbg_vm_get_page_information"; - case 954: return "sys_dbg_vm_get_info"; - case 955: return "sys_dbg_enable_floating_point_enabled_exception"; - case 956: return "sys_dbg_disable_floating_point_enabled_exception"; - case 957: return "sys_dbg_get_process_memory_container_information"; - case 960: return "sys_control_performance_monitor"; - case 961: return "sys_performance_monitor_hidden"; - case 962: return "sys_performance_monitor_bookmark"; - case 963: return "sys_lv1_pc_trace_create"; - case 964: return "sys_lv1_pc_trace_start"; - case 965: return "sys_lv1_pc_trace_stop"; - case 966: return "sys_lv1_pc_trace_get_status"; - case 967: return "sys_lv1_pc_trace_destroy"; - case 968: return "sys_rsx_trace_ioctl"; - case 970: return "sys_dbg_get_event_flag_list"; - case 971: return "sys_dbg_get_event_flag_information"; - case 975: return "sys_dbg_read_spu_thread_context2"; - case 976: return "sys_crypto_engine_create"; - case 977: return "sys_crypto_engine_destroy"; - case 978: return "sys_crypto_engine_hasher_prepare"; - case 979: return "sys_crypto_engine_hasher_run"; - case 980: return "sys_crypto_engine_hasher_get_hash"; - case 981: return "sys_crypto_engine_cipher_prepare"; - case 982: return "sys_crypto_engine_cipher_run"; - case 983: return "sys_crypto_engine_cipher_get_hash"; - case 984: return "sys_crypto_engine_random_generate"; - case 985: return "sys_dbg_get_console_type"; - } - - return fmt::format("syscall_%llu", code); -} - // Get function name by FNID extern std::string ppu_get_function_name(const std::string& _module, u32 fnid) { diff --git a/rpcs3/Emu/Cell/PPUModule.cpp b/rpcs3/Emu/Cell/PPUModule.cpp index f96367cfee..bfa42ef6c8 100644 --- a/rpcs3/Emu/Cell/PPUModule.cpp +++ b/rpcs3/Emu/Cell/PPUModule.cpp @@ -25,7 +25,6 @@ LOG_CHANNEL(ppu_loader); -extern void ppu_initialize_syscalls(); extern std::string ppu_get_function_name(const std::string& _module, u32 fnid); extern std::string ppu_get_variable_name(const std::string& _module, u32 vnid); extern void ppu_register_range(u32 addr, u32 size); @@ -131,8 +130,6 @@ static void ppu_initialize_modules(ppu_linkage_info* link) return; } - ppu_initialize_syscalls(); - const std::initializer_list registered { &ppu_module_manager::cellAdec, diff --git a/rpcs3/Emu/Cell/lv2/lv2.cpp b/rpcs3/Emu/Cell/lv2/lv2.cpp index ae171e6492..c801ed925a 100644 --- a/rpcs3/Emu/Cell/lv2/lv2.cpp +++ b/rpcs3/Emu/Cell/lv2/lv2.cpp @@ -71,7 +71,7 @@ void fmt_class_string::format(std::string& out, u64 arg) }); } -static bool null_func(ppu_thread& ppu) +static bool null_func_(ppu_thread& ppu) { ppu_log.todo("Unimplemented syscall %s -> CELL_OK (r3=0x%llx, r4=0x%llx, r5=0x%llx, r6=0x%llx, r7=0x%llx, r8=0x%llx, r9=0x%llx, r10=0x%llx)", ppu_syscall_code(ppu.gpr[11]), ppu.gpr[3], ppu.gpr[4], ppu.gpr[5], ppu.gpr[6], ppu.gpr[7], ppu.gpr[8], ppu.gpr[9], ppu.gpr[10]); @@ -81,7 +81,7 @@ static bool null_func(ppu_thread& ppu) return false; } -static bool uns_func(ppu_thread& ppu) +static bool uns_func_(ppu_thread& ppu) { ppu_log.trace("Unused syscall %d -> ENOSYS", ppu.gpr[11]); ppu.gpr[3] = CELL_ENOSYS; @@ -89,7 +89,12 @@ static bool uns_func(ppu_thread& ppu) return false; } -std::array g_ppu_syscall_table{}; +// Bind Syscall +#define BIND_SYSC(func) {BIND_FUNC(func), #func} +#define NULL_FUNC(name) {null_func_, #name} + +constexpr std::pair null_func{null_func_, ""}; +constexpr std::pair uns_func{uns_func_, ""}; // UNS = Unused // ROOT = Root @@ -97,636 +102,636 @@ std::array g_ppu_syscall_table{}; // DEX..DECR = Unavailable on retail consoles // PM = Product Mode // AuthID = Authentication ID -const std::array s_ppu_syscall_table +const std::array, 1024> g_ppu_syscall_table { null_func, - BIND_FUNC(sys_process_getpid), //1 (0x001) - BIND_FUNC(sys_process_wait_for_child), //2 (0x002) ROOT - null_func,//BIND_FUNC(sys_process_exit), //3 (0x003) - BIND_FUNC(sys_process_get_status), //4 (0x004) DBG - BIND_FUNC(sys_process_detach_child), //5 (0x005) DBG + BIND_SYSC(sys_process_getpid), //1 (0x001) + BIND_SYSC(sys_process_wait_for_child), //2 (0x002) ROOT + null_func, //3 (0x003) + BIND_SYSC(sys_process_get_status), //4 (0x004) DBG + BIND_SYSC(sys_process_detach_child), //5 (0x005) DBG uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, //6-11 UNS - BIND_FUNC(sys_process_get_number_of_object), //12 (0x00C) - BIND_FUNC(sys_process_get_id), //13 (0x00D) - BIND_FUNC(sys_process_is_spu_lock_line_reservation_address), //14 (0x00E) + BIND_SYSC(sys_process_get_number_of_object), //12 (0x00C) + BIND_SYSC(sys_process_get_id), //13 (0x00D) + BIND_SYSC(sys_process_is_spu_lock_line_reservation_address), //14 (0x00E) uns_func, uns_func, uns_func, //15-17 UNS - BIND_FUNC(sys_process_getppid), //18 (0x012) - BIND_FUNC(sys_process_kill), //19 (0x013) + BIND_SYSC(sys_process_getppid), //18 (0x012) + BIND_SYSC(sys_process_kill), //19 (0x013) uns_func, //20 (0x014) UNS - null_func,//BIND_FUNC(_sys_process_spawn), //21 (0x015) DBG - BIND_FUNC(_sys_process_exit), //22 (0x016) - BIND_FUNC(sys_process_wait_for_child2), //23 (0x017) DBG - null_func,//BIND_FUNC(), //24 (0x018) DBG - BIND_FUNC(sys_process_get_sdk_version), //25 (0x019) - BIND_FUNC(_sys_process_exit2), //26 (0x01A) - BIND_FUNC(sys_process_spawns_a_self2), //27 (0x01B) DBG - null_func,//BIND_FUNC(_sys_process_get_number_of_object)//28 (0x01C) ROOT - BIND_FUNC(sys_process_get_id2), //29 (0x01D) ROOT - BIND_FUNC(_sys_process_get_paramsfo), //30 (0x01E) - null_func,//BIND_FUNC(sys_process_get_ppu_guid), //31 (0x01F) + NULL_FUNC(_sys_process_spawn), //21 (0x015) DBG + BIND_SYSC(_sys_process_exit), //22 (0x016) + BIND_SYSC(sys_process_wait_for_child2), //23 (0x017) DBG + null_func,//BIND_SYSC(), //24 (0x018) DBG + BIND_SYSC(sys_process_get_sdk_version), //25 (0x019) + BIND_SYSC(_sys_process_exit2), //26 (0x01A) + BIND_SYSC(sys_process_spawns_a_self2), //27 (0x01B) DBG + NULL_FUNC(_sys_process_get_number_of_object), //28 (0x01C) ROOT + BIND_SYSC(sys_process_get_id2), //29 (0x01D) ROOT + BIND_SYSC(_sys_process_get_paramsfo), //30 (0x01E) + NULL_FUNC(sys_process_get_ppu_guid), //31 (0x01F) uns_func, uns_func ,uns_func , uns_func ,uns_func, uns_func ,uns_func, uns_func ,uns_func, //32-40 UNS - BIND_FUNC(_sys_ppu_thread_exit), //41 (0x029) + BIND_SYSC(_sys_ppu_thread_exit), //41 (0x029) uns_func, //42 (0x02A) UNS - BIND_FUNC(sys_ppu_thread_yield), //43 (0x02B) - BIND_FUNC(sys_ppu_thread_join), //44 (0x02C) - BIND_FUNC(sys_ppu_thread_detach), //45 (0x02D) - BIND_FUNC(sys_ppu_thread_get_join_state), //46 (0x02E) - BIND_FUNC(sys_ppu_thread_set_priority), //47 (0x02F) DBG - BIND_FUNC(sys_ppu_thread_get_priority), //48 (0x030) - BIND_FUNC(sys_ppu_thread_get_stack_information), //49 (0x031) - BIND_FUNC(sys_ppu_thread_stop), //50 (0x032) ROOT - BIND_FUNC(sys_ppu_thread_restart), //51 (0x033) ROOT - BIND_FUNC(_sys_ppu_thread_create), //52 (0x034) DBG - BIND_FUNC(sys_ppu_thread_start), //53 (0x035) - null_func,//BIND_FUNC(sys_ppu_...), //54 (0x036) ROOT - null_func,//BIND_FUNC(sys_ppu_...), //55 (0x037) ROOT - BIND_FUNC(sys_ppu_thread_rename), //56 (0x038) - BIND_FUNC(sys_ppu_thread_recover_page_fault), //57 (0x039) - BIND_FUNC(sys_ppu_thread_get_page_fault_context), //58 (0x03A) + BIND_SYSC(sys_ppu_thread_yield), //43 (0x02B) + BIND_SYSC(sys_ppu_thread_join), //44 (0x02C) + BIND_SYSC(sys_ppu_thread_detach), //45 (0x02D) + BIND_SYSC(sys_ppu_thread_get_join_state), //46 (0x02E) + BIND_SYSC(sys_ppu_thread_set_priority), //47 (0x02F) DBG + BIND_SYSC(sys_ppu_thread_get_priority), //48 (0x030) + BIND_SYSC(sys_ppu_thread_get_stack_information), //49 (0x031) + BIND_SYSC(sys_ppu_thread_stop), //50 (0x032) ROOT + BIND_SYSC(sys_ppu_thread_restart), //51 (0x033) ROOT + BIND_SYSC(_sys_ppu_thread_create), //52 (0x034) DBG + BIND_SYSC(sys_ppu_thread_start), //53 (0x035) + null_func,//BIND_SYSC(sys_ppu_...), //54 (0x036) ROOT + null_func,//BIND_SYSC(sys_ppu_...), //55 (0x037) ROOT + BIND_SYSC(sys_ppu_thread_rename), //56 (0x038) + BIND_SYSC(sys_ppu_thread_recover_page_fault), //57 (0x039) + BIND_SYSC(sys_ppu_thread_get_page_fault_context), //58 (0x03A) uns_func, //59 (0x03B) UNS - BIND_FUNC(sys_trace_create), //60 (0x03C) - BIND_FUNC(sys_trace_start), //61 (0x03D) - BIND_FUNC(sys_trace_stop), //62 (0x03E) - BIND_FUNC(sys_trace_update_top_index), //63 (0x03F) - BIND_FUNC(sys_trace_destroy), //64 (0x040) - BIND_FUNC(sys_trace_drain), //65 (0x041) - BIND_FUNC(sys_trace_attach_process), //66 (0x042) - BIND_FUNC(sys_trace_allocate_buffer), //67 (0x043) - BIND_FUNC(sys_trace_free_buffer), //68 (0x044) - BIND_FUNC(sys_trace_create2), //69 (0x045) - BIND_FUNC(sys_timer_create), //70 (0x046) - BIND_FUNC(sys_timer_destroy), //71 (0x047) - BIND_FUNC(sys_timer_get_information), //72 (0x048) - BIND_FUNC(_sys_timer_start), //73 (0x049) - BIND_FUNC(sys_timer_stop), //74 (0x04A) - BIND_FUNC(sys_timer_connect_event_queue), //75 (0x04B) - BIND_FUNC(sys_timer_disconnect_event_queue), //76 (0x04C) - null_func,//BIND_FUNC(sys_trace_create2_in_cbepm), //77 (0x04D) - null_func,//BIND_FUNC(sys_trace_...) //78 (0x04E) + BIND_SYSC(sys_trace_create), //60 (0x03C) + BIND_SYSC(sys_trace_start), //61 (0x03D) + BIND_SYSC(sys_trace_stop), //62 (0x03E) + BIND_SYSC(sys_trace_update_top_index), //63 (0x03F) + BIND_SYSC(sys_trace_destroy), //64 (0x040) + BIND_SYSC(sys_trace_drain), //65 (0x041) + BIND_SYSC(sys_trace_attach_process), //66 (0x042) + BIND_SYSC(sys_trace_allocate_buffer), //67 (0x043) + BIND_SYSC(sys_trace_free_buffer), //68 (0x044) + BIND_SYSC(sys_trace_create2), //69 (0x045) + BIND_SYSC(sys_timer_create), //70 (0x046) + BIND_SYSC(sys_timer_destroy), //71 (0x047) + BIND_SYSC(sys_timer_get_information), //72 (0x048) + BIND_SYSC(_sys_timer_start), //73 (0x049) + BIND_SYSC(sys_timer_stop), //74 (0x04A) + BIND_SYSC(sys_timer_connect_event_queue), //75 (0x04B) + BIND_SYSC(sys_timer_disconnect_event_queue), //76 (0x04C) + NULL_FUNC(sys_trace_create2_in_cbepm), //77 (0x04D) + null_func,//BIND_SYSC(sys_trace_...), //78 (0x04E) uns_func, //79 (0x04F) UNS - null_func,//BIND_FUNC(sys_interrupt_tag_create) //80 (0x050) - BIND_FUNC(sys_interrupt_tag_destroy), //81 (0x051) - BIND_FUNC(sys_event_flag_create), //82 (0x052) - BIND_FUNC(sys_event_flag_destroy), //83 (0x053) - BIND_FUNC(_sys_interrupt_thread_establish), //84 (0x054) - BIND_FUNC(sys_event_flag_wait), //85 (0x055) - BIND_FUNC(sys_event_flag_trywait), //86 (0x056) - BIND_FUNC(sys_event_flag_set), //87 (0x057) - BIND_FUNC(sys_interrupt_thread_eoi), //88 (0x058) - BIND_FUNC(_sys_interrupt_thread_disestablish), //89 (0x059) - BIND_FUNC(sys_semaphore_create), //90 (0x05A) - BIND_FUNC(sys_semaphore_destroy), //91 (0x05B) - BIND_FUNC(sys_semaphore_wait), //92 (0x05C) - BIND_FUNC(sys_semaphore_trywait), //93 (0x05D) - BIND_FUNC(sys_semaphore_post), //94 (0x05E) - BIND_FUNC(_sys_lwmutex_create), //95 (0x05F) - BIND_FUNC(_sys_lwmutex_destroy), //96 (0x060) - BIND_FUNC(_sys_lwmutex_lock), //97 (0x061) - BIND_FUNC(_sys_lwmutex_unlock), //98 (0x062) - BIND_FUNC(_sys_lwmutex_trylock), //99 (0x063) - BIND_FUNC(sys_mutex_create), //100 (0x064) - BIND_FUNC(sys_mutex_destroy), //101 (0x065) - BIND_FUNC(sys_mutex_lock), //102 (0x066) - BIND_FUNC(sys_mutex_trylock), //103 (0x067) - BIND_FUNC(sys_mutex_unlock), //104 (0x068) - BIND_FUNC(sys_cond_create), //105 (0x069) - BIND_FUNC(sys_cond_destroy), //106 (0x06A) - BIND_FUNC(sys_cond_wait), //107 (0x06B) - BIND_FUNC(sys_cond_signal), //108 (0x06C) - BIND_FUNC(sys_cond_signal_all), //109 (0x06D) - BIND_FUNC(sys_cond_signal_to), //110 (0x06E) - BIND_FUNC(_sys_lwcond_create), //111 (0x06F) - BIND_FUNC(_sys_lwcond_destroy), //112 (0x070) - BIND_FUNC(_sys_lwcond_queue_wait), //113 (0x071) - BIND_FUNC(sys_semaphore_get_value), //114 (0x072) - BIND_FUNC(_sys_lwcond_signal), //115 (0x073) - BIND_FUNC(_sys_lwcond_signal_all), //116 (0x074) - BIND_FUNC(_sys_lwmutex_unlock2), //117 (0x075) - BIND_FUNC(sys_event_flag_clear), //118 (0x076) - null_func,//BIND_FUNC(sys_time_get_rtc) //119 (0x077) ROOT - BIND_FUNC(sys_rwlock_create), //120 (0x078) - BIND_FUNC(sys_rwlock_destroy), //121 (0x079) - BIND_FUNC(sys_rwlock_rlock), //122 (0x07A) - BIND_FUNC(sys_rwlock_tryrlock), //123 (0x07B) - BIND_FUNC(sys_rwlock_runlock), //124 (0x07C) - BIND_FUNC(sys_rwlock_wlock), //125 (0x07D) - BIND_FUNC(sys_rwlock_trywlock), //126 (0x07E) - BIND_FUNC(sys_rwlock_wunlock), //127 (0x07F) - BIND_FUNC(sys_event_queue_create), //128 (0x080) - BIND_FUNC(sys_event_queue_destroy), //129 (0x081) - BIND_FUNC(sys_event_queue_receive), //130 (0x082) - BIND_FUNC(sys_event_queue_tryreceive), //131 (0x083) - BIND_FUNC(sys_event_flag_cancel), //132 (0x084) - BIND_FUNC(sys_event_queue_drain), //133 (0x085) - BIND_FUNC(sys_event_port_create), //134 (0x086) - BIND_FUNC(sys_event_port_destroy), //135 (0x087) - BIND_FUNC(sys_event_port_connect_local), //136 (0x088) - BIND_FUNC(sys_event_port_disconnect), //137 (0x089) - BIND_FUNC(sys_event_port_send), //138 (0x08A) - BIND_FUNC(sys_event_flag_get), //139 (0x08B) - BIND_FUNC(sys_event_port_connect_ipc), //140 (0x08C) - BIND_FUNC(sys_timer_usleep), //141 (0x08D) - BIND_FUNC(sys_timer_sleep), //142 (0x08E) - null_func,//BIND_FUNC(sys_time_set_timezone) //143 (0x08F) ROOT - BIND_FUNC(sys_time_get_timezone), //144 (0x090) - BIND_FUNC(sys_time_get_current_time), //145 (0x091) - null_func,//BIND_FUNC(sys_time_get_system_time), //146 (0x092) ROOT - BIND_FUNC(sys_time_get_timebase_frequency), //147 (0x093) - BIND_FUNC(_sys_rwlock_trywlock), //148 (0x094) + NULL_FUNC(sys_interrupt_tag_create), //80 (0x050) + BIND_SYSC(sys_interrupt_tag_destroy), //81 (0x051) + BIND_SYSC(sys_event_flag_create), //82 (0x052) + BIND_SYSC(sys_event_flag_destroy), //83 (0x053) + BIND_SYSC(_sys_interrupt_thread_establish), //84 (0x054) + BIND_SYSC(sys_event_flag_wait), //85 (0x055) + BIND_SYSC(sys_event_flag_trywait), //86 (0x056) + BIND_SYSC(sys_event_flag_set), //87 (0x057) + BIND_SYSC(sys_interrupt_thread_eoi), //88 (0x058) + BIND_SYSC(_sys_interrupt_thread_disestablish), //89 (0x059) + BIND_SYSC(sys_semaphore_create), //90 (0x05A) + BIND_SYSC(sys_semaphore_destroy), //91 (0x05B) + BIND_SYSC(sys_semaphore_wait), //92 (0x05C) + BIND_SYSC(sys_semaphore_trywait), //93 (0x05D) + BIND_SYSC(sys_semaphore_post), //94 (0x05E) + BIND_SYSC(_sys_lwmutex_create), //95 (0x05F) + BIND_SYSC(_sys_lwmutex_destroy), //96 (0x060) + BIND_SYSC(_sys_lwmutex_lock), //97 (0x061) + BIND_SYSC(_sys_lwmutex_unlock), //98 (0x062) + BIND_SYSC(_sys_lwmutex_trylock), //99 (0x063) + BIND_SYSC(sys_mutex_create), //100 (0x064) + BIND_SYSC(sys_mutex_destroy), //101 (0x065) + BIND_SYSC(sys_mutex_lock), //102 (0x066) + BIND_SYSC(sys_mutex_trylock), //103 (0x067) + BIND_SYSC(sys_mutex_unlock), //104 (0x068) + BIND_SYSC(sys_cond_create), //105 (0x069) + BIND_SYSC(sys_cond_destroy), //106 (0x06A) + BIND_SYSC(sys_cond_wait), //107 (0x06B) + BIND_SYSC(sys_cond_signal), //108 (0x06C) + BIND_SYSC(sys_cond_signal_all), //109 (0x06D) + BIND_SYSC(sys_cond_signal_to), //110 (0x06E) + BIND_SYSC(_sys_lwcond_create), //111 (0x06F) + BIND_SYSC(_sys_lwcond_destroy), //112 (0x070) + BIND_SYSC(_sys_lwcond_queue_wait), //113 (0x071) + BIND_SYSC(sys_semaphore_get_value), //114 (0x072) + BIND_SYSC(_sys_lwcond_signal), //115 (0x073) + BIND_SYSC(_sys_lwcond_signal_all), //116 (0x074) + BIND_SYSC(_sys_lwmutex_unlock2), //117 (0x075) + BIND_SYSC(sys_event_flag_clear), //118 (0x076) + BIND_SYSC(sys_time_get_rtc), //119 (0x077) ROOT + BIND_SYSC(sys_rwlock_create), //120 (0x078) + BIND_SYSC(sys_rwlock_destroy), //121 (0x079) + BIND_SYSC(sys_rwlock_rlock), //122 (0x07A) + BIND_SYSC(sys_rwlock_tryrlock), //123 (0x07B) + BIND_SYSC(sys_rwlock_runlock), //124 (0x07C) + BIND_SYSC(sys_rwlock_wlock), //125 (0x07D) + BIND_SYSC(sys_rwlock_trywlock), //126 (0x07E) + BIND_SYSC(sys_rwlock_wunlock), //127 (0x07F) + BIND_SYSC(sys_event_queue_create), //128 (0x080) + BIND_SYSC(sys_event_queue_destroy), //129 (0x081) + BIND_SYSC(sys_event_queue_receive), //130 (0x082) + BIND_SYSC(sys_event_queue_tryreceive), //131 (0x083) + BIND_SYSC(sys_event_flag_cancel), //132 (0x084) + BIND_SYSC(sys_event_queue_drain), //133 (0x085) + BIND_SYSC(sys_event_port_create), //134 (0x086) + BIND_SYSC(sys_event_port_destroy), //135 (0x087) + BIND_SYSC(sys_event_port_connect_local), //136 (0x088) + BIND_SYSC(sys_event_port_disconnect), //137 (0x089) + BIND_SYSC(sys_event_port_send), //138 (0x08A) + BIND_SYSC(sys_event_flag_get), //139 (0x08B) + BIND_SYSC(sys_event_port_connect_ipc), //140 (0x08C) + BIND_SYSC(sys_timer_usleep), //141 (0x08D) + BIND_SYSC(sys_timer_sleep), //142 (0x08E) + NULL_FUNC(sys_time_set_timezone), //143 (0x08F) ROOT + BIND_SYSC(sys_time_get_timezone), //144 (0x090) + BIND_SYSC(sys_time_get_current_time), //145 (0x091) + NULL_FUNC(sys_time_get_system_time), //146 (0x092) ROOT + BIND_SYSC(sys_time_get_timebase_frequency), //147 (0x093) + BIND_SYSC(_sys_rwlock_trywlock), //148 (0x094) uns_func, //149 (0x095) UNS - BIND_FUNC(sys_raw_spu_create_interrupt_tag), //150 (0x096) - BIND_FUNC(sys_raw_spu_set_int_mask), //151 (0x097) - BIND_FUNC(sys_raw_spu_get_int_mask), //152 (0x098) - BIND_FUNC(sys_raw_spu_set_int_stat), //153 (0x099) - BIND_FUNC(sys_raw_spu_get_int_stat), //154 (0x09A) - BIND_FUNC(_sys_spu_image_get_information), //155 (0x09B) - BIND_FUNC(sys_spu_image_open), //156 (0x09C) - BIND_FUNC(_sys_spu_image_import), //157 (0x09D) - BIND_FUNC(_sys_spu_image_close), //158 (0x09E) - BIND_FUNC(_sys_spu_image_get_segments), //159 (0x09F) - BIND_FUNC(sys_raw_spu_create), //160 (0x0A0) - BIND_FUNC(sys_raw_spu_destroy), //161 (0x0A1) + BIND_SYSC(sys_raw_spu_create_interrupt_tag), //150 (0x096) + BIND_SYSC(sys_raw_spu_set_int_mask), //151 (0x097) + BIND_SYSC(sys_raw_spu_get_int_mask), //152 (0x098) + BIND_SYSC(sys_raw_spu_set_int_stat), //153 (0x099) + BIND_SYSC(sys_raw_spu_get_int_stat), //154 (0x09A) + BIND_SYSC(_sys_spu_image_get_information), //155 (0x09B) + BIND_SYSC(sys_spu_image_open), //156 (0x09C) + BIND_SYSC(_sys_spu_image_import), //157 (0x09D) + BIND_SYSC(_sys_spu_image_close), //158 (0x09E) + BIND_SYSC(_sys_spu_image_get_segments), //159 (0x09F) + BIND_SYSC(sys_raw_spu_create), //160 (0x0A0) + BIND_SYSC(sys_raw_spu_destroy), //161 (0x0A1) uns_func, //162 (0x0A2) UNS - BIND_FUNC(sys_raw_spu_read_puint_mb), //163 (0x0A3) + BIND_SYSC(sys_raw_spu_read_puint_mb), //163 (0x0A3) uns_func, //164 (0x0A4) UNS - BIND_FUNC(sys_spu_thread_get_exit_status), //165 (0x0A5) - BIND_FUNC(sys_spu_thread_set_argument), //166 (0x0A6) - null_func,//BIND_FUNC(sys_spu_thread_group_start_on_exit)//167(0x0A7) + BIND_SYSC(sys_spu_thread_get_exit_status), //165 (0x0A5) + BIND_SYSC(sys_spu_thread_set_argument), //166 (0x0A6) + NULL_FUNC(sys_spu_thread_group_start_on_exit), //167 (0x0A7) uns_func, //168 (0x0A8) UNS - BIND_FUNC(sys_spu_initialize), //169 (0x0A9) - BIND_FUNC(sys_spu_thread_group_create), //170 (0x0AA) - BIND_FUNC(sys_spu_thread_group_destroy), //171 (0x0AB) - BIND_FUNC(sys_spu_thread_initialize), //172 (0x0AC) - BIND_FUNC(sys_spu_thread_group_start), //173 (0x0AD) - BIND_FUNC(sys_spu_thread_group_suspend), //174 (0x0AE) - BIND_FUNC(sys_spu_thread_group_resume), //175 (0x0AF) - BIND_FUNC(sys_spu_thread_group_yield), //176 (0x0B0) - BIND_FUNC(sys_spu_thread_group_terminate), //177 (0x0B1) - BIND_FUNC(sys_spu_thread_group_join), //178 (0x0B2) - BIND_FUNC(sys_spu_thread_group_set_priority), //179 (0x0B3) - BIND_FUNC(sys_spu_thread_group_get_priority), //180 (0x0B4) - BIND_FUNC(sys_spu_thread_write_ls), //181 (0x0B5) - BIND_FUNC(sys_spu_thread_read_ls), //182 (0x0B6) + BIND_SYSC(sys_spu_initialize), //169 (0x0A9) + BIND_SYSC(sys_spu_thread_group_create), //170 (0x0AA) + BIND_SYSC(sys_spu_thread_group_destroy), //171 (0x0AB) + BIND_SYSC(sys_spu_thread_initialize), //172 (0x0AC) + BIND_SYSC(sys_spu_thread_group_start), //173 (0x0AD) + BIND_SYSC(sys_spu_thread_group_suspend), //174 (0x0AE) + BIND_SYSC(sys_spu_thread_group_resume), //175 (0x0AF) + BIND_SYSC(sys_spu_thread_group_yield), //176 (0x0B0) + BIND_SYSC(sys_spu_thread_group_terminate), //177 (0x0B1) + BIND_SYSC(sys_spu_thread_group_join), //178 (0x0B2) + BIND_SYSC(sys_spu_thread_group_set_priority), //179 (0x0B3) + BIND_SYSC(sys_spu_thread_group_get_priority), //180 (0x0B4) + BIND_SYSC(sys_spu_thread_write_ls), //181 (0x0B5) + BIND_SYSC(sys_spu_thread_read_ls), //182 (0x0B6) uns_func, //183 (0x0B7) UNS - BIND_FUNC(sys_spu_thread_write_snr), //184 (0x0B8) - BIND_FUNC(sys_spu_thread_group_connect_event), //185 (0x0B9) - BIND_FUNC(sys_spu_thread_group_disconnect_event), //186 (0x0BA) - BIND_FUNC(sys_spu_thread_set_spu_cfg), //187 (0x0BB) - BIND_FUNC(sys_spu_thread_get_spu_cfg), //188 (0x0BC) + BIND_SYSC(sys_spu_thread_write_snr), //184 (0x0B8) + BIND_SYSC(sys_spu_thread_group_connect_event), //185 (0x0B9) + BIND_SYSC(sys_spu_thread_group_disconnect_event), //186 (0x0BA) + BIND_SYSC(sys_spu_thread_set_spu_cfg), //187 (0x0BB) + BIND_SYSC(sys_spu_thread_get_spu_cfg), //188 (0x0BC) uns_func, //189 (0x0BD) UNS - BIND_FUNC(sys_spu_thread_write_spu_mb), //190 (0x0BE) - BIND_FUNC(sys_spu_thread_connect_event), //191 (0x0BF) - BIND_FUNC(sys_spu_thread_disconnect_event), //192 (0x0C0) - BIND_FUNC(sys_spu_thread_bind_queue), //193 (0x0C1) - BIND_FUNC(sys_spu_thread_unbind_queue), //194 (0x0C2) + BIND_SYSC(sys_spu_thread_write_spu_mb), //190 (0x0BE) + BIND_SYSC(sys_spu_thread_connect_event), //191 (0x0BF) + BIND_SYSC(sys_spu_thread_disconnect_event), //192 (0x0C0) + BIND_SYSC(sys_spu_thread_bind_queue), //193 (0x0C1) + BIND_SYSC(sys_spu_thread_unbind_queue), //194 (0x0C2) uns_func, //195 (0x0C3) UNS - BIND_FUNC(sys_raw_spu_set_spu_cfg), //196 (0x0C4) - BIND_FUNC(sys_raw_spu_get_spu_cfg), //197 (0x0C5) - BIND_FUNC(sys_spu_thread_recover_page_fault), //198 (0x0C6) - BIND_FUNC(sys_raw_spu_recover_page_fault), //199 (0x0C7) + BIND_SYSC(sys_raw_spu_set_spu_cfg), //196 (0x0C4) + BIND_SYSC(sys_raw_spu_get_spu_cfg), //197 (0x0C5) + BIND_SYSC(sys_spu_thread_recover_page_fault), //198 (0x0C6) + BIND_SYSC(sys_raw_spu_recover_page_fault), //199 (0x0C7) null_func, null_func, null_func, null_func, null_func, //204 UNS? null_func, null_func, null_func, null_func, null_func, //209 UNS? null_func, null_func, null_func, //212 UNS? - BIND_FUNC(sys_console_write2), //213 (0x0D5) + BIND_SYSC(sys_console_write2), //213 (0x0D5) null_func, //214 UNS? - null_func,//BIND_FUNC(sys_dbg_mat_set_condition) //215 (0x0D7) - null_func,//BIND_FUNC(sys_dbg_mat_get_condition) //216 (0x0D8) - uns_func,//BIND_FUNC(sys_dbg_...) //217 (0x0D9) DBG UNS? - uns_func,//BIND_FUNC(sys_dbg_...) //218 (0x0DA) DBG UNS? - uns_func,//BIND_FUNC(sys_dbg_...) //219 (0x0DB) DBG UNS? + NULL_FUNC(sys_dbg_mat_set_condition), //215 (0x0D7) + NULL_FUNC(sys_dbg_mat_get_condition), //216 (0x0D8) + uns_func,//BIND_SYSC(sys_dbg_...), //217 (0x0D9) DBG UNS? + uns_func,//BIND_SYSC(sys_dbg_...), //218 (0x0DA) DBG UNS? + uns_func,//BIND_SYSC(sys_dbg_...), //219 (0x0DB) DBG UNS? null_func, null_func, null_func, null_func, null_func, //224 UNS null_func, null_func, null_func, null_func, null_func, //229 UNS? - BIND_FUNC(sys_isolated_spu_create), //230 (0x0E6) ROOT - BIND_FUNC(sys_isolated_spu_destroy), //231 (0x0E7) ROOT - BIND_FUNC(sys_isolated_spu_start), //232 (0x0E8) ROOT - BIND_FUNC(sys_isolated_spu_create_interrupt_tag), //233 (0x0E9) ROOT - BIND_FUNC(sys_isolated_spu_set_int_mask), //234 (0x0EA) ROOT - BIND_FUNC(sys_isolated_spu_get_int_mask), //235 (0x0EB) ROOT - BIND_FUNC(sys_isolated_spu_set_int_stat), //236 (0x0EC) ROOT - BIND_FUNC(sys_isolated_spu_get_int_stat), //237 (0x0ED) ROOT - BIND_FUNC(sys_isolated_spu_set_spu_cfg), //238 (0x0EE) ROOT - BIND_FUNC(sys_isolated_spu_get_spu_cfg), //239 (0x0EF) ROOT - BIND_FUNC(sys_isolated_spu_read_puint_mb), //240 (0x0F0) ROOT + BIND_SYSC(sys_isolated_spu_create), //230 (0x0E6) ROOT + BIND_SYSC(sys_isolated_spu_destroy), //231 (0x0E7) ROOT + BIND_SYSC(sys_isolated_spu_start), //232 (0x0E8) ROOT + BIND_SYSC(sys_isolated_spu_create_interrupt_tag), //233 (0x0E9) ROOT + BIND_SYSC(sys_isolated_spu_set_int_mask), //234 (0x0EA) ROOT + BIND_SYSC(sys_isolated_spu_get_int_mask), //235 (0x0EB) ROOT + BIND_SYSC(sys_isolated_spu_set_int_stat), //236 (0x0EC) ROOT + BIND_SYSC(sys_isolated_spu_get_int_stat), //237 (0x0ED) ROOT + BIND_SYSC(sys_isolated_spu_set_spu_cfg), //238 (0x0EE) ROOT + BIND_SYSC(sys_isolated_spu_get_spu_cfg), //239 (0x0EF) ROOT + BIND_SYSC(sys_isolated_spu_read_puint_mb), //240 (0x0F0) ROOT uns_func, uns_func, uns_func, //241-243 ROOT UNS - null_func,//BIND_FUNC(sys_spu_thread_group_system_set_next_group) //244 (0x0F4) ROOT - null_func,//BIND_FUNC(sys_spu_thread_group_system_unset_next_group) //245 (0x0F5) ROOT - null_func,//BIND_FUNC(sys_spu_thread_group_system_set_switch_group) //246 (0x0F6) ROOT - null_func,//BIND_FUNC(sys_spu_thread_group_system_unset_switch_group) //247 (0x0F7) ROOT - null_func,//BIND_FUNC(sys_spu_thread_group...) //248 (0x0F8) ROOT - null_func,//BIND_FUNC(sys_spu_thread_group...) //249 (0x0F9) ROOT - BIND_FUNC(sys_spu_thread_group_set_cooperative_victims),//250 (0x0FA) - BIND_FUNC(sys_spu_thread_group_connect_event_all_threads), //251 (0x0FB) - BIND_FUNC(sys_spu_thread_group_disconnect_event_all_threads), //252 (0x0FC) - BIND_FUNC(sys_spu_thread_group_syscall_253), //253 (0x0FD) - BIND_FUNC(sys_spu_thread_group_log), //254 (0x0FE) + NULL_FUNC(sys_spu_thread_group_system_set_next_group), //244 (0x0F4) ROOT + NULL_FUNC(sys_spu_thread_group_system_unset_next_group),//245 (0x0F5) ROOT + NULL_FUNC(sys_spu_thread_group_system_set_switch_group),//246 (0x0F6) ROOT + NULL_FUNC(sys_spu_thread_group_system_unset_switch_group),//247 (0x0F7) ROOT + null_func,//BIND_SYSC(sys_spu_thread_group...), //248 (0x0F8) ROOT + null_func,//BIND_SYSC(sys_spu_thread_group...), //249 (0x0F9) ROOT + BIND_SYSC(sys_spu_thread_group_set_cooperative_victims),//250 (0x0FA) + BIND_SYSC(sys_spu_thread_group_connect_event_all_threads), //251 (0x0FB) + BIND_SYSC(sys_spu_thread_group_disconnect_event_all_threads), //252 (0x0FC) + BIND_SYSC(sys_spu_thread_group_syscall_253), //253 (0x0FD) + BIND_SYSC(sys_spu_thread_group_log), //254 (0x0FE) uns_func, uns_func, uns_func, uns_func, uns_func, //255-259 UNS - null_func,//BIND_FUNC(sys_spu_image_open_by_fd) //260 (0x104) + NULL_FUNC(sys_spu_image_open_by_fd), //260 (0x104) uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, //261-269 UNS uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, //270-279 UNS uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, //280-289 UNS uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, //290-299 UNS - BIND_FUNC(sys_vm_memory_map), //300 (0x12C) - BIND_FUNC(sys_vm_unmap), //301 (0x12D) - BIND_FUNC(sys_vm_append_memory), //302 (0x12E) - BIND_FUNC(sys_vm_return_memory), //303 (0x12F) - BIND_FUNC(sys_vm_lock), //304 (0x130) - BIND_FUNC(sys_vm_unlock), //305 (0x131) - BIND_FUNC(sys_vm_touch), //306 (0x132) - BIND_FUNC(sys_vm_flush), //307 (0x133) - BIND_FUNC(sys_vm_invalidate), //308 (0x134) - BIND_FUNC(sys_vm_store), //309 (0x135) - BIND_FUNC(sys_vm_sync), //310 (0x136) - BIND_FUNC(sys_vm_test), //311 (0x137) - BIND_FUNC(sys_vm_get_statistics), //312 (0x138) - BIND_FUNC(sys_vm_memory_map_different), //313 (0x139) //BIND_FUNC(sys_vm_memory_map (different)) - null_func,//BIND_FUNC(sys_...) //314 (0x13A) - null_func,//BIND_FUNC(sys_...) //315 (0x13B) + BIND_SYSC(sys_vm_memory_map), //300 (0x12C) + BIND_SYSC(sys_vm_unmap), //301 (0x12D) + BIND_SYSC(sys_vm_append_memory), //302 (0x12E) + BIND_SYSC(sys_vm_return_memory), //303 (0x12F) + BIND_SYSC(sys_vm_lock), //304 (0x130) + BIND_SYSC(sys_vm_unlock), //305 (0x131) + BIND_SYSC(sys_vm_touch), //306 (0x132) + BIND_SYSC(sys_vm_flush), //307 (0x133) + BIND_SYSC(sys_vm_invalidate), //308 (0x134) + BIND_SYSC(sys_vm_store), //309 (0x135) + BIND_SYSC(sys_vm_sync), //310 (0x136) + BIND_SYSC(sys_vm_test), //311 (0x137) + BIND_SYSC(sys_vm_get_statistics), //312 (0x138) + BIND_SYSC(sys_vm_memory_map_different), //313 (0x139) + null_func,//BIND_SYSC(sys_...), //314 (0x13A) + null_func,//BIND_SYSC(sys_...), //315 (0x13B) uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, //316-323 UNS - BIND_FUNC(sys_memory_container_create), //324 (0x144) DBG - BIND_FUNC(sys_memory_container_destroy), //325 (0x145) DBG - BIND_FUNC(sys_mmapper_allocate_fixed_address), //326 (0x146) - BIND_FUNC(sys_mmapper_enable_page_fault_notification), //327 (0x147) - BIND_FUNC(sys_mmapper_allocate_shared_memory_from_container_ext), //328 (0x148) - BIND_FUNC(sys_mmapper_free_shared_memory), //329 (0x149) - BIND_FUNC(sys_mmapper_allocate_address), //330 (0x14A) - BIND_FUNC(sys_mmapper_free_address), //331 (0x14B) - BIND_FUNC(sys_mmapper_allocate_shared_memory), //332 (0x14C) - null_func,//BIND_FUNC(sys_mmapper_set_shared_memory_flag)//333(0x14D) - BIND_FUNC(sys_mmapper_map_shared_memory), //334 (0x14E) - BIND_FUNC(sys_mmapper_unmap_shared_memory), //335 (0x14F) - BIND_FUNC(sys_mmapper_change_address_access_right), //336 (0x150) - BIND_FUNC(sys_mmapper_search_and_map), //337 (0x151) - null_func,//BIND_FUNC(sys_mmapper_get_shared_memory_attribute) //338 (0x152) - BIND_FUNC(sys_mmapper_allocate_shared_memory_ext), //339 (0x153) - null_func,//BIND_FUNC(sys_...) //340 (0x154) - BIND_FUNC(sys_memory_container_create), //341 (0x155) - BIND_FUNC(sys_memory_container_destroy), //342 (0x156) - BIND_FUNC(sys_memory_container_get_size), //343 (0x157) - null_func,//BIND_FUNC(sys_memory_budget_set) //344 (0x158) - null_func,//BIND_FUNC(sys_memory_...) //345 (0x159) - null_func,//BIND_FUNC(sys_memory_...) //346 (0x15A) + BIND_SYSC(sys_memory_container_create), //324 (0x144) DBG + BIND_SYSC(sys_memory_container_destroy), //325 (0x145) DBG + BIND_SYSC(sys_mmapper_allocate_fixed_address), //326 (0x146) + BIND_SYSC(sys_mmapper_enable_page_fault_notification), //327 (0x147) + BIND_SYSC(sys_mmapper_allocate_shared_memory_from_container_ext), //328 (0x148) + BIND_SYSC(sys_mmapper_free_shared_memory), //329 (0x149) + BIND_SYSC(sys_mmapper_allocate_address), //330 (0x14A) + BIND_SYSC(sys_mmapper_free_address), //331 (0x14B) + BIND_SYSC(sys_mmapper_allocate_shared_memory), //332 (0x14C) + NULL_FUNC(sys_mmapper_set_shared_memory_flag), //333(0x14D) + BIND_SYSC(sys_mmapper_map_shared_memory), //334 (0x14E) + BIND_SYSC(sys_mmapper_unmap_shared_memory), //335 (0x14F) + BIND_SYSC(sys_mmapper_change_address_access_right), //336 (0x150) + BIND_SYSC(sys_mmapper_search_and_map), //337 (0x151) + NULL_FUNC(sys_mmapper_get_shared_memory_attribute), //338 (0x152) + BIND_SYSC(sys_mmapper_allocate_shared_memory_ext), //339 (0x153) + null_func,//BIND_SYSC(sys_...), //340 (0x154) + BIND_SYSC(sys_memory_container_create), //341 (0x155) + BIND_SYSC(sys_memory_container_destroy), //342 (0x156) + BIND_SYSC(sys_memory_container_get_size), //343 (0x157) + NULL_FUNC(sys_memory_budget_set), //344 (0x158) + null_func,//BIND_SYSC(sys_memory_...), //345 (0x159) + null_func,//BIND_SYSC(sys_memory_...), //346 (0x15A) uns_func, //347 (0x15B) UNS - BIND_FUNC(sys_memory_allocate), //348 (0x15C) - BIND_FUNC(sys_memory_free), //349 (0x15D) - BIND_FUNC(sys_memory_allocate_from_container), //350 (0x15E) - BIND_FUNC(sys_memory_get_page_attribute), //351 (0x15F) - BIND_FUNC(sys_memory_get_user_memory_size), //352 (0x160) - BIND_FUNC(sys_memory_get_user_memory_stat), //353 (0x161) - null_func,//BIND_FUNC(sys_memory_...) //354 (0x162) - null_func,//BIND_FUNC(sys_memory_...) //355 (0x163) - null_func,//BIND_FUNC(sys_memory_allocate_colored) //356 (0x164) - null_func,//BIND_FUNC(sys_memory_...) //357 (0x165) - null_func,//BIND_FUNC(sys_memory_...) //358 (0x166) - null_func,//BIND_FUNC(sys_memory_...) //359 (0x167) - null_func,//BIND_FUNC(sys_memory_...) //360 (0x168) - null_func,//BIND_FUNC(sys_memory_allocate_from_container_colored) //361 (0x169) - BIND_FUNC(sys_mmapper_allocate_shared_memory_from_container),//362 (0x16A) - null_func,//BIND_FUNC(sys_mmapper_...) //363 (0x16B) - null_func,//BIND_FUNC(sys_mmapper_...) //364 (0x16C) + BIND_SYSC(sys_memory_allocate), //348 (0x15C) + BIND_SYSC(sys_memory_free), //349 (0x15D) + BIND_SYSC(sys_memory_allocate_from_container), //350 (0x15E) + BIND_SYSC(sys_memory_get_page_attribute), //351 (0x15F) + BIND_SYSC(sys_memory_get_user_memory_size), //352 (0x160) + BIND_SYSC(sys_memory_get_user_memory_stat), //353 (0x161) + null_func,//BIND_SYSC(sys_memory_...), //354 (0x162) + null_func,//BIND_SYSC(sys_memory_...), //355 (0x163) + NULL_FUNC(sys_memory_allocate_colored), //356 (0x164) + null_func,//BIND_SYSC(sys_memory_...), //357 (0x165) + null_func,//BIND_SYSC(sys_memory_...), //358 (0x166) + null_func,//BIND_SYSC(sys_memory_...), //359 (0x167) + null_func,//BIND_SYSC(sys_memory_...), //360 (0x168) + NULL_FUNC(sys_memory_allocate_from_container_colored), //361 (0x169) + BIND_SYSC(sys_mmapper_allocate_shared_memory_from_container),//362 (0x16A) + null_func,//BIND_SYSC(sys_mmapper_...), //363 (0x16B) + null_func,//BIND_SYSC(sys_mmapper_...), //364 (0x16C) uns_func, uns_func, //366 (0x16E) UNS - BIND_FUNC(sys_uart_initialize), //367 (0x16F) ROOT - BIND_FUNC(sys_uart_receive), //368 (0x170) ROOT - BIND_FUNC(sys_uart_send), //369 (0x171) ROOT - BIND_FUNC(sys_uart_get_params), //370 (0x172) ROOT + BIND_SYSC(sys_uart_initialize), //367 (0x16F) ROOT + BIND_SYSC(sys_uart_receive), //368 (0x170) ROOT + BIND_SYSC(sys_uart_send), //369 (0x171) ROOT + BIND_SYSC(sys_uart_get_params), //370 (0x172) ROOT uns_func, //371 (0x173) UNS - null_func,//BIND_FUNC(sys_game_watchdog_start) //372 (0x174) - null_func,//BIND_FUNC(sys_game_watchdog_stop) //373 (0x175) - null_func,//BIND_FUNC(sys_game_watchdog_clear) //374 (0x176) - null_func,//BIND_FUNC(sys_game_set_system_sw_version) //375 (0x177) ROOT - null_func,//BIND_FUNC(sys_game_get_system_sw_version) //376 (0x178) ROOT - null_func,//BIND_FUNC(sys_sm_set_shop_mode) //377 (0x179) ROOT - BIND_FUNC(sys_sm_get_ext_event2), //378 (0x17A) ROOT - BIND_FUNC(sys_sm_shutdown), //379 (0x17B) ROOT - BIND_FUNC(sys_sm_get_params), //380 (0x17C) DBG - null_func,//BIND_FUNC(sys_sm_get_inter_lpar_parameter) //381 (0x17D) ROOT - null_func,//BIND_FUNC(sys_sm_initialize) //382 (0x17E) ROOT - null_func,//BIND_FUNC(sys_game_get_temperature) //383 (0x17F) ROOT - null_func,//BIND_FUNC(sys_sm_get_tzpb) //384 (0x180) ROOT - null_func,//BIND_FUNC(sys_sm_request_led) //385 (0x181) ROOT - null_func,//BIND_FUNC(sys_sm_control_led) //386 (0x182) ROOT - null_func,//BIND_FUNC(sys_sm_get_system_info) //387 (0x183) DBG - null_func,//BIND_FUNC(sys_sm_ring_buzzer) //388 (0x184) ROOT - null_func,//BIND_FUNC(sys_sm_set_fan_policy) //389 (0x185) PM - null_func,//BIND_FUNC(sys_sm_request_error_log) //390 (0x186) ROOT - null_func,//BIND_FUNC(sys_sm_request_be_count) //391 (0x187) ROOT - BIND_FUNC(sys_sm_ring_buzzer), //392 (0x188) ROOT - null_func,//BIND_FUNC(sys_sm_get_hw_config) //393 (0x189) ROOT - null_func,//BIND_FUNC(sys_sm_request_scversion) //394 (0x18A) ROOT - null_func,//BIND_FUNC(sys_sm_request_system_event_log) //395 (0x18B) PM - null_func,//BIND_FUNC(sys_sm_set_rtc_alarm) //396 (0x18C) ROOT - null_func,//BIND_FUNC(sys_sm_get_rtc_alarm) //397 (0x18D) ROOT - BIND_FUNC(sys_console_write), //398 (0x18E) ROOT + NULL_FUNC(sys_game_watchdog_start), //372 (0x174) + NULL_FUNC(sys_game_watchdog_stop), //373 (0x175) + NULL_FUNC(sys_game_watchdog_clear), //374 (0x176) + NULL_FUNC(sys_game_set_system_sw_version), //375 (0x177) ROOT + NULL_FUNC(sys_game_get_system_sw_version), //376 (0x178) ROOT + NULL_FUNC(sys_sm_set_shop_mode), //377 (0x179) ROOT + BIND_SYSC(sys_sm_get_ext_event2), //378 (0x17A) ROOT + BIND_SYSC(sys_sm_shutdown), //379 (0x17B) ROOT + BIND_SYSC(sys_sm_get_params), //380 (0x17C) DBG + NULL_FUNC(sys_sm_get_inter_lpar_parameter), //381 (0x17D) ROOT + NULL_FUNC(sys_sm_initialize), //382 (0x17E) ROOT + NULL_FUNC(sys_game_get_temperature), //383 (0x17F) ROOT + NULL_FUNC(sys_sm_get_tzpb), //384 (0x180) ROOT + NULL_FUNC(sys_sm_request_led), //385 (0x181) ROOT + BIND_SYSC(sys_sm_control_led), //386 (0x182) ROOT + NULL_FUNC(sys_sm_get_system_info), //387 (0x183) DBG + BIND_SYSC(sys_sm_ring_buzzer2), //388 (0x184) ROOT + NULL_FUNC(sys_sm_set_fan_policy), //389 (0x185) PM + NULL_FUNC(sys_sm_request_error_log), //390 (0x186) ROOT + NULL_FUNC(sys_sm_request_be_count), //391 (0x187) ROOT + BIND_SYSC(sys_sm_ring_buzzer), //392 (0x188) ROOT + NULL_FUNC(sys_sm_get_hw_config), //393 (0x189) ROOT + NULL_FUNC(sys_sm_request_scversion), //394 (0x18A) ROOT + NULL_FUNC(sys_sm_request_system_event_log), //395 (0x18B) PM + NULL_FUNC(sys_sm_set_rtc_alarm), //396 (0x18C) ROOT + NULL_FUNC(sys_sm_get_rtc_alarm), //397 (0x18D) ROOT + BIND_SYSC(sys_console_write), //398 (0x18E) ROOT uns_func, //399 (0x18F) UNS - null_func,//BIND_FUNC(sys_sm_...) //400 (0x190) PM - null_func,//BIND_FUNC(sys_sm_...) //401 (0x191) ROOT - BIND_FUNC(sys_tty_read), //402 (0x192) - BIND_FUNC(sys_tty_write), //403 (0x193) - null_func,//BIND_FUNC(sys_...) //404 (0x194) ROOT - null_func,//BIND_FUNC(sys_...) //405 (0x195) PM - null_func,//BIND_FUNC(sys_...) //406 (0x196) PM - null_func,//BIND_FUNC(sys_...) //407 (0x197) PM - null_func,//BIND_FUNC(sys_sm_get_tzpb) //408 (0x198) PM - null_func,//BIND_FUNC(sys_sm_get_fan_policy) //409 (0x199) PM - null_func,//BIND_FUNC(sys_game_board_storage_read) //410 (0x19A) - null_func,//BIND_FUNC(sys_game_board_storage_write) //411 (0x19B) - null_func,//BIND_FUNC(sys_game_get_rtc_status) //412 (0x19C) - null_func,//BIND_FUNC(sys_...) //413 (0x19D) ROOT - null_func,//BIND_FUNC(sys_...) //414 (0x19E) ROOT - null_func,//BIND_FUNC(sys_...) //415 (0x19F) ROOT + null_func,//BIND_SYSC(sys_sm_...), //400 (0x190) PM + null_func,//BIND_SYSC(sys_sm_...), //401 (0x191) ROOT + BIND_SYSC(sys_tty_read), //402 (0x192) + BIND_SYSC(sys_tty_write), //403 (0x193) + null_func,//BIND_SYSC(sys_...), //404 (0x194) ROOT + null_func,//BIND_SYSC(sys_...), //405 (0x195) PM + null_func,//BIND_SYSC(sys_...), //406 (0x196) PM + null_func,//BIND_SYSC(sys_...), //407 (0x197) PM + NULL_FUNC(sys_sm_get_tzpb), //408 (0x198) PM + NULL_FUNC(sys_sm_get_fan_policy), //409 (0x199) PM + NULL_FUNC(sys_game_board_storage_read), //410 (0x19A) + NULL_FUNC(sys_game_board_storage_write), //411 (0x19B) + NULL_FUNC(sys_game_get_rtc_status), //412 (0x19C) + null_func,//BIND_SYSC(sys_...), //413 (0x19D) ROOT + null_func,//BIND_SYSC(sys_...), //414 (0x19E) ROOT + null_func,//BIND_SYSC(sys_...), //415 (0x19F) ROOT uns_func, uns_func, uns_func, uns_func, //416-419 UNS uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, //420-429 UNS uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, //430-439 UNS uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, //440-449 UNS - BIND_FUNC(sys_overlay_load_module), //450 (0x1C2) - BIND_FUNC(sys_overlay_unload_module), //451 (0x1C3) - null_func,//BIND_FUNC(sys_overlay_get_module_list) //452 (0x1C4) - null_func,//BIND_FUNC(sys_overlay_get_module_info) //453 (0x1C5) - BIND_FUNC(sys_overlay_load_module_by_fd), //454 (0x1C6) - null_func,//BIND_FUNC(sys_overlay_get_module_info2) //455 (0x1C7) - null_func,//BIND_FUNC(sys_overlay_get_sdk_version) //456 (0x1C8) - null_func,//BIND_FUNC(sys_overlay_get_module_dbg_info) //457 (0x1C9) - null_func,//BIND_FUNC(sys_overlay_get_module_dbg_info) //458 (0x1CA) + BIND_SYSC(sys_overlay_load_module), //450 (0x1C2) + BIND_SYSC(sys_overlay_unload_module), //451 (0x1C3) + NULL_FUNC(sys_overlay_get_module_list), //452 (0x1C4) + NULL_FUNC(sys_overlay_get_module_info), //453 (0x1C5) + BIND_SYSC(sys_overlay_load_module_by_fd), //454 (0x1C6) + NULL_FUNC(sys_overlay_get_module_info2), //455 (0x1C7) + NULL_FUNC(sys_overlay_get_sdk_version), //456 (0x1C8) + NULL_FUNC(sys_overlay_get_module_dbg_info), //457 (0x1C9) + NULL_FUNC(sys_overlay_get_module_dbg_info), //458 (0x1CA) uns_func, //459 (0x1CB) UNS - null_func,//BIND_FUNC(sys_prx_dbg_get_module_id_list) //460 (0x1CC) ROOT - BIND_FUNC(_sys_prx_get_module_id_by_address), //461 (0x1CD) + NULL_FUNC(sys_prx_dbg_get_module_id_list), //460 (0x1CC) ROOT + BIND_SYSC(_sys_prx_get_module_id_by_address), //461 (0x1CD) uns_func, //462 (0x1CE) DEX - BIND_FUNC(_sys_prx_load_module_by_fd), //463 (0x1CF) - BIND_FUNC(_sys_prx_load_module_on_memcontainer_by_fd), //464 (0x1D0) - BIND_FUNC(_sys_prx_load_module_list), //465 (0x1D1) - BIND_FUNC(_sys_prx_load_module_list_on_memcontainer), //466 (0x1D2) - BIND_FUNC(sys_prx_get_ppu_guid), //467 (0x1D3) - null_func,//BIND_FUNC(sys_...) //468 (0x1D4) ROOT + BIND_SYSC(_sys_prx_load_module_by_fd), //463 (0x1CF) + BIND_SYSC(_sys_prx_load_module_on_memcontainer_by_fd), //464 (0x1D0) + BIND_SYSC(_sys_prx_load_module_list), //465 (0x1D1) + BIND_SYSC(_sys_prx_load_module_list_on_memcontainer), //466 (0x1D2) + BIND_SYSC(sys_prx_get_ppu_guid), //467 (0x1D3) + null_func,//BIND_SYSC(sys_...), //468 (0x1D4) ROOT uns_func, //469 (0x1D5) UNS - null_func,//BIND_FUNC(sys_npdrm_check_ekc) //470 (0x1D6) ROOT - null_func,//BIND_FUNC(sys_npdrm_regist_ekc) //471 (0x1D7) ROOT - null_func,//BIND_FUNC(sys_...) //472 (0x1D8) ROOT - null_func,//BIND_FUNC(sys_...) //473 (0x1D9) - null_func,//BIND_FUNC(sys_...) //474 (0x1DA) - null_func,//BIND_FUNC(sys_...) //475 (0x1DB) ROOT - null_func,//BIND_FUNC(sys_...) //476 (0x1DC) ROOT + NULL_FUNC(sys_npdrm_check_ekc), //470 (0x1D6) ROOT + NULL_FUNC(sys_npdrm_regist_ekc), //471 (0x1D7) ROOT + null_func,//BIND_SYSC(sys_...), //472 (0x1D8) ROOT + null_func,//BIND_SYSC(sys_...), //473 (0x1D9) + null_func,//BIND_SYSC(sys_...), //474 (0x1DA) + null_func,//BIND_SYSC(sys_...), //475 (0x1DB) ROOT + null_func,//BIND_SYSC(sys_...), //476 (0x1DC) ROOT uns_func, uns_func, uns_func, //477-479 UNS - BIND_FUNC(_sys_prx_load_module), //480 (0x1E0) - BIND_FUNC(_sys_prx_start_module), //481 (0x1E1) - BIND_FUNC(_sys_prx_stop_module), //482 (0x1E2) - BIND_FUNC(_sys_prx_unload_module), //483 (0x1E3) - BIND_FUNC(_sys_prx_register_module), //484 (0x1E4) - BIND_FUNC(_sys_prx_query_module), //485 (0x1E5) - BIND_FUNC(_sys_prx_register_library), //486 (0x1E6) - BIND_FUNC(_sys_prx_unregister_library), //487 (0x1E7) - BIND_FUNC(_sys_prx_link_library), //488 (0x1E8) - BIND_FUNC(_sys_prx_unlink_library), //489 (0x1E9) - BIND_FUNC(_sys_prx_query_library), //490 (0x1EA) + BIND_SYSC(_sys_prx_load_module), //480 (0x1E0) + BIND_SYSC(_sys_prx_start_module), //481 (0x1E1) + BIND_SYSC(_sys_prx_stop_module), //482 (0x1E2) + BIND_SYSC(_sys_prx_unload_module), //483 (0x1E3) + BIND_SYSC(_sys_prx_register_module), //484 (0x1E4) + BIND_SYSC(_sys_prx_query_module), //485 (0x1E5) + BIND_SYSC(_sys_prx_register_library), //486 (0x1E6) + BIND_SYSC(_sys_prx_unregister_library), //487 (0x1E7) + BIND_SYSC(_sys_prx_link_library), //488 (0x1E8) + BIND_SYSC(_sys_prx_unlink_library), //489 (0x1E9) + BIND_SYSC(_sys_prx_query_library), //490 (0x1EA) uns_func, //491 (0x1EB) UNS - null_func,//BIND_FUNC(sys_prx_dbg_get_module_list) //492 (0x1EC) DBG - null_func,//BIND_FUNC(sys_prx_dbg_get_module_info) //493 (0x1ED) DBG - BIND_FUNC(_sys_prx_get_module_list), //494 (0x1EE) - BIND_FUNC(_sys_prx_get_module_info), //495 (0x1EF) - BIND_FUNC(_sys_prx_get_module_id_by_name), //496 (0x1F0) - BIND_FUNC(_sys_prx_load_module_on_memcontainer), //497 (0x1F1) - BIND_FUNC(_sys_prx_start), //498 (0x1F2) - BIND_FUNC(_sys_prx_stop), //499 (0x1F3) - BIND_FUNC(sys_hid_manager_open), //500 (0x1F4) - null_func,//BIND_FUNC(sys_hid_manager_close) //501 (0x1F5) - BIND_FUNC(sys_hid_manager_read), //502 (0x1F6) ROOT - BIND_FUNC(sys_hid_manager_ioctl), //503 (0x1F7) - null_func,//BIND_FUNC(sys_hid_manager_map_logical_id_to_port_id) //504 (0x1F8) ROOT - null_func,//BIND_FUNC(sys_hid_manager_unmap_logical_id_to_port_id) //505 (0x1F9) ROOT - BIND_FUNC(sys_hid_manager_add_hot_key_observer), //506 (0x1FA) ROOT - null_func,//BIND_FUNC(sys_hid_manager_remove_hot_key_observer) //507 (0x1FB) ROOT - null_func,//BIND_FUNC(sys_hid_manager_grab_focus) //508 (0x1FC) ROOT - null_func,//BIND_FUNC(sys_hid_manager_release_focus) //509 (0x1FD) ROOT - BIND_FUNC(sys_hid_manager_check_focus), //510 (0x1FE) - null_func,//BIND_FUNC(sys_hid_manager_set_master_process) //511 (0x1FF) ROOT - BIND_FUNC(sys_hid_manager_is_process_permission_root), //512 (0x200) ROOT - null_func,//BIND_FUNC(sys_hid_manager_...) //513 (0x201) - BIND_FUNC(sys_hid_manager_514), //514 (0x202) + NULL_FUNC(sys_prx_dbg_get_module_list), //492 (0x1EC) DBG + NULL_FUNC(sys_prx_dbg_get_module_info), //493 (0x1ED) DBG + BIND_SYSC(_sys_prx_get_module_list), //494 (0x1EE) + BIND_SYSC(_sys_prx_get_module_info), //495 (0x1EF) + BIND_SYSC(_sys_prx_get_module_id_by_name), //496 (0x1F0) + BIND_SYSC(_sys_prx_load_module_on_memcontainer), //497 (0x1F1) + BIND_SYSC(_sys_prx_start), //498 (0x1F2) + BIND_SYSC(_sys_prx_stop), //499 (0x1F3) + BIND_SYSC(sys_hid_manager_open), //500 (0x1F4) + NULL_FUNC(sys_hid_manager_close), //501 (0x1F5) + BIND_SYSC(sys_hid_manager_read), //502 (0x1F6) ROOT + BIND_SYSC(sys_hid_manager_ioctl), //503 (0x1F7) + NULL_FUNC(sys_hid_manager_map_logical_id_to_port_id), //504 (0x1F8) ROOT + NULL_FUNC(sys_hid_manager_unmap_logical_id_to_port_id), //505 (0x1F9) ROOT + BIND_SYSC(sys_hid_manager_add_hot_key_observer), //506 (0x1FA) ROOT + NULL_FUNC(sys_hid_manager_remove_hot_key_observer), //507 (0x1FB) ROOT + NULL_FUNC(sys_hid_manager_grab_focus), //508 (0x1FC) ROOT + NULL_FUNC(sys_hid_manager_release_focus), //509 (0x1FD) ROOT + BIND_SYSC(sys_hid_manager_check_focus), //510 (0x1FE) + NULL_FUNC(sys_hid_manager_set_master_process), //511 (0x1FF) ROOT + BIND_SYSC(sys_hid_manager_is_process_permission_root), //512 (0x200) ROOT + null_func,//BIND_SYSC(sys_hid_manager_...), //513 (0x201) + BIND_SYSC(sys_hid_manager_514), //514 (0x202) uns_func, //515 (0x203) UNS - BIND_FUNC(sys_config_open), //516 (0x204) - BIND_FUNC(sys_config_close), //517 (0x205) - BIND_FUNC(sys_config_get_service_event), //518 (0x206) - BIND_FUNC(sys_config_add_service_listener), //519 (0x207) - BIND_FUNC(sys_config_remove_service_listener), //520 (0x208) - BIND_FUNC(sys_config_register_service), //521 (0x209) - BIND_FUNC(sys_config_unregister_service), //522 (0x20A) - BIND_FUNC(sys_config_get_io_event), //523 (0x20B) - BIND_FUNC(sys_config_register_io_error_listener), //524 (0x20C) - BIND_FUNC(sys_config_unregister_io_error_listener), //525 (0x20D) + BIND_SYSC(sys_config_open), //516 (0x204) + BIND_SYSC(sys_config_close), //517 (0x205) + BIND_SYSC(sys_config_get_service_event), //518 (0x206) + BIND_SYSC(sys_config_add_service_listener), //519 (0x207) + BIND_SYSC(sys_config_remove_service_listener), //520 (0x208) + BIND_SYSC(sys_config_register_service), //521 (0x209) + BIND_SYSC(sys_config_unregister_service), //522 (0x20A) + BIND_SYSC(sys_config_get_io_event), //523 (0x20B) + BIND_SYSC(sys_config_register_io_error_listener), //524 (0x20C) + BIND_SYSC(sys_config_unregister_io_error_listener), //525 (0x20D) uns_func, uns_func, uns_func, uns_func, //526-529 UNS - BIND_FUNC(sys_usbd_initialize), //530 (0x212) - BIND_FUNC(sys_usbd_finalize), //531 (0x213) - BIND_FUNC(sys_usbd_get_device_list), //532 (0x214) - BIND_FUNC(sys_usbd_get_descriptor_size), //533 (0x215) - BIND_FUNC(sys_usbd_get_descriptor), //534 (0x216) - BIND_FUNC(sys_usbd_register_ldd), //535 (0x217) - BIND_FUNC(sys_usbd_unregister_ldd), //536 (0x218) - BIND_FUNC(sys_usbd_open_pipe), //537 (0x219) - BIND_FUNC(sys_usbd_open_default_pipe), //538 (0x21A) - BIND_FUNC(sys_usbd_close_pipe), //539 (0x21B) - BIND_FUNC(sys_usbd_receive_event), //540 (0x21C) - BIND_FUNC(sys_usbd_detect_event), //541 (0x21D) - BIND_FUNC(sys_usbd_attach), //542 (0x21E) - BIND_FUNC(sys_usbd_transfer_data), //543 (0x21F) - BIND_FUNC(sys_usbd_isochronous_transfer_data), //544 (0x220) - BIND_FUNC(sys_usbd_get_transfer_status), //545 (0x221) - BIND_FUNC(sys_usbd_get_isochronous_transfer_status), //546 (0x222) - BIND_FUNC(sys_usbd_get_device_location), //547 (0x223) - BIND_FUNC(sys_usbd_send_event), //548 (0x224) - BIND_FUNC(sys_usbd_event_port_send), //549 (0x225) - BIND_FUNC(sys_usbd_allocate_memory), //550 (0x226) - BIND_FUNC(sys_usbd_free_memory), //551 (0x227) - null_func,//BIND_FUNC(sys_ubsd_...) //552 (0x228) - null_func,//BIND_FUNC(sys_ubsd_...) //553 (0x229) - null_func,//BIND_FUNC(sys_ubsd_...) //554 (0x22A) - null_func,//BIND_FUNC(sys_ubsd_...) //555 (0x22B) - BIND_FUNC(sys_usbd_get_device_speed), //556 (0x22C) - null_func,//BIND_FUNC(sys_ubsd_...) //557 (0x22D) - null_func,//BIND_FUNC(sys_ubsd_...) //558 (0x22E) - BIND_FUNC(sys_usbd_register_extra_ldd), //559 (0x22F) - null_func,//BIND_FUNC(sys_...) //560 (0x230) ROOT - null_func,//BIND_FUNC(sys_...) //561 (0x231) ROOT - null_func,//BIND_FUNC(sys_...) //562 (0x232) ROOT - null_func,//BIND_FUNC(sys_...) //563 (0x233) - null_func,//BIND_FUNC(sys_...) //564 (0x234) - null_func,//BIND_FUNC(sys_...) //565 (0x235) - null_func,//BIND_FUNC(sys_...) //566 (0x236) - null_func,//BIND_FUNC(sys_...) //567 (0x237) - null_func,//BIND_FUNC(sys_...) //568 (0x238) - null_func,//BIND_FUNC(sys_...) //569 (0x239) - null_func,//BIND_FUNC(sys_pad_ldd_register_controller) //570 (0x23A) - null_func,//BIND_FUNC(sys_pad_ldd_unregister_controller) //571 (0x23B) - null_func,//BIND_FUNC(sys_pad_ldd_data_insert) //572 (0x23C) - null_func,//BIND_FUNC(sys_pad_dbg_ldd_set_data_insert_mode) //573 (0x23D) - null_func,//BIND_FUNC(sys_pad_ldd_register_controller) //574 (0x23E) - null_func,//BIND_FUNC(sys_pad_ldd_get_port_no) //575 (0x23F) + BIND_SYSC(sys_usbd_initialize), //530 (0x212) + BIND_SYSC(sys_usbd_finalize), //531 (0x213) + BIND_SYSC(sys_usbd_get_device_list), //532 (0x214) + BIND_SYSC(sys_usbd_get_descriptor_size), //533 (0x215) + BIND_SYSC(sys_usbd_get_descriptor), //534 (0x216) + BIND_SYSC(sys_usbd_register_ldd), //535 (0x217) + BIND_SYSC(sys_usbd_unregister_ldd), //536 (0x218) + BIND_SYSC(sys_usbd_open_pipe), //537 (0x219) + BIND_SYSC(sys_usbd_open_default_pipe), //538 (0x21A) + BIND_SYSC(sys_usbd_close_pipe), //539 (0x21B) + BIND_SYSC(sys_usbd_receive_event), //540 (0x21C) + BIND_SYSC(sys_usbd_detect_event), //541 (0x21D) + BIND_SYSC(sys_usbd_attach), //542 (0x21E) + BIND_SYSC(sys_usbd_transfer_data), //543 (0x21F) + BIND_SYSC(sys_usbd_isochronous_transfer_data), //544 (0x220) + BIND_SYSC(sys_usbd_get_transfer_status), //545 (0x221) + BIND_SYSC(sys_usbd_get_isochronous_transfer_status), //546 (0x222) + BIND_SYSC(sys_usbd_get_device_location), //547 (0x223) + BIND_SYSC(sys_usbd_send_event), //548 (0x224) + BIND_SYSC(sys_usbd_event_port_send), //549 (0x225) + BIND_SYSC(sys_usbd_allocate_memory), //550 (0x226) + BIND_SYSC(sys_usbd_free_memory), //551 (0x227) + null_func,//BIND_SYSC(sys_ubsd_...), //552 (0x228) + null_func,//BIND_SYSC(sys_ubsd_...), //553 (0x229) + null_func,//BIND_SYSC(sys_ubsd_...), //554 (0x22A) + null_func,//BIND_SYSC(sys_ubsd_...), //555 (0x22B) + BIND_SYSC(sys_usbd_get_device_speed), //556 (0x22C) + null_func,//BIND_SYSC(sys_ubsd_...), //557 (0x22D) + null_func,//BIND_SYSC(sys_ubsd_...), //558 (0x22E) + BIND_SYSC(sys_usbd_register_extra_ldd), //559 (0x22F) + null_func,//BIND_SYSC(sys_...), //560 (0x230) ROOT + null_func,//BIND_SYSC(sys_...), //561 (0x231) ROOT + null_func,//BIND_SYSC(sys_...), //562 (0x232) ROOT + null_func,//BIND_SYSC(sys_...), //563 (0x233) + null_func,//BIND_SYSC(sys_...), //564 (0x234) + null_func,//BIND_SYSC(sys_...), //565 (0x235) + null_func,//BIND_SYSC(sys_...), //566 (0x236) + null_func,//BIND_SYSC(sys_...), //567 (0x237) + null_func,//BIND_SYSC(sys_...), //568 (0x238) + null_func,//BIND_SYSC(sys_...), //569 (0x239) + NULL_FUNC(sys_pad_ldd_register_controller), //570 (0x23A) + NULL_FUNC(sys_pad_ldd_unregister_controller), //571 (0x23B) + NULL_FUNC(sys_pad_ldd_data_insert), //572 (0x23C) + NULL_FUNC(sys_pad_dbg_ldd_set_data_insert_mode), //573 (0x23D) + NULL_FUNC(sys_pad_ldd_register_controller), //574 (0x23E) + NULL_FUNC(sys_pad_ldd_get_port_no), //575 (0x23F) uns_func, //576 (0x240) UNS - null_func,//BIND_FUNC(sys_pad_manager_...) //577 (0x241) ROOT PM - null_func,//BIND_FUNC(sys_bluetooth_...) //578 (0x242) - null_func,//BIND_FUNC(sys_bluetooth_aud_serial_...) //579 (0x243) - null_func,//BIND_FUNC(sys_bluetooth_...) //580 (0x244) ROOT - null_func,//BIND_FUNC(sys_bluetooth_...) //581 (0x245) ROOT - null_func,//BIND_FUNC(sys_bluetooth_...) //582 (0x246) ROOT - null_func,//BIND_FUNC(sys_bt_read_firmware_version) //583 (0x247) ROOT - null_func,//BIND_FUNC(sys_bt_complete_wake_on_host) //584 (0x248) ROOT - null_func,//BIND_FUNC(sys_bt_disable_bluetooth) //585 (0x249) - null_func,//BIND_FUNC(sys_bt_enable_bluetooth) //586 (0x24A) - null_func,//BIND_FUNC(sys_bt_bccmd) //587 (0x24B) ROOT - null_func,//BIND_FUNC(sys_bt_read_hq) //588 (0x24C) - null_func,//BIND_FUNC(sys_bt_hid_get_remote_status) //589 (0x24D) - null_func,//BIND_FUNC(sys_bt_register_controller) //590 (0x24E) ROOT - null_func,//BIND_FUNC(sys_bt_clear_registered_contoller) //591 (0x24F) - null_func,//BIND_FUNC(sys_bt_connect_accept_controller) //592 (0x250) - null_func,//BIND_FUNC(sys_bt_get_local_bdaddress) //593 (0x251) ROOT - null_func,//BIND_FUNC(sys_bt_hid_get_data) //594 (0x252) - null_func,//BIND_FUNC(sys_bt_hid_set_report) //595 (0x253) - null_func,//BIND_FUNC(sys_bt_sched_log) //596 (0x254) - null_func,//BIND_FUNC(sys_bt_cancel_connect_accept_controller) //597 (0x255) - null_func,//BIND_FUNC(sys_bluetooth_...) //598 (0x256) ROOT - null_func,//BIND_FUNC(sys_bluetooth_...) //599 (0x257) ROOT - BIND_FUNC(sys_storage_open), //600 (0x258) ROOT - BIND_FUNC(sys_storage_close), //601 (0x259) - BIND_FUNC(sys_storage_read), //602 (0x25A) - BIND_FUNC(sys_storage_write), //603 (0x25B) - BIND_FUNC(sys_storage_send_device_command), //604 (0x25C) - BIND_FUNC(sys_storage_async_configure), //605 (0x25D) - BIND_FUNC(sys_storage_async_read), //606 (0x25E) - BIND_FUNC(sys_storage_async_write), //607 (0x25F) - BIND_FUNC(sys_storage_async_cancel), //608 (0x260) - BIND_FUNC(sys_storage_get_device_info), //609 (0x261) ROOT - BIND_FUNC(sys_storage_get_device_config), //610 (0x262) ROOT - BIND_FUNC(sys_storage_report_devices), //611 (0x263) ROOT - BIND_FUNC(sys_storage_configure_medium_event), //612 (0x264) ROOT - BIND_FUNC(sys_storage_set_medium_polling_interval), //613 (0x265) - BIND_FUNC(sys_storage_create_region), //614 (0x266) - BIND_FUNC(sys_storage_delete_region), //615 (0x267) - BIND_FUNC(sys_storage_execute_device_command), //616 (0x268) - BIND_FUNC(sys_storage_check_region_acl), //617 (0x269) - BIND_FUNC(sys_storage_set_region_acl), //618 (0x26A) - BIND_FUNC(sys_storage_async_send_device_command), //619 (0x26B) - null_func,//BIND_FUNC(sys_...) //620 (0x26C) ROOT - BIND_FUNC(sys_gamepad_ycon_if), //621 (0x26D) - BIND_FUNC(sys_storage_get_region_offset), //622 (0x26E) - BIND_FUNC(sys_storage_set_emulated_speed), //623 (0x26F) - BIND_FUNC(sys_io_buffer_create), //624 (0x270) - BIND_FUNC(sys_io_buffer_destroy), //625 (0x271) - BIND_FUNC(sys_io_buffer_allocate), //626 (0x272) - BIND_FUNC(sys_io_buffer_free), //627 (0x273) + null_func,//BIND_SYSC(sys_pad_manager_...), //577 (0x241) ROOT PM + null_func,//BIND_SYSC(sys_bluetooth_...), //578 (0x242) + null_func,//BIND_SYSC(sys_bluetooth_aud_serial_...), //579 (0x243) + null_func,//BIND_SYSC(sys_bluetooth_...), //580 (0x244) ROOT + null_func,//BIND_SYSC(sys_bluetooth_...), //581 (0x245) ROOT + null_func,//BIND_SYSC(sys_bluetooth_...), //582 (0x246) ROOT + NULL_FUNC(sys_bt_read_firmware_version), //583 (0x247) ROOT + NULL_FUNC(sys_bt_complete_wake_on_host), //584 (0x248) ROOT + NULL_FUNC(sys_bt_disable_bluetooth), //585 (0x249) + NULL_FUNC(sys_bt_enable_bluetooth), //586 (0x24A) + NULL_FUNC(sys_bt_bccmd), //587 (0x24B) ROOT + NULL_FUNC(sys_bt_read_hq), //588 (0x24C) + NULL_FUNC(sys_bt_hid_get_remote_status), //589 (0x24D) + NULL_FUNC(sys_bt_register_controller), //590 (0x24E) ROOT + NULL_FUNC(sys_bt_clear_registered_contoller), //591 (0x24F) + NULL_FUNC(sys_bt_connect_accept_controller), //592 (0x250) + NULL_FUNC(sys_bt_get_local_bdaddress), //593 (0x251) ROOT + NULL_FUNC(sys_bt_hid_get_data), //594 (0x252) + NULL_FUNC(sys_bt_hid_set_report), //595 (0x253) + NULL_FUNC(sys_bt_sched_log), //596 (0x254) + NULL_FUNC(sys_bt_cancel_connect_accept_controller), //597 (0x255) + null_func,//BIND_SYSC(sys_bluetooth_...), //598 (0x256) ROOT + null_func,//BIND_SYSC(sys_bluetooth_...), //599 (0x257) ROOT + BIND_SYSC(sys_storage_open), //600 (0x258) ROOT + BIND_SYSC(sys_storage_close), //601 (0x259) + BIND_SYSC(sys_storage_read), //602 (0x25A) + BIND_SYSC(sys_storage_write), //603 (0x25B) + BIND_SYSC(sys_storage_send_device_command), //604 (0x25C) + BIND_SYSC(sys_storage_async_configure), //605 (0x25D) + BIND_SYSC(sys_storage_async_read), //606 (0x25E) + BIND_SYSC(sys_storage_async_write), //607 (0x25F) + BIND_SYSC(sys_storage_async_cancel), //608 (0x260) + BIND_SYSC(sys_storage_get_device_info), //609 (0x261) ROOT + BIND_SYSC(sys_storage_get_device_config), //610 (0x262) ROOT + BIND_SYSC(sys_storage_report_devices), //611 (0x263) ROOT + BIND_SYSC(sys_storage_configure_medium_event), //612 (0x264) ROOT + BIND_SYSC(sys_storage_set_medium_polling_interval), //613 (0x265) + BIND_SYSC(sys_storage_create_region), //614 (0x266) + BIND_SYSC(sys_storage_delete_region), //615 (0x267) + BIND_SYSC(sys_storage_execute_device_command), //616 (0x268) + BIND_SYSC(sys_storage_check_region_acl), //617 (0x269) + BIND_SYSC(sys_storage_set_region_acl), //618 (0x26A) + BIND_SYSC(sys_storage_async_send_device_command), //619 (0x26B) + null_func,//BIND_SYSC(sys_...), //620 (0x26C) ROOT + BIND_SYSC(sys_gamepad_ycon_if), //621 (0x26D) + BIND_SYSC(sys_storage_get_region_offset), //622 (0x26E) + BIND_SYSC(sys_storage_set_emulated_speed), //623 (0x26F) + BIND_SYSC(sys_io_buffer_create), //624 (0x270) + BIND_SYSC(sys_io_buffer_destroy), //625 (0x271) + BIND_SYSC(sys_io_buffer_allocate), //626 (0x272) + BIND_SYSC(sys_io_buffer_free), //627 (0x273) uns_func, uns_func, //629 (0x275) UNS - BIND_FUNC(sys_gpio_set), //630 (0x276) - BIND_FUNC(sys_gpio_get), //631 (0x277) + BIND_SYSC(sys_gpio_set), //630 (0x276) + BIND_SYSC(sys_gpio_get), //631 (0x277) uns_func, //632 (0x278) UNS - null_func,//BIND_FUNC(sys_fsw_connect_event) //633 (0x279) - null_func,//BIND_FUNC(sys_fsw_disconnect_event) //634 (0x27A) - BIND_FUNC(sys_btsetting_if), //635 (0x27B) - null_func,//BIND_FUNC(sys_...) //636 (0x27C) - null_func,//BIND_FUNC(sys_...) //637 (0x27D) - null_func,//BIND_FUNC(sys_...) //638 (0x27E) + NULL_FUNC(sys_fsw_connect_event), //633 (0x279) + NULL_FUNC(sys_fsw_disconnect_event), //634 (0x27A) + BIND_SYSC(sys_btsetting_if), //635 (0x27B) + null_func,//BIND_SYSC(sys_...), //636 (0x27C) + null_func,//BIND_SYSC(sys_...), //637 (0x27D) + null_func,//BIND_SYSC(sys_...), //638 (0x27E) - null_func,//BIND_FUNC(sys...) //639 DEPRECATED - null_func,//BIND_FUNC(sys_usbbtaudio_initialize) //640 DEPRECATED - null_func,//BIND_FUNC(sys_usbbtaudio_finalize) //641 DEPRECATED - null_func,//BIND_FUNC(sys_usbbtaudio_discovery) //642 DEPRECATED - null_func,//BIND_FUNC(sys_usbbtaudio_cancel_discovery) //643 DEPRECATED - null_func,//BIND_FUNC(sys_usbbtaudio_pairing) //644 DEPRECATED - null_func,//BIND_FUNC(sys_usbbtaudio_set_passkey) //645 DEPRECATED - null_func,//BIND_FUNC(sys_usbbtaudio_connect) //646 DEPRECATED - null_func,//BIND_FUNC(sys_usbbtaudio_disconnect) //647 DEPRECATED - null_func,//BIND_FUNC(sys_...) //648 DEPRECATED - null_func,//BIND_FUNC(sys_...) //649 DEPRECATED + null_func,//BIND_SYSC(sys...), //639 DEPRECATED + NULL_FUNC(sys_usbbtaudio_initialize), //640 DEPRECATED + NULL_FUNC(sys_usbbtaudio_finalize), //641 DEPRECATED + NULL_FUNC(sys_usbbtaudio_discovery), //642 DEPRECATED + NULL_FUNC(sys_usbbtaudio_cancel_discovery), //643 DEPRECATED + NULL_FUNC(sys_usbbtaudio_pairing), //644 DEPRECATED + NULL_FUNC(sys_usbbtaudio_set_passkey), //645 DEPRECATED + NULL_FUNC(sys_usbbtaudio_connect), //646 DEPRECATED + NULL_FUNC(sys_usbbtaudio_disconnect), //647 DEPRECATED + null_func,//BIND_SYSC(sys_...), //648 DEPRECATED + null_func,//BIND_SYSC(sys_...), //649 DEPRECATED - BIND_FUNC(sys_rsxaudio_initialize), //650 (0x28A) - BIND_FUNC(sys_rsxaudio_finalize), //651 (0x28B) - BIND_FUNC(sys_rsxaudio_import_shared_memory), //652 (0x28C) - BIND_FUNC(sys_rsxaudio_unimport_shared_memory), //653 (0x28D) - null_func,//BIND_FUNC(sys_rsxaudio_create_connection) //654 (0x28E) - null_func,//BIND_FUNC(sys_rsxaudio_close_connection) //655 (0x28F) - null_func,//BIND_FUNC(sys_rsxaudio_prepare_process) //656 (0x290) - null_func,//BIND_FUNC(sys_rsxaudio_start_process) //657 (0x291) - null_func,//BIND_FUNC(sys_rsxaudio_stop_process) //658 (0x292) - null_func,//BIND_FUNC(sys_rsxaudio_) //659 (0x293) + BIND_SYSC(sys_rsxaudio_initialize), //650 (0x28A) + BIND_SYSC(sys_rsxaudio_finalize), //651 (0x28B) + BIND_SYSC(sys_rsxaudio_import_shared_memory), //652 (0x28C) + BIND_SYSC(sys_rsxaudio_unimport_shared_memory), //653 (0x28D) + NULL_FUNC(sys_rsxaudio_create_connection), //654 (0x28E) + NULL_FUNC(sys_rsxaudio_close_connection), //655 (0x28F) + NULL_FUNC(sys_rsxaudio_prepare_process), //656 (0x290) + NULL_FUNC(sys_rsxaudio_start_process), //657 (0x291) + NULL_FUNC(sys_rsxaudio_stop_process), //658 (0x292) + null_func, //BIND_SYSC(sys_rsxaudio_...), //659 (0x293) uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, //660-665 UNS - BIND_FUNC(sys_rsx_device_open), //666 (0x29A) - BIND_FUNC(sys_rsx_device_close), //667 (0x29B) - BIND_FUNC(sys_rsx_memory_allocate), //668 (0x29C) - BIND_FUNC(sys_rsx_memory_free), //669 (0x29D) - BIND_FUNC(sys_rsx_context_allocate), //670 (0x29E) - BIND_FUNC(sys_rsx_context_free), //671 (0x29F) - BIND_FUNC(sys_rsx_context_iomap), //672 (0x2A0) - BIND_FUNC(sys_rsx_context_iounmap), //673 (0x2A1) - BIND_FUNC(sys_rsx_context_attribute), //674 (0x2A2) - BIND_FUNC(sys_rsx_device_map), //675 (0x2A3) - BIND_FUNC(sys_rsx_device_unmap), //676 (0x2A4) - BIND_FUNC(sys_rsx_attribute), //677 (0x2A5) - null_func,//BIND_FUNC(sys_...) //678 (0x2A6) - null_func,//BIND_FUNC(sys_...) //679 (0x2A7) ROOT - null_func,//BIND_FUNC(sys_...) //680 (0x2A8) ROOT - null_func,//BIND_FUNC(sys_...) //681 (0x2A9) ROOT - null_func,//BIND_FUNC(sys_...) //682 (0x2AA) ROOT - null_func,//BIND_FUNC(sys_...) //683 (0x2AB) ROOT - null_func,//BIND_FUNC(sys_...) //684 (0x2AC) ROOT - null_func,//BIND_FUNC(sys_...) //685 (0x2AD) ROOT - null_func,//BIND_FUNC(sys_...) //686 (0x2AE) ROOT - null_func,//BIND_FUNC(sys_...) //687 (0x2AF) ROOT - null_func,//BIND_FUNC(sys_...) //688 (0x2B0) ROOT - null_func,//BIND_FUNC(sys_...) //689 (0x2B1) ROOT - null_func,//BIND_FUNC(sys_...) //690 (0x2B2) ROOT - null_func,//BIND_FUNC(sys_...) //691 (0x2B3) ROOT - null_func,//BIND_FUNC(sys_...) //692 (0x2B4) ROOT - null_func,//BIND_FUNC(sys_...) //693 (0x2B5) ROOT - null_func,//BIND_FUNC(sys_...) //694 (0x2B6) DEPRECATED - null_func,//BIND_FUNC(sys_...) //695 (0x2B7) DEPRECATED - null_func,//BIND_FUNC(sys_...) //696 (0x2B8) ROOT - uns_func,//BIND_FUNC(sys_...) //697 (0x2B9) UNS - uns_func,//BIND_FUNC(sys_...) //698 (0x2BA) UNS - BIND_FUNC(sys_bdemu_send_command), //699 (0x2BB) - BIND_FUNC(sys_net_bnet_accept), //700 (0x2BC) - BIND_FUNC(sys_net_bnet_bind), //701 (0x2BD) - BIND_FUNC(sys_net_bnet_connect), //702 (0x2BE) - BIND_FUNC(sys_net_bnet_getpeername), //703 (0x2BF) - BIND_FUNC(sys_net_bnet_getsockname), //704 (0x2C0) - BIND_FUNC(sys_net_bnet_getsockopt), //705 (0x2C1) - BIND_FUNC(sys_net_bnet_listen), //706 (0x2C2) - BIND_FUNC(sys_net_bnet_recvfrom), //707 (0x2C3) - BIND_FUNC(sys_net_bnet_recvmsg), //708 (0x2C4) - BIND_FUNC(sys_net_bnet_sendmsg), //709 (0x2C5) - BIND_FUNC(sys_net_bnet_sendto), //710 (0x2C6) - BIND_FUNC(sys_net_bnet_setsockopt), //711 (0x2C7) - BIND_FUNC(sys_net_bnet_shutdown), //712 (0x2C8) - BIND_FUNC(sys_net_bnet_socket), //713 (0x2C9) - BIND_FUNC(sys_net_bnet_close), //714 (0x2CA) - BIND_FUNC(sys_net_bnet_poll), //715 (0x2CB) - BIND_FUNC(sys_net_bnet_select), //716 (0x2CC) - BIND_FUNC(_sys_net_open_dump), //717 (0x2CD) - BIND_FUNC(_sys_net_read_dump), //718 (0x2CE) - BIND_FUNC(_sys_net_close_dump), //719 (0x2CF) - BIND_FUNC(_sys_net_write_dump), //720 (0x2D0) - BIND_FUNC(sys_net_abort), //721 (0x2D1) - BIND_FUNC(sys_net_infoctl), //722 (0x2D2) - BIND_FUNC(sys_net_control), //723 (0x2D3) - BIND_FUNC(sys_net_bnet_ioctl), //724 (0x2D4) - BIND_FUNC(sys_net_bnet_sysctl), //725 (0x2D5) - BIND_FUNC(sys_net_eurus_post_command), //726 (0x2D6) + BIND_SYSC(sys_rsx_device_open), //666 (0x29A) + BIND_SYSC(sys_rsx_device_close), //667 (0x29B) + BIND_SYSC(sys_rsx_memory_allocate), //668 (0x29C) + BIND_SYSC(sys_rsx_memory_free), //669 (0x29D) + BIND_SYSC(sys_rsx_context_allocate), //670 (0x29E) + BIND_SYSC(sys_rsx_context_free), //671 (0x29F) + BIND_SYSC(sys_rsx_context_iomap), //672 (0x2A0) + BIND_SYSC(sys_rsx_context_iounmap), //673 (0x2A1) + BIND_SYSC(sys_rsx_context_attribute), //674 (0x2A2) + BIND_SYSC(sys_rsx_device_map), //675 (0x2A3) + BIND_SYSC(sys_rsx_device_unmap), //676 (0x2A4) + BIND_SYSC(sys_rsx_attribute), //677 (0x2A5) + null_func,//BIND_SYSC(sys_...), //678 (0x2A6) + null_func,//BIND_SYSC(sys_...), //679 (0x2A7) ROOT + null_func,//BIND_SYSC(sys_...), //680 (0x2A8) ROOT + null_func,//BIND_SYSC(sys_...), //681 (0x2A9) ROOT + null_func,//BIND_SYSC(sys_...), //682 (0x2AA) ROOT + null_func,//BIND_SYSC(sys_...), //683 (0x2AB) ROOT + null_func,//BIND_SYSC(sys_...), //684 (0x2AC) ROOT + null_func,//BIND_SYSC(sys_...), //685 (0x2AD) ROOT + null_func,//BIND_SYSC(sys_...), //686 (0x2AE) ROOT + null_func,//BIND_SYSC(sys_...), //687 (0x2AF) ROOT + null_func,//BIND_SYSC(sys_...), //688 (0x2B0) ROOT + null_func,//BIND_SYSC(sys_...), //689 (0x2B1) ROOT + null_func,//BIND_SYSC(sys_...), //690 (0x2B2) ROOT + null_func,//BIND_SYSC(sys_...), //691 (0x2B3) ROOT + null_func,//BIND_SYSC(sys_...), //692 (0x2B4) ROOT + null_func,//BIND_SYSC(sys_...), //693 (0x2B5) ROOT + null_func,//BIND_SYSC(sys_...), //694 (0x2B6) DEPRECATED + null_func,//BIND_SYSC(sys_...), //695 (0x2B7) DEPRECATED + null_func,//BIND_SYSC(sys_...), //696 (0x2B8) ROOT + uns_func,//BIND_SYSC(sys_...), //697 (0x2B9) UNS + uns_func,//BIND_SYSC(sys_...), //698 (0x2BA) UNS + BIND_SYSC(sys_bdemu_send_command), //699 (0x2BB) + BIND_SYSC(sys_net_bnet_accept), //700 (0x2BC) + BIND_SYSC(sys_net_bnet_bind), //701 (0x2BD) + BIND_SYSC(sys_net_bnet_connect), //702 (0x2BE) + BIND_SYSC(sys_net_bnet_getpeername), //703 (0x2BF) + BIND_SYSC(sys_net_bnet_getsockname), //704 (0x2C0) + BIND_SYSC(sys_net_bnet_getsockopt), //705 (0x2C1) + BIND_SYSC(sys_net_bnet_listen), //706 (0x2C2) + BIND_SYSC(sys_net_bnet_recvfrom), //707 (0x2C3) + BIND_SYSC(sys_net_bnet_recvmsg), //708 (0x2C4) + BIND_SYSC(sys_net_bnet_sendmsg), //709 (0x2C5) + BIND_SYSC(sys_net_bnet_sendto), //710 (0x2C6) + BIND_SYSC(sys_net_bnet_setsockopt), //711 (0x2C7) + BIND_SYSC(sys_net_bnet_shutdown), //712 (0x2C8) + BIND_SYSC(sys_net_bnet_socket), //713 (0x2C9) + BIND_SYSC(sys_net_bnet_close), //714 (0x2CA) + BIND_SYSC(sys_net_bnet_poll), //715 (0x2CB) + BIND_SYSC(sys_net_bnet_select), //716 (0x2CC) + BIND_SYSC(_sys_net_open_dump), //717 (0x2CD) + BIND_SYSC(_sys_net_read_dump), //718 (0x2CE) + BIND_SYSC(_sys_net_close_dump), //719 (0x2CF) + BIND_SYSC(_sys_net_write_dump), //720 (0x2D0) + BIND_SYSC(sys_net_abort), //721 (0x2D1) + BIND_SYSC(sys_net_infoctl), //722 (0x2D2) + BIND_SYSC(sys_net_control), //723 (0x2D3) + BIND_SYSC(sys_net_bnet_ioctl), //724 (0x2D4) + BIND_SYSC(sys_net_bnet_sysctl), //725 (0x2D5) + BIND_SYSC(sys_net_eurus_post_command), //726 (0x2D6) uns_func, uns_func, uns_func, //727-729 UNS uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, //730-739 UNS @@ -737,186 +742,186 @@ const std::array s_ppu_syscall_table uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, //780-789 UNS uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, //790-799 UNS - BIND_FUNC(sys_fs_test), //800 (0x320) - BIND_FUNC(sys_fs_open), //801 (0x321) - BIND_FUNC(sys_fs_read), //802 (0x322) - BIND_FUNC(sys_fs_write), //803 (0x323) - BIND_FUNC(sys_fs_close), //804 (0x324) - BIND_FUNC(sys_fs_opendir), //805 (0x325) - BIND_FUNC(sys_fs_readdir), //806 (0x326) - BIND_FUNC(sys_fs_closedir), //807 (0x327) - BIND_FUNC(sys_fs_stat), //808 (0x328) - BIND_FUNC(sys_fs_fstat), //809 (0x329) - BIND_FUNC(sys_fs_link), //810 (0x32A) - BIND_FUNC(sys_fs_mkdir), //811 (0x32B) - BIND_FUNC(sys_fs_rename), //812 (0x32C) - BIND_FUNC(sys_fs_rmdir), //813 (0x32D) - BIND_FUNC(sys_fs_unlink), //814 (0x32E) - BIND_FUNC(sys_fs_utime), //815 (0x32F) - BIND_FUNC(sys_fs_access), //816 (0x330) - BIND_FUNC(sys_fs_fcntl), //817 (0x331) - BIND_FUNC(sys_fs_lseek), //818 (0x332) - BIND_FUNC(sys_fs_fdatasync), //819 (0x333) - BIND_FUNC(sys_fs_fsync), //820 (0x334) - BIND_FUNC(sys_fs_fget_block_size), //821 (0x335) - BIND_FUNC(sys_fs_get_block_size), //822 (0x336) - BIND_FUNC(sys_fs_acl_read), //823 (0x337) - BIND_FUNC(sys_fs_acl_write), //824 (0x338) - BIND_FUNC(sys_fs_lsn_get_cda_size), //825 (0x339) - BIND_FUNC(sys_fs_lsn_get_cda), //826 (0x33A) - BIND_FUNC(sys_fs_lsn_lock), //827 (0x33B) - BIND_FUNC(sys_fs_lsn_unlock), //828 (0x33C) - BIND_FUNC(sys_fs_lsn_read), //829 (0x33D) - BIND_FUNC(sys_fs_lsn_write), //830 (0x33E) - BIND_FUNC(sys_fs_truncate), //831 (0x33F) - BIND_FUNC(sys_fs_ftruncate), //832 (0x340) - BIND_FUNC(sys_fs_symbolic_link), //833 (0x341) - BIND_FUNC(sys_fs_chmod), //834 (0x342) - BIND_FUNC(sys_fs_chown), //835 (0x343) - null_func,//BIND_FUNC(sys_fs_newfs), //836 (0x344) - null_func,//BIND_FUNC(sys_fs_mount), //837 (0x345) - null_func,//BIND_FUNC(sys_fs_unmount), //838 (0x346) - null_func,//BIND_FUNC(sys_fs_sync), //839 (0x347) - BIND_FUNC(sys_fs_disk_free), //840 (0x348) - null_func,//BIND_FUNC(sys_fs_get_mount_info_size), //841 (0x349) - null_func,//BIND_FUNC(sys_fs_get_mount_info), //842 (0x34A) - null_func,//BIND_FUNC(sys_fs_get_fs_info_size), //843 (0x34B) - null_func,//BIND_FUNC(sys_fs_get_fs_info), //844 (0x34C) - BIND_FUNC(sys_fs_mapped_allocate), //845 (0x34D) - BIND_FUNC(sys_fs_mapped_free), //846 (0x34E) - BIND_FUNC(sys_fs_truncate2), //847 (0x34F) + BIND_SYSC(sys_fs_test), //800 (0x320) + BIND_SYSC(sys_fs_open), //801 (0x321) + BIND_SYSC(sys_fs_read), //802 (0x322) + BIND_SYSC(sys_fs_write), //803 (0x323) + BIND_SYSC(sys_fs_close), //804 (0x324) + BIND_SYSC(sys_fs_opendir), //805 (0x325) + BIND_SYSC(sys_fs_readdir), //806 (0x326) + BIND_SYSC(sys_fs_closedir), //807 (0x327) + BIND_SYSC(sys_fs_stat), //808 (0x328) + BIND_SYSC(sys_fs_fstat), //809 (0x329) + BIND_SYSC(sys_fs_link), //810 (0x32A) + BIND_SYSC(sys_fs_mkdir), //811 (0x32B) + BIND_SYSC(sys_fs_rename), //812 (0x32C) + BIND_SYSC(sys_fs_rmdir), //813 (0x32D) + BIND_SYSC(sys_fs_unlink), //814 (0x32E) + BIND_SYSC(sys_fs_utime), //815 (0x32F) + BIND_SYSC(sys_fs_access), //816 (0x330) + BIND_SYSC(sys_fs_fcntl), //817 (0x331) + BIND_SYSC(sys_fs_lseek), //818 (0x332) + BIND_SYSC(sys_fs_fdatasync), //819 (0x333) + BIND_SYSC(sys_fs_fsync), //820 (0x334) + BIND_SYSC(sys_fs_fget_block_size), //821 (0x335) + BIND_SYSC(sys_fs_get_block_size), //822 (0x336) + BIND_SYSC(sys_fs_acl_read), //823 (0x337) + BIND_SYSC(sys_fs_acl_write), //824 (0x338) + BIND_SYSC(sys_fs_lsn_get_cda_size), //825 (0x339) + BIND_SYSC(sys_fs_lsn_get_cda), //826 (0x33A) + BIND_SYSC(sys_fs_lsn_lock), //827 (0x33B) + BIND_SYSC(sys_fs_lsn_unlock), //828 (0x33C) + BIND_SYSC(sys_fs_lsn_read), //829 (0x33D) + BIND_SYSC(sys_fs_lsn_write), //830 (0x33E) + BIND_SYSC(sys_fs_truncate), //831 (0x33F) + BIND_SYSC(sys_fs_ftruncate), //832 (0x340) + BIND_SYSC(sys_fs_symbolic_link), //833 (0x341) + BIND_SYSC(sys_fs_chmod), //834 (0x342) + BIND_SYSC(sys_fs_chown), //835 (0x343) + NULL_FUNC(sys_fs_newfs), //836 (0x344) + BIND_SYSC(sys_fs_mount), //837 (0x345) + NULL_FUNC(sys_fs_unmount), //838 (0x346) + NULL_FUNC(sys_fs_sync), //839 (0x347) + BIND_SYSC(sys_fs_disk_free), //840 (0x348) + BIND_SYSC(sys_fs_get_mount_info_size), //841 (0x349) + BIND_SYSC(sys_fs_get_mount_info), //842 (0x34A) + NULL_FUNC(sys_fs_get_fs_info_size), //843 (0x34B) + NULL_FUNC(sys_fs_get_fs_info), //844 (0x34C) + BIND_SYSC(sys_fs_mapped_allocate), //845 (0x34D) + BIND_SYSC(sys_fs_mapped_free), //846 (0x34E) + BIND_SYSC(sys_fs_truncate2), //847 (0x34F) uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, //848-853 UNS uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, //854-859 UNS - null_func,//BIND_FUNC(syscall_sys_ss_get_cache_of_analog_sunset_flag), //860 (0x35C) AUTHID - null_func,//BIND_FUNC(sys_ss_protected_file_db) //861 ROOT - null_func,//BIND_FUNC(sys_ss_virtual_trm_manager) //862 ROOT - null_func,//BIND_FUNC(sys_ss_update_manager) //863 ROOT - null_func,//BIND_FUNC(sys_ss_sec_hw_framework) //864 DBG - BIND_FUNC(sys_ss_random_number_generator), //865 (0x361) - BIND_FUNC(sys_ss_secure_rtc), //866 ROOT - null_func,//BIND_FUNC(sys_ss_appliance_info_manager) //867 ROOT - BIND_FUNC(sys_ss_individual_info_manager), //868 ROOT / DBG AUTHID - null_func,//BIND_FUNC(sys_ss_factory_data_manager) //869 ROOT - BIND_FUNC(sys_ss_get_console_id), //870 (0x366) - BIND_FUNC(sys_ss_access_control_engine), //871 (0x367) DBG - BIND_FUNC(sys_ss_get_open_psid), //872 (0x368) - null_func,//BIND_FUNC(sys_ss_get_cache_of_product_mode), //873 (0x369) - null_func,//BIND_FUNC(sys_ss_get_cache_of_flash_ext_flag), //874 (0x36A) - null_func,//BIND_FUNC(sys_ss_get_boot_device) //875 (0x36B) - null_func,//BIND_FUNC(sys_ss_disc_access_control) //876 (0x36C) - null_func,//BIND_FUNC(sys_ss_~utoken_if) //877 (0x36D) ROOT - null_func,//BIND_FUNC(sys_ss_ad_sign) //878 (0x36E) - null_func,//BIND_FUNC(sys_ss_media_id) //879 (0x36F) - null_func,//BIND_FUNC(sys_deci3_open) //880 (0x370) - null_func,//BIND_FUNC(sys_deci3_create_event_path) //881 (0x371) - null_func,//BIND_FUNC(sys_deci3_close) //882 (0x372) - null_func,//BIND_FUNC(sys_deci3_send) //883 (0x373) - null_func,//BIND_FUNC(sys_deci3_receive) //884 (0x374) - null_func,//BIND_FUNC(sys_deci3_open2) //885 (0x375) + NULL_FUNC(sys_ss_get_cache_of_analog_sunset_flag), //860 (0x35C) AUTHID + NULL_FUNC(sys_ss_protected_file_db), //861 ROOT + BIND_SYSC(sys_ss_virtual_trm_manager), //862 ROOT + BIND_SYSC(sys_ss_update_manager), //863 ROOT + NULL_FUNC(sys_ss_sec_hw_framework), //864 DBG + BIND_SYSC(sys_ss_random_number_generator), //865 (0x361) + BIND_SYSC(sys_ss_secure_rtc), //866 ROOT + BIND_SYSC(sys_ss_appliance_info_manager), //867 ROOT + BIND_SYSC(sys_ss_individual_info_manager), //868 ROOT / DBG AUTHID + NULL_FUNC(sys_ss_factory_data_manager), //869 ROOT + BIND_SYSC(sys_ss_get_console_id), //870 (0x366) + BIND_SYSC(sys_ss_access_control_engine), //871 (0x367) DBG + BIND_SYSC(sys_ss_get_open_psid), //872 (0x368) + BIND_SYSC(sys_ss_get_cache_of_product_mode), //873 (0x369) + BIND_SYSC(sys_ss_get_cache_of_flash_ext_flag), //874 (0x36A) + BIND_SYSC(sys_ss_get_boot_device), //875 (0x36B) + NULL_FUNC(sys_ss_disc_access_control), //876 (0x36C) + null_func, //BIND_SYSC(sys_ss_~utoken_if), //877 (0x36D) ROOT + NULL_FUNC(sys_ss_ad_sign), //878 (0x36E) + NULL_FUNC(sys_ss_media_id), //879 (0x36F) + NULL_FUNC(sys_deci3_open), //880 (0x370) + NULL_FUNC(sys_deci3_create_event_path), //881 (0x371) + NULL_FUNC(sys_deci3_close), //882 (0x372) + NULL_FUNC(sys_deci3_send), //883 (0x373) + NULL_FUNC(sys_deci3_receive), //884 (0x374) + NULL_FUNC(sys_deci3_open2), //885 (0x375) uns_func, uns_func, uns_func, //886-888 UNS - null_func,//BIND_FUNC(sys_...) //889 (0x379) ROOT - null_func,//BIND_FUNC(sys_deci3_initialize) //890 (0x37A) - null_func,//BIND_FUNC(sys_deci3_terminate) //891 (0x37B) - null_func,//BIND_FUNC(sys_deci3_debug_mode) //892 (0x37C) - null_func,//BIND_FUNC(sys_deci3_show_status) //893 (0x37D) - null_func,//BIND_FUNC(sys_deci3_echo_test) //894 (0x37E) - null_func,//BIND_FUNC(sys_deci3_send_dcmp_packet) //895 (0x37F) - null_func,//BIND_FUNC(sys_deci3_dump_cp_register) //896 (0x380) - null_func,//BIND_FUNC(sys_deci3_dump_cp_buffer) //897 (0x381) + null_func,//BIND_SYSC(sys_...), //889 (0x379) ROOT + NULL_FUNC(sys_deci3_initialize), //890 (0x37A) + NULL_FUNC(sys_deci3_terminate), //891 (0x37B) + NULL_FUNC(sys_deci3_debug_mode), //892 (0x37C) + NULL_FUNC(sys_deci3_show_status), //893 (0x37D) + NULL_FUNC(sys_deci3_echo_test), //894 (0x37E) + NULL_FUNC(sys_deci3_send_dcmp_packet), //895 (0x37F) + NULL_FUNC(sys_deci3_dump_cp_register), //896 (0x380) + NULL_FUNC(sys_deci3_dump_cp_buffer), //897 (0x381) uns_func, //898 (0x382) UNS - null_func,//BIND_FUNC(sys_deci3_test) //899 (0x383) - null_func,//BIND_FUNC(sys_dbg_stop_processes) //900 (0x384) - null_func,//BIND_FUNC(sys_dbg_continue_processes) //901 (0x385) - null_func,//BIND_FUNC(sys_dbg_stop_threads) //902 (0x386) - null_func,//BIND_FUNC(sys_dbg_continue_threads) //903 (0x387) - BIND_FUNC(sys_dbg_read_process_memory), //904 (0x388) - BIND_FUNC(sys_dbg_write_process_memory), //905 (0x389) - null_func,//BIND_FUNC(sys_dbg_read_thread_register) //906 (0x38A) - null_func,//BIND_FUNC(sys_dbg_write_thread_register) //907 (0x38B) - null_func,//BIND_FUNC(sys_dbg_get_process_list) //908 (0x38C) - null_func,//BIND_FUNC(sys_dbg_get_thread_list) //909 (0x38D) - null_func,//BIND_FUNC(sys_dbg_get_thread_info) //910 (0x38E) - null_func,//BIND_FUNC(sys_dbg_spu_thread_read_from_ls) //911 (0x38F) - null_func,//BIND_FUNC(sys_dbg_spu_thread_write_to_ls) //912 (0x390) - null_func,//BIND_FUNC(sys_dbg_kill_process) //913 (0x391) - null_func,//BIND_FUNC(sys_dbg_get_process_info) //914 (0x392) - null_func,//BIND_FUNC(sys_dbg_set_run_control_bit_to_spu) //915 (0x393) - null_func,//BIND_FUNC(sys_dbg_spu_thread_get_exception_cause) //916 (0x394) - null_func,//BIND_FUNC(sys_dbg_create_kernel_event_queue) //917 (0x395) - null_func,//BIND_FUNC(sys_dbg_read_kernel_event_queue) //918 (0x396) - null_func,//BIND_FUNC(sys_dbg_destroy_kernel_event_queue) //919 (0x397) - null_func,//BIND_FUNC(sys_dbg_get_process_event_ctrl_flag) //920 (0x398) - null_func,//BIND_FUNC(sys_dbg_set_process_event_cntl_flag) //921 (0x399) - null_func,//BIND_FUNC(sys_dbg_get_spu_thread_group_event_cntl_flag) //922 (0x39A) - null_func,//BIND_FUNC(sys_dbg_set_spu_thread_group_event_cntl_flag) //923 (0x39B) - null_func,//BIND_FUNC(sys_dbg_get_module_list) //924 (0x39C) - null_func,//BIND_FUNC(sys_dbg_get_raw_spu_list) //925 (0x39D) - null_func,//BIND_FUNC(sys_dbg_initialize_scratch_executable_area) //926 (0x39E) - null_func,//BIND_FUNC(sys_dbg_terminate_scratch_executable_area) //927 (0x3A0) - null_func,//BIND_FUNC(sys_dbg_initialize_scratch_data_area) //928 (0x3A1) - null_func,//BIND_FUNC(sys_dbg_terminate_scratch_data_area) //929 (0x3A2) - null_func,//BIND_FUNC(sys_dbg_get_user_memory_stat) //930 (0x3A3) - null_func,//BIND_FUNC(sys_dbg_get_shared_memory_attribute_list) //931 (0x3A4) - null_func,//BIND_FUNC(sys_dbg_get_mutex_list) //932 (0x3A4) - null_func,//BIND_FUNC(sys_dbg_get_mutex_information) //933 (0x3A5) - null_func,//BIND_FUNC(sys_dbg_get_cond_list) //934 (0x3A6) - null_func,//BIND_FUNC(sys_dbg_get_cond_information) //935 (0x3A7) - null_func,//BIND_FUNC(sys_dbg_get_rwlock_list) //936 (0x3A8) - null_func,//BIND_FUNC(sys_dbg_get_rwlock_information) //937 (0x3A9) - null_func,//BIND_FUNC(sys_dbg_get_lwmutex_list) //938 (0x3AA) - null_func,//BIND_FUNC(sys_dbg_get_address_from_dabr) //939 (0x3AB) - null_func,//BIND_FUNC(sys_dbg_set_address_to_dabr) //940 (0x3AC) - null_func,//BIND_FUNC(sys_dbg_get_lwmutex_information) //941 (0x3AD) - null_func,//BIND_FUNC(sys_dbg_get_event_queue_list) //942 (0x3AE) - null_func,//BIND_FUNC(sys_dbg_get_event_queue_information) //943 (0x3AF) - null_func,//BIND_FUNC(sys_dbg_initialize_ppu_exception_handler) //944 (0x3B0) - null_func,//BIND_FUNC(sys_dbg_finalize_ppu_exception_handler) //945 (0x3B1) DBG - null_func,//BIND_FUNC(sys_dbg_get_semaphore_list) //946 (0x3B2) - null_func,//BIND_FUNC(sys_dbg_get_semaphore_information) //947 (0x3B3) - null_func,//BIND_FUNC(sys_dbg_get_kernel_thread_list) //948 (0x3B4) - null_func,//BIND_FUNC(sys_dbg_get_kernel_thread_info) //949 (0x3B5) - null_func,//BIND_FUNC(sys_dbg_get_lwcond_list) //950 (0x3B6) - null_func,//BIND_FUNC(sys_dbg_get_lwcond_information) //951 (0x3B7) - null_func,//BIND_FUNC(sys_dbg_create_scratch_data_area_ext) //952 (0x3B8) - null_func,//BIND_FUNC(sys_dbg_vm_get_page_information) //953 (0x3B9) - null_func,//BIND_FUNC(sys_dbg_vm_get_info) //954 (0x3BA) - null_func,//BIND_FUNC(sys_dbg_enable_floating_point_enabled_exception) //955 (0x3BB) - null_func,//BIND_FUNC(sys_dbg_disable_floating_point_enabled_exception) //956 (0x3BC) - null_func,//BIND_FUNC(sys_dbg_get_process_memory_container_information) //957 (0x3BD) + NULL_FUNC(sys_deci3_test), //899 (0x383) + NULL_FUNC(sys_dbg_stop_processes), //900 (0x384) + NULL_FUNC(sys_dbg_continue_processes), //901 (0x385) + NULL_FUNC(sys_dbg_stop_threads), //902 (0x386) + NULL_FUNC(sys_dbg_continue_threads), //903 (0x387) + BIND_SYSC(sys_dbg_read_process_memory), //904 (0x388) + BIND_SYSC(sys_dbg_write_process_memory), //905 (0x389) + NULL_FUNC(sys_dbg_read_thread_register), //906 (0x38A) + NULL_FUNC(sys_dbg_write_thread_register), //907 (0x38B) + NULL_FUNC(sys_dbg_get_process_list), //908 (0x38C) + NULL_FUNC(sys_dbg_get_thread_list), //909 (0x38D) + NULL_FUNC(sys_dbg_get_thread_info), //910 (0x38E) + NULL_FUNC(sys_dbg_spu_thread_read_from_ls), //911 (0x38F) + NULL_FUNC(sys_dbg_spu_thread_write_to_ls), //912 (0x390) + NULL_FUNC(sys_dbg_kill_process), //913 (0x391) + NULL_FUNC(sys_dbg_get_process_info), //914 (0x392) + NULL_FUNC(sys_dbg_set_run_control_bit_to_spu), //915 (0x393) + NULL_FUNC(sys_dbg_spu_thread_get_exception_cause), //916 (0x394) + NULL_FUNC(sys_dbg_create_kernel_event_queue), //917 (0x395) + NULL_FUNC(sys_dbg_read_kernel_event_queue), //918 (0x396) + NULL_FUNC(sys_dbg_destroy_kernel_event_queue), //919 (0x397) + NULL_FUNC(sys_dbg_get_process_event_ctrl_flag), //920 (0x398) + NULL_FUNC(sys_dbg_set_process_event_cntl_flag), //921 (0x399) + NULL_FUNC(sys_dbg_get_spu_thread_group_event_cntl_flag),//922 (0x39A) + NULL_FUNC(sys_dbg_set_spu_thread_group_event_cntl_flag),//923 (0x39B) + NULL_FUNC(sys_dbg_get_module_list), //924 (0x39C) + NULL_FUNC(sys_dbg_get_raw_spu_list), //925 (0x39D) + NULL_FUNC(sys_dbg_initialize_scratch_executable_area), //926 (0x39E) + NULL_FUNC(sys_dbg_terminate_scratch_executable_area), //927 (0x3A0) + NULL_FUNC(sys_dbg_initialize_scratch_data_area), //928 (0x3A1) + NULL_FUNC(sys_dbg_terminate_scratch_data_area), //929 (0x3A2) + NULL_FUNC(sys_dbg_get_user_memory_stat), //930 (0x3A3) + NULL_FUNC(sys_dbg_get_shared_memory_attribute_list), //931 (0x3A4) + NULL_FUNC(sys_dbg_get_mutex_list), //932 (0x3A4) + NULL_FUNC(sys_dbg_get_mutex_information), //933 (0x3A5) + NULL_FUNC(sys_dbg_get_cond_list), //934 (0x3A6) + NULL_FUNC(sys_dbg_get_cond_information), //935 (0x3A7) + NULL_FUNC(sys_dbg_get_rwlock_list), //936 (0x3A8) + NULL_FUNC(sys_dbg_get_rwlock_information), //937 (0x3A9) + NULL_FUNC(sys_dbg_get_lwmutex_list), //938 (0x3AA) + NULL_FUNC(sys_dbg_get_address_from_dabr), //939 (0x3AB) + NULL_FUNC(sys_dbg_set_address_to_dabr), //940 (0x3AC) + NULL_FUNC(sys_dbg_get_lwmutex_information), //941 (0x3AD) + NULL_FUNC(sys_dbg_get_event_queue_list), //942 (0x3AE) + NULL_FUNC(sys_dbg_get_event_queue_information), //943 (0x3AF) + NULL_FUNC(sys_dbg_initialize_ppu_exception_handler), //944 (0x3B0) + NULL_FUNC(sys_dbg_finalize_ppu_exception_handler), //945 (0x3B1) DBG + NULL_FUNC(sys_dbg_get_semaphore_list), //946 (0x3B2) + NULL_FUNC(sys_dbg_get_semaphore_information), //947 (0x3B3) + NULL_FUNC(sys_dbg_get_kernel_thread_list), //948 (0x3B4) + NULL_FUNC(sys_dbg_get_kernel_thread_info), //949 (0x3B5) + NULL_FUNC(sys_dbg_get_lwcond_list), //950 (0x3B6) + NULL_FUNC(sys_dbg_get_lwcond_information), //951 (0x3B7) + NULL_FUNC(sys_dbg_create_scratch_data_area_ext), //952 (0x3B8) + NULL_FUNC(sys_dbg_vm_get_page_information), //953 (0x3B9) + NULL_FUNC(sys_dbg_vm_get_info), //954 (0x3BA) + NULL_FUNC(sys_dbg_enable_floating_point_enabled_exception),//955 (0x3BB) + NULL_FUNC(sys_dbg_disable_floating_point_enabled_exception),//956 (0x3BC) + NULL_FUNC(sys_dbg_get_process_memory_container_information),//957 (0x3BD) uns_func, //958 (0x3BE) UNS - null_func,//BIND_FUNC(sys_dbg_...) //959 (0x3BF) - null_func,//BIND_FUNC(sys_control_performance_monitor) //960 (0x3C0) - null_func,//BIND_FUNC(sys_performance_monitor_hidden) //961 (0x3C1) - null_func,//BIND_FUNC(sys_performance_monitor_bookmark) //962 (0x3C2) - null_func,//BIND_FUNC(sys_lv1_pc_trace_create) //963 (0x3C3) - null_func,//BIND_FUNC(sys_lv1_pc_trace_start) //964 (0x3C4) - null_func,//BIND_FUNC(sys_lv1_pc_trace_stop) //965 (0x3C5) - null_func,//BIND_FUNC(sys_lv1_pc_trace_get_status) //966 (0x3C6) - null_func,//BIND_FUNC(sys_lv1_pc_trace_destroy) //967 (0x3C7) - null_func,//BIND_FUNC(sys_rsx_trace_ioctl) //968 (0x3C8) - null_func,//BIND_FUNC(sys_dbg_...) //969 (0x3C9) - null_func,//BIND_FUNC(sys_dbg_get_event_flag_list) //970 (0x3CA) - null_func,//BIND_FUNC(sys_dbg_get_event_flag_information) //971 (0x3CB) - null_func,//BIND_FUNC(sys_dbg_...) //972 (0x3CC) - uns_func,//BIND_FUNC(sys_dbg_...) //973 (0x3CD) - null_func,//BIND_FUNC(sys_dbg_...) //974 (0x3CE) - null_func,//BIND_FUNC(sys_dbg_read_spu_thread_context2) //975 (0x3CF) - BIND_FUNC(sys_crypto_engine_create), //976 (0x3D0) - BIND_FUNC(sys_crypto_engine_destroy), //977 (0x3D1) - null_func,//BIND_FUNC(sys_crypto_engine_hasher_prepare) //978 (0x3D2) ROOT - null_func,//BIND_FUNC(sys_crypto_engine_hasher_run) //979 (0x3D3) - null_func,//BIND_FUNC(sys_crypto_engine_hasher_get_hash) //980 (0x3D4) - null_func,//BIND_FUNC(sys_crypto_engine_cipher_prepare) //981 (0x3D5) ROOT - null_func,//BIND_FUNC(sys_crypto_engine_cipher_run) //982 (0x3D6) - null_func,//BIND_FUNC(sys_crypto_engine_cipher_get_hash) //983 (0x3D7) - BIND_FUNC(sys_crypto_engine_random_generate), //984 (0x3D8) - null_func,//BIND_FUNC(sys_dbg_get_console_type) //985 (0x3D9) ROOT - null_func,//BIND_FUNC(sys_dbg_...) //986 (0x3DA) ROOT DBG - null_func,//BIND_FUNC(sys_dbg_...) //987 (0x3DB) ROOT - null_func,//BIND_FUNC(sys_dbg_..._ppu_exception_handler) //988 (0x3DC) - null_func,//BIND_FUNC(sys_dbg_...) //989 (0x3DD) + null_func,//BIND_SYSC(sys_dbg_...), //959 (0x3BF) + NULL_FUNC(sys_control_performance_monitor), //960 (0x3C0) + NULL_FUNC(sys_performance_monitor_hidden), //961 (0x3C1) + NULL_FUNC(sys_performance_monitor_bookmark), //962 (0x3C2) + NULL_FUNC(sys_lv1_pc_trace_create), //963 (0x3C3) + NULL_FUNC(sys_lv1_pc_trace_start), //964 (0x3C4) + NULL_FUNC(sys_lv1_pc_trace_stop), //965 (0x3C5) + NULL_FUNC(sys_lv1_pc_trace_get_status), //966 (0x3C6) + NULL_FUNC(sys_lv1_pc_trace_destroy), //967 (0x3C7) + NULL_FUNC(sys_rsx_trace_ioctl), //968 (0x3C8) + null_func,//BIND_SYSC(sys_dbg_...), //969 (0x3C9) + NULL_FUNC(sys_dbg_get_event_flag_list), //970 (0x3CA) + NULL_FUNC(sys_dbg_get_event_flag_information), //971 (0x3CB) + null_func,//BIND_SYSC(sys_dbg_...), //972 (0x3CC) + uns_func,//BIND_SYSC(sys_dbg_...), //973 (0x3CD) + null_func,//BIND_SYSC(sys_dbg_...), //974 (0x3CE) + NULL_FUNC(sys_dbg_read_spu_thread_context2), //975 (0x3CF) + BIND_SYSC(sys_crypto_engine_create), //976 (0x3D0) + BIND_SYSC(sys_crypto_engine_destroy), //977 (0x3D1) + NULL_FUNC(sys_crypto_engine_hasher_prepare), //978 (0x3D2) ROOT + NULL_FUNC(sys_crypto_engine_hasher_run), //979 (0x3D3) + NULL_FUNC(sys_crypto_engine_hasher_get_hash), //980 (0x3D4) + NULL_FUNC(sys_crypto_engine_cipher_prepare), //981 (0x3D5) ROOT + NULL_FUNC(sys_crypto_engine_cipher_run), //982 (0x3D6) + NULL_FUNC(sys_crypto_engine_cipher_get_hash), //983 (0x3D7) + BIND_SYSC(sys_crypto_engine_random_generate), //984 (0x3D8) + NULL_FUNC(sys_dbg_get_console_type), //985 (0x3D9) ROOT + null_func,//BIND_SYSC(sys_dbg_...), //986 (0x3DA) ROOT DBG + null_func,//BIND_SYSC(sys_dbg_...), //987 (0x3DB) ROOT + null_func,//BIND_SYSC(sys_dbg_..._ppu_exception_handler) //988 (0x3DC) + null_func,//BIND_SYSC(sys_dbg_...), //989 (0x3DD) uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, //990-998 UNS uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, //999-1007 UNS @@ -924,6 +929,9 @@ const std::array s_ppu_syscall_table uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, uns_func, //1020-1023 UNS }; +#undef BIND_SYSC +#undef NULL_FUNC + template<> void fmt_class_string::format(std::string& out, u64 arg) { @@ -999,11 +1007,6 @@ void fmt_class_string::format(std::string& out, u64 arg) }); } -extern void ppu_initialize_syscalls() -{ - g_ppu_syscall_table = s_ppu_syscall_table; -} - class ppu_syscall_usage { // Internal buffer @@ -1070,7 +1073,7 @@ extern void ppu_execute_syscall(ppu_thread& ppu, u64 code) { g_fxo->get>()->stat[code]++; - if (auto func = g_ppu_syscall_table[code]) + if (auto func = g_ppu_syscall_table[code].first) { func(ppu); ppu_log.trace("Syscall '%s' (%llu) finished, r3=0x%llx", ppu_syscall_code(code), code, ppu.gpr[3]); @@ -1085,12 +1088,22 @@ extern ppu_function_t ppu_get_syscall(u64 code) { if (code < g_ppu_syscall_table.size()) { - return g_ppu_syscall_table[code]; + return g_ppu_syscall_table[code].first; } return nullptr; } +std::string ppu_get_syscall_name(u64 code) +{ + if (code < g_ppu_syscall_table.size() && !g_ppu_syscall_table[code].second.empty()) + { + return std::string(g_ppu_syscall_table[code].second); + } + + return fmt::format("syscall_%u", code); +} + extern u64 get_guest_system_time(); DECLARE(lv2_obj::g_mutex); diff --git a/rpcs3/Emu/Cell/lv2/sys_sm.h b/rpcs3/Emu/Cell/lv2/sys_sm.h index 3ea4516c90..71dbbd64b8 100644 --- a/rpcs3/Emu/Cell/lv2/sys_sm.h +++ b/rpcs3/Emu/Cell/lv2/sys_sm.h @@ -9,3 +9,4 @@ error_code sys_sm_shutdown(u16 op, vm::ptr param, u64 size); error_code sys_sm_get_params(vm::ptr a, vm::ptr b, vm::ptr c, vm::ptr d); error_code sys_sm_control_led(u8 led, u8 action); error_code sys_sm_ring_buzzer(u64 packet, u64 a1, u64 a2); +constexpr auto sys_sm_ring_buzzer2 = sys_sm_ring_buzzer;