LV2 Functions and Syscalls: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 779: Line 779:
|unknown  
|unknown  
  |-
  |-
=== File Syscalls ===
{| border="1"
!Number
!Name
!Notes
|-
|801 
|lv2FsOpen
|- 
|802 
|lv2FsRead
|- 
|803 
|lv2FsWrite 
|-
|804 
|lv2FsClose
|- 
|805 
|lv2FsOpenDir
|- 
|806 
|lv2FsReadDir
|- 
|807 
|lv2FsCloseDir
|- 
|808
|lv2FsStat
|- 
|809 
|lv2FsFstat
|- 
|810 
|lv2FsLink
|- 
|811 
|lv2FsMkdir 
|- 
|812
|lv2FsRename
|- 
|813
|lv2FsRmdir 
|-
|814 
|lv2FsUnlink 
|-
|815
|lv2FsUtime
|- 
 
|818 
|lv2FsLSeek 
|- 
 
|820
|lv2FsFSync 
|-   
|831 
|lv2FsTruncate 
|-
|832 
|lv2FsFTruncate
|-   
|834
|lv2FsChmod
|-
|}

Revision as of 11:29, 25 February 2011

Number Name Notes
1 sys_process_getpid
2 sys_process_wait_for_child
4 sys_process_get_status
5 sys_process_detach_child
12 sys_process_get_number_of_object
13 sys_process_get_id
14 sys_process_is_spu_lock_line_reservation_address
18 sys_process_getppid
19 sys_process_kill
23 sys_process_wait_for_child2
25 sys_process_get_sdk_version
43 sys_ppu_thread_yield
44 sys_ppu_thread_join
45 sys_ppu_thread_detach
46 sys_ppu_thread_get_join_state
47 sys_ppu_thread_set_priority
48 sys_ppu_thread_get_priority
49 sys_ppu_thread_get_stack_information
56 sys_ppu_thread_rename
57 sys_ppu_thread_recover_page_fault
67 sys_trace_allocate_buffer
68 sys_trace_free_buffer
69 sys_trace_create2
70 sys_timer_create
71 sys_timer_destroy
72 sys_timer_get_information
73 sys_timer_start
74 sys_timer_stop
75 sys_timer_connect_event_queue
76 sys_timer_disconnect_event_queue
80 sys_interrupt_tag_create
81 sys_interrupt_tag_destroy
84 sys_interrupt_thread_establish
88 sys_interrupt_thread_eoi
89 sys_interrupt_thread_disestablish
90 sys_semaphore_create
91 sys_semaphore_destroy
92 sys_semaphore_wait
93 sys_semaphore_trywait
94 sys_semaphore_post
100 sys_mutex_create
101 sys_mutex_destroy
102 sys_mutex_lock
103 sys_mutex_trylock
104 sys_mutex_unlock
105 sys_cond_create
106 sys_cond_destroy
107 sys_cond_wait
108 sys_cond_signal
109 sys_cond_signal_all
110 sys_cond_signal_to
114 sys_semaphore_get_value
120 sys_rwlock_create
121 sys_rwlock_destroy
122 sys_rwlock_rlock
123 sys_rwlock_tryrlock
124 sys_rwlock_runlock
125 sys_rwlock_wlock
126 sys_rwlock_trywlock
127 sys_rwlock_wunlock
128 sys_event_queue_create
129 sys_event_queue_destroy
130 sys_event_queue_receive
131 sys_event_queue_tryreceive
133 sys_event_queue_drain
134 sys_event_port_create
135 sys_event_port_destroy
136 sys_event_port_connect_local
137 sys_event_port_disconnect
138 sys_event_port_send
140 sys_event_port_connect_ipc
141 sys_timer_usleep
142 sys_timer_sleep
145 sys_time_get_current_time
147 sys_time_get_timebase_frequency
150 sys_raw_spu_create_interrupt_tag
151 sys_raw_spu_set_int_mask
152 sys_raw_spu_get_int_mask
153 sys_raw_spu_set_int_stat
154 sys_raw_spu_get_int_stat
156 sys_spu_image_open
160 sys_raw_spu_create
161 sys_raw_spu_destroy
163 sys_raw_spu_read_puint_mb
165 sys_spu_thread_get_exit_status
166 sys_spu_thread_set_argument
167 sys_spu_thread_group_start_on_exit
169 sys_spu_initialize
170 sys_spu_thread_group_create
171 sys_spu_thread_group_destroy
172 sys_spu_thread_initialize
173 sys_spu_thread_group_start
174 sys_spu_thread_group_suspend
175 sys_spu_thread_group_resume
176 sys_spu_thread_group_yield
177 sys_spu_thread_group_terminate
178 sys_spu_thread_group_join
179 sys_spu_thread_group_set_priority
180 sys_spu_thread_group_get_priority
181 sys_spu_thread_write_ls
182 sys_spu_thread_read_ls
184 sys_spu_thread_write_snr
185 sys_spu_thread_group_connect_event
186 sys_spu_thread_group_disconnect_event
187 sys_spu_thread_set_spu_cfg
188 sys_spu_thread_get_spu_cfg
190 sys_spu_thread_write_spu_mb
191 sys_spu_thread_connect_event
192 sys_spu_thread_disconnect_event
193 sys_spu_thread_bind_queue
194 sys_spu_thread_unbind_queue
196 sys_raw_spu_set_spu_cfg
197 sys_raw_spu_get_spu_cfg
198 sys_spu_thread_recover_page_fault
199 sys_raw_spu_recover_page_fault
244 sys_spu_thread_group_system_set_next_group
245 sys_spu_thread_group_system_unset_next_group
246 sys_spu_thread_group_system_set_switch_group
247 sys_spu_thread_group_system_unset_switch_group
251 sys_spu_thread_group_connect_event_all_threads
252 sys_spu_thread_group_disconnect_event_all_threads
260 sys_spu_image_open_by_fd
327 sys_mmapper_enable_page_fault_notification
329 sys_mmapper_free_shared_memory
330 sys_mmapper_allocate_address
331 sys_mmapper_free_address
332 sys_mmapper_allocate_shared_memory
333 sys_mmapper_set_shared_memory_flag
334 sys_mmapper_map_shared_memory
335 sys_mmapper_unmap_shared_memory
336 sys_mmapper_change_address_access_right
337 sys_mmapper_search_and_map
338 sys_mmapper_get_shared_memory_attribute
341 sys_memory_container_create
342 sys_memory_container_destroy
343 sys_memory_container_get_size
348 sys_memory_allocate
349 sys_memory_free
350 sys_memory_allocate_from_container
351 sys_memory_get_page_attribute
352 sys_memory_get_user_memory_size
378 sys_sm_get_ext_event2
402 sys_tty_read
403 sys_tty_write
450 sys_overlay_load_module
451 sys_overlay_unload_module
452 sys_overlay_get_module_list
453 sys_overlay_get_module_info
454 sys_overlay_load_module_by_fd
455 sys_overlay_get_module_info2
456 sys_overlay_get_sdk_version
457 sys_overlay_get_module_dbg_info
461 sys_prx_get_module_id_by_address
463 sys_prx_load_module_by_fd
464 sys_prx_load_module_on_memcontainer_by_fd
480 sys_prx_load_module
481 sys_prx_start_module
482 sys_prx_stop_module
483 sys_prx_unload_module
484 sys_prx_register_module
485 sys_prx_query_module
486 sys_prx_register_library
487 sys_prx_unregister_library
488 sys_prx_link_library
489 sys_prx_unlink_library
490 sys_prx_query_library
494 sys_prx_get_module_list
495 sys_prx_get_module_info
496 sys_prx_get_module_id_by_name
497 sys_prx_load_module_on_memcontainer
498 sys_prx_start
499 sys_prx_stop
600 sys_storage_open
601 sys_storage_close
602 sys_storage_read
603 sys_storage_write
604 sys_storage_send_device_command
605 sys_storage_async_configure
606 sys_storage_async_read
607 sys_storage_async_write
608 sys_storage_async_cancel
609 sys_storage_get_device_info
610 sys_storage_get_device_config
611 sys_storage_report_devices
612 sys_storage_configure_medium_event
613 sys_storage_set_medium_polling_interval
614 sys_storage_create_region
615 sys_storage_delete_region
616 sys_storage_execute_device_command
617 sys_storage_get_region_acl
618 sys_storage_set_region_acl
624 sys_io_buffer_create
625 sys_io_buffer_destroy
626 sys_io_buffer_allocate
627 sys_io_buffer_free
630 sys_gpio_set
631 sys_gpio_get
633 sys_fsw_connect_event
634 sys_fsw_disconnect_event
666 sys_rsx_device_open
667 sys_rsx_device_close
668 sys_rsx_memory_allocate
669 sys_rsx_memory_free
670 sys_rsx_context_allocate
671 sys_rsx_context_free
672 sys_rsx_context_iomap
673 sys_rsx_context_iounmap
674 sys_rsx_context_attribute
675 sys_rsx_device_map
676 sys_rsx_device_unmap
677 sys_rsx_attribute
837 sys_storage_util_mount(?) Parameters: Device Name (e.g CELL_FS_IOS:BUILTIN_FLSH1), Device File System (e.g CELL_FS_FAT), Device Path (e.g. /dev_flash), 0, Write Protection (0 or 1), 0, 0, 0
838 sys_storage_util_unmount(?) Parameters: Device Path (e.g. /dev_flash)
871 sys_ss_access_control_engine
872 sys_ss_get_open_psid
873 sys_ss_get_cache_of_product_mode
874 sys_ss_get_cache_of_flash_ext_flag
875 sys_ss_get_boot_device
876 sys_ss_disc_access_control
878 sys_ss_ad_sign
879 sys_ss_media_id
880 sys_deci3_open
881 sys_deci3_create_event_path
882 sys_deci3_close
883 sys_deci3_send
884 sys_deci3_receive


Network Syscall

Networking uses syscalls 700-726

Number sys_net_bnet_accept

File Syscalls

Number Name Notes
701 sys_net_bnet_bind
702 sys_net_bnet_connect
703 sys_net_bnet_getpeername
704 sys_net_bnet_getsockname
705 sys_net_bnet_getsockopt
706 sys_net_bnet_listen
707 sys_net_bnet_recvfrom
708 sys_net_bnet_recvmsg
709 sys_net_bnet_sendmsg
710 sys_net_bnet_sendto
711 sys_net_bnet_setsockop
712 sys_net_bnet_shutdown
713 sys_net_bnet_socket
714 sys_net_bnet_close
715 sys_net_bnet_poll
716 sys_net_bnet_select
717 unknown
718 unknown
719 unknown
720 unknown
721 unknown
722 unknown
723 unknown
724 sys_net_bnet_ioctl
725 sys_net_bnet_sysctl
726 unknown
Number Name Notes
801 lv2FsOpen
802 lv2FsRead
803 lv2FsWrite
804 lv2FsClose
805 lv2FsOpenDir
806 lv2FsReadDir
807 lv2FsCloseDir
808 lv2FsStat
809 lv2FsFstat
810 lv2FsLink
811 lv2FsMkdir
812 lv2FsRename
813 lv2FsRmdir
814 lv2FsUnlink
815 lv2FsUtime
818 lv2FsLSeek
820 lv2FsFSync
831 lv2FsTruncate
832 lv2FsFTruncate
834 lv2FsChmod