Talk:LV2 Functions and Syscalls

From PS3 Developer wiki
Jump to: navigation, search

Lv2 Syscall Services Usage[edit]

Documentation about syscalls with packet id

Syscall 621 (0x26D) Gamepad Ycon Interface[edit]

syscall(621,packet_id,r4,r5)

Packet ID Usage
0 sys_gamepad_ycon_initialize ( 0, 0)
1 sys_gamepad_ycon_finalize ( 0, 0)
2 sys_gamepad_ycon_has_input_ownership ( inout[8](if==0->autofill), out[1])
3 sys_gamepad_ycon_enumerate_device ( 0, out[0x20])
4 sys_gamepad_ycon_get_device_info ( in[8], out[0x1C])
5 sys_gamepad_ycon_read_raw_report ( in[4], out[4])
6 sys_gamepad_ycon_write_raw_report ( in[0x3C], out[])
7 sys_gamepad_ycon_get_feature ( in[8], out[0x38?])
8 sys_gamepad_ycon_set_feature (in[6+x](4Bytes+1Byte+1Byte[contains size x]+xBytes),0)
9 sys_gamepad_ycon_is_gem ( 0,out[1])

Syscall 726 (0x2D6) Gelic Device Eurus Post Command[edit]

syscall(726,uint16_t cmd, uint8_t *cmdbuf, uint64_t cmdbuf_size)

Packet ID Description

Syscall 861 (0x35D)[edit]

syscall(861,packet_id, r4,r5,r6,r7,r8,r9,r10)
Note: access to this Syscall requires 0x40 Root Control Flags, else 0x80010003

Packet ID Usage
0 not implemented
1
2
3
4
5
6
7
8
9 not implemented
10 not implemented
11
12
13
14
15
16
17
18
19

Syscall 862 (0x35E) Virtual TRM Manager Interface[edit]

syscall(862,packet_id, r4,r5,r6,r7)
Note: access to this Syscall requires 0x40 Root Control Flags, else 0x80010003

Packet ID Usage
0x2001
0x2002
0x2003
0x2004
0x2005
0x2006
0x2007 not implemented
0x2008 not implemented
0x2009 not implemented
0x200A
0x200B
0x200C
0x200D
0x200E vtrm_decrypt_master(uint8[0x10],uint8[0x40]
0x200F not implemented
0x2010 not implemented
0x2011 not implemented
0x2012
0x2013
0x2014
0x2015
0x2016
0x2017

Syscall 863 (0x35F) Update Manager Interface[edit]

syscall(863,packet_id, r4,r5,r6,r7,r8,r9)
Note: access to this Syscall requires 0x40 Root Control Flags, else 0x80010003

Packet ID Usage
0x6001 update_mgr_update_package_tophalf( ,,,)
0x6002 update_manager_if::Inspect_Package(int package_type(1-9),sys_addr_tr * alloc_addr,size,r7=9(cex)/5(dex/tool),r8=out:uint64_t*)
0x6003 update_manager_if::Get_Package_Info(int package_type,out:uint64_t*)
0x6004 update_mgr_get_fix_instruction( )
0x6005 update_mgr_extract_package_tophalf( ,,,,)
0x6006 update_mgr_get_extract_package(,,,,,)
0x6007 not implemented
0x6008 not implemented
0x6009 update_manager_if::get_token_seed( out:uint8[size1],size1,out:uint8[size2],size2) size>=0x50
0x600A update_manager_if::set_token(in:token[size],int size), size>=0x80
0x600B update_manager_if::read_eprom(uint32 offset,out:uint8[1])
0x600C update_manager_if::write_eprom(uint32 offset,uint8 value)
0x600D update_mgr_get_status( ,,,,,)
0x600E update_manager_if::allocate_buffer(size,out:sys_addr_t * alloc_addr)
0x600F update_manager_if::release_buffer(in:sys_addr_t * alloc_addr)
0x6010 not implemented
0x6011 update_manager_if::get_applicable_version(1 ,out:uint8[0x20])
0x6012

Syscall 864 (0x360) Storage Manager Interface[edit]

syscall(864,packet_id, r4)
Note: access to this Syscall requires at least 0x20 Debug Control Flags, else 0x80010003

Packet ID Description Notes
0x5004 sys_ss_auth_bd(int) cellSsDrvPs2DiscInsert(0x52)
0x5007 sys_ss_hw_disc_auth_emu(in/out:uint8[0x18]) use can be restricted to certain authentication id's
0x5008 sys_ss_hw_mc(in/out:uint8[0x38]) use can be restricted to certain authentication id's

Syscall 865 (0x361) Random Number Generator[edit]

syscall(865,packet_id, r4,r5)

Packet ID Description Notes
1 syscall(865,1, out[0x18], 0x18) size is static
usage with this packet_id requires either 0x40 Root Flags or [0x1B]=8 and a certain authentication id
2 sys_get_random_number(out[size], size)

Syscall 866 (0x362) Secure RTC Manager Interface[edit]

syscall(866,packet_id, r4, r5, r6)

Packet ID Description Notes
0x3001 secure_rtc_set_rtc(r4,r5) requries 0x40 root control flags
0x3002 secure_rtc_get_time(r4,r5,r6) might be restricted to certain authentication id's
0x3003 secure_rtc_set_time(r4,r5) requries 0x40 root control flags

Syscall 867 (0x363) AIM Manager Interface[edit]

syscall(867,packet_id, r4)
Note: access to this Syscall requires 0x40 Root Control Flags, else 0x80010003

Packet ID Description
0x19002 cellSsAimGetDeviceType(out:uint8[0x10])
0x19003 cellSsAimGetDeviceId(out:uint8[0x10])
0x19004 cellSsAimGetPsCode(out:uint8[8])
0x19005 cellSsAimGetOpenPsId(out:uint8[0x10])
0x19006 syscall(867,0x19006)

Syscall 868 (0x364) Indi Info Manager Interface[edit]

syscall(868,packet_id, r4,r5,r6,r7)
Note: access to this Syscall requires 0x40 Root Control Flags, but allows 0x20 Debug Flags and certain authentication id's for first packet_id

Packet ID Description
0x17001
0x17002
0x17003
0x17004
0x17005
0x17006
0x17007
0x17008
0x17009
0x1700A
0x1700B
0x1700C
0x1700D
0x1700E
0x1700F
0x17010
0x17011
0x17012
0x17013
0x17014
0x17015
0x17016
0x17017

Syscall 869 (0x365) RTC? Manager Interface[edit]

syscall(869,packet_id, r4)
Note: access to this Syscall requires 0x40 Root Control Flags and possibly restricted to certain authentication id's, else 0x80010003

Packet ID Description
0x22001 syscall(869,0x22001, out:uint8[0x80])
0x22002 syscall(869,0x22002, out:uint8[0x690])
0x22003 syscall(869,0x22003, in:uint8[8])
0x22004 syscall(869,0x22004, int)

Syscall 871 (0x367) SS Access Control Engine[edit]

syscall(871,packet_id, r4)

Packet ID Usage Notes
1 syscall(871,1,sys_pid_t id,out:uint8[8]) this packet_id requires 0x20 Debug Control Flags or [0x1B]=8 and a certain authentication id, else 0x80010003
2 syscall(871,2,out:uint8[8]) returns authentication id?
3 syscall(871,3,sys_pid_t id) this packet_id requires 0x20 Debug Control Flags, else 0x80010003, but returns 0x8001009

Syscall 876 (0x36C) Disc Access Control[edit]

syscall(876,packet_id, r4)
Note: accessing this Syscall is restricted to certain authentication id's

Packet ID Description
0x20000 sys_get_disc_access_control(out:uint8[4])
0x20001 sys_set_disc_access_control(0 / 1)

Syscall 877 (0x36D) User Token Interface[edit]

syscall(877,packet_id, r4,size)
Note: access to this Syscall requires 0x40 Root Control Flags, else 0x80010003

Packet ID Description
0x25003 sys_ss_utoken_decrypt(uint8[0xC50], 0xC50)
0x25004 sys_ss_utoken_get?(out:uint8[0xC50], 0xC50)
0x25005 sys_ss_utoken_encrypt(uint8[0xC50], 0xC50)

Syscall 878 (0x36E) Ad Sign[edit]

syscall(878,packet_id, r4,r5)
Note: access to this Syscall is restricted to certain authentication id's

Packet ID Description
0x26001 sys_ss_ad_sign(in:uint8[0x14],out:uint[0x80])
  • Theory: Additional Signatures related
  • Give it a hash (0x14 bytes) return an RSA? (0x80) signature

Syscall 879 (0x36F) Media ID[edit]

syscall(862,packet_id, r4)
Note: access to this Syscall is restricted to certain authentication id's
Note2: it uses Storage Service Id 0x5007, 0x4B

Packet ID Description
0x10001 sysBdMediaId(out:uint8[0x10])

not on the wiki yet[edit]

these lv2 syscalls are present, but neither ordinal nor branches are known yet

  sys_usbbtaudio_start_recording_ex
  sys_lwcond_attribute_name_set
  sys_lwmutex_attribute_name_set
  sys_event_flag_attribute_name_set
  sys_semaphore_attribute_name_set
  sys_cond_attribute_name_set
  sys_mutex_attribute_name_set
  sys_raw_spu_mmio_read_ls (no real lv2 syscall, reading mmio address)
  sys_raw_spu_mmio_write_ls (no real lv2 syscall, reading mmio address)
  sys_raw_spu_mmio_read (no real lv2 syscall, reading mmio address)
  sys_raw_spu_mmio_write (no real lv2 syscall, reading mmio address)
  sys_event_queue_attribute_name_set
          
  sys_lwcond_signal
  sys_lwcond_signal_all
  sys_lwcond_signal_to
  sys_lwcond_wait
  sys_spu_elf_get_segments
  sys_raw_spu_image_load
  sys_mmapper_allocate_memory
  sys_ppu_thread_unregister_atexit
  sys_ppu_thread_once
  sys_prx_exitspawn_with_level
  sys_process_at_Exitspawn
  sys_process_atexitspawn
  sys_game_process_exitspawn2
  sys_process_is_stack
  debug syscalls
  sys_dbg_set_stacksize_ppu_exception_handler
  sys_dbg_get_spu_thread_group_ids
  sys_dbg_get_ppu_thread_ids
  sys_dbg_get_spu_thread_ids
  sys_dbg_register_ppu_exception_handler
  sys_dbg_mat_set_condition
  sys_dbg_read_spu_thread_context2
  sys_dbg_enable_floating_point_enabled_exception
  sys_dbg_get_event_queue_information
  sys_dbg_get_spu_thread_name
  sys_dbg_get_ppu_thread_name
  sys_dbg_signal_to_ppu_exception_handler
  sys_dbg_get_mutex_information
  sys_dbg_vm_get_page_information
  sys_dbg_mat_get_condition
  sys_dbg_get_cond_information
  sys_dbg_get_ppu_thread_status
  sys_dbg_get_lwcond_information
  sys_dbg_get_rwlock_information
  sys_dbg_get_spu_thread_group_status
  sys_dbg_get_semaphore_information
  sys_dbg_set_mask_to_ppu_exception_handler
  sys_dbg_get_coredump_params
  sys_dbg_get_address_from_dabr
  sys_dbg_get_spu_thread_group_name
  sys_dbg_finalize_ppu_exception_handler
  sys_dbg_read_spu_thread_context
  sys_dbg_initialize_ppu_exception_handler
  sys_dbg_read_ppu_thread_context
  sys_dbg_unregister_ppu_exception_handler
  sys_dbg_get_lwmutex_information
  sys_dbg_signal_to_coredump_handler
  sys_dbg_set_address_to_dabr
  sys_dbg_get_event_flag_information
  sys_dbg_disable_floating_point_enabled_exception

see also this pastebin: http://pastebin.com/w2xkNZ9T

Custom Syscalls[edit]

This is a fself for testing that when started in 4.21 DEX CFW will add lv2_alloc as Syscall 32(Replaces: UNUSED_SYSCALL). It will then try to use it and printf the received pointer. Please test and report back. http://rghost.net/48803322

firmware version offsets[edit]

FW version Offset Value Notes
3.72 Retail 0x9150
3.70 Retail 0x9088
3.66 Retail 0x8ef8
3.61 Retail 0x8d04
3.60 Retail 0x8ca0
3.56 Retail 0x8b10
3.55 Retail 0x3329b8 0x8aac
3.55 DEX
3.50 Retail 0x88b8
3.42 Retail 0x8598
3.41 Retail 0x2d7580 0x8534
3.41 DEX
3.41 KIOSK 0x8534
3.40 Retail 0x84d0
3.30 Retail 0x80e8
3.21 Retail 0x7d64
3.15 Retail 0x2d6c00 0x7b0c offset seems to be 6 further @ 0x002d6c06 (see below)
3.10 Retail 0x7918
3.01 Retail 0x7594
2.85 Retail 0x6f54
2.76 Retail 0x6bd0
2.70 Retail 0x6978
2.60 Retail 0x6590
2.53 Retail 0x62d4
2.43 Retail 0x5eec
1.02 Retail 0x27d8

Note: the value is decimal '35500', '34100' and '31500' in hex.

Example[edit]

Example from 3.15 with 3.60 spoof:

   Offset(h) 00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
   
   002D6C00  00 00 00 00 00 00 8C A0 00 00 00 00 00 00 00 00  ......Œ ........
                               ^^ ^^
                         dec: 36000 spoofed

LV2 Process Structures[edit]

lv2::process is the same structure that can be found in CobraUSB source code (process.h). This version was reversed from 3.41 lv2_kernel.

struct proc_phys_mem_stat
{
  u64 field_0;
  u64 field_8;
  u64 field_10;
  u64 field_18;
  u64 field_20;
  u64 field_28;
  u64 field_30;
};

struct unk_process_struct_1E8
{
  u64 field_0;
  u64 field_8;
  u64 field_10;
  u64 field_18;
};

struct unk_process_struct_3A0
{
  u64 field_0;
  u64 field_8;
};

namespace lv2
{
    class wait_queue
    {
        u64 field_0;
        u64 field_8;
        u64 field_10;
    };

    class mutex
    {
        void *vtable;
        u64 field_8;
        u64 field_10;
        lv2::wait_queue field_18;
        u64 field_30;
        u64 field_38;
    };

    class condition_variable
    {
        void *vtable;
        u64 field_8;
        lv2::wait_queue field_10;
        u64 field_28;
        u64 field_30;
    };
    
    class pu_thr
    {
        void *vtable;
        char name[28];
        int thr_id;
        u64 field_28;
        u64 field_30;
        u64 field_38;
        u64 prio;
        u64 field_48;
        u64 field_50;
        u64 field_58;
        u64 field_60;
        u64 field_68;
        u64 stack_address;
        u64 stack_size;
        lv2::process *my_proc;
        u64 field_88;
        u64 field_90;
        u64 general_purpose_registers[32];
        int condition_register;
        u64 exception_register;
        u64 link_register;
        u64 count_register;
        u64 save_restore_register_0;
        u64 save_restore_register_1;
        u64 field_1C8;
        double floating_point_registers[32];
        int field_2D0;
        int floating_point_status_and_control_register;
        u64 field_2D8;
        u64 field_2E0;
        u64 field_2E8;
        u64 field_2F0;
        u64 field_2F8;
        u64 field_300;
        u64 field_308;
        u64 field_310;
        u64 field_318;
        u64 field_320;
        u64 field_328;
        u64 field_330;
        u64 field_338;
        u64 field_340;
        u64 field_348;
        u64 field_350;
        u64 field_358;
        u64 field_360;
        u64 field_368;
        u64 field_370;
        u64 field_378;
        u64 field_380;
        u64 field_388;
        u64 field_390;
        u64 field_398;
        u64 field_3A0;
        u64 field_3A8;
        u64 field_3B0;
        u64 field_3B8;
        u64 field_3C0;
        u64 field_3C8;
        u64 field_3D0;
        u64 field_3D8;
        u64 field_3E0;
        u64 field_3E8;
        u64 field_3F0;
        u64 field_3F8;
        u64 field_400;
        u64 field_408;
        u64 field_410;
        u64 field_418;
        u64 field_420;
        u64 field_428;
        u64 field_430;
        u64 field_438;
        u64 field_440;
        u64 field_448;
        u64 field_450;
        u64 field_458;
        u64 field_460;
        u64 field_468;
        u64 field_470;
        u64 field_478;
        u64 field_480;
        u64 field_488;
        u64 field_490;
        u64 field_498;
        u64 field_4A0;
        u64 field_4A8;
        u64 field_4B0;
        u64 field_4B8;
        u64 field_4C0;
        u64 field_4C8;
        u64 field_4D0;
        u64 field_4D8;
        u64 field_4E0;
        u64 field_4E8;
        u64 field_4F0;
        u64 field_4F8;
        u64 field_500;
        u64 field_508;
        u64 field_510;
        u64 field_518;
        u64 field_520;
        u64 field_528;
        u64 field_530;
        u64 field_538;
        u64 field_540;
        u64 field_548;
        int stop_info;
        u64 field_558;
        u64 field_560;
        u64 field_568;
        u64 field_570;
        u64 field_578;
        u64 field_580;
        u64 field_588;
        u64 field_590;
        u64 field_598;
        u64 field_5A0;
        u64 field_5A8;
        u64 field_5B0;
        u64 field_5B8;
        u64 field_5C0;
        u64 field_5C8;
        u64 field_5D0;
        u64 field_5D8;
        u64 field_5E0;
        u64 field_5E8;
        u64 field_5F0;
        u64 field_5F8;
    };
    
    class id_table
    {
        u64 field_0[256];
        u64 field_800;
        lv2::wait_queue field_808;
        u64 field_820;
    };
    
    class address_space
    {
        u64 field_0;
        u64 field_8;
        u64 field_10;
        u64 field_18;
        u64 field_20;
    };
    
    class process_as
    {
        lv2::address_space field_0;
        u64 field_28;
        u64 field_30;
        u64 field_38;
        u64 field_40;
        u64 field_48;
        u64 field_50;
        u64 field_58;
        u64 field_60;
        u64 field_68;
        u64 field_70;
        u64 field_78;
        u64 field_80;
        u64 field_88;
        u64 field_90;
        u64 field_98;
        u64 field_A0;
        u64 field_A8;
        u64 field_B0;
        u64 field_B8;
        u64 field_C0;
        u64 field_C8;
        u64 field_D0;
        u64 field_D8;
        u64 field_E0;
        u64 field_E8;
        u64 field_F0;
        u64 field_F8;
        u64 field_100;
        u64 field_108;
        u64 field_110;
        u64 field_118;
        u64 field_120;
        u64 field_128;
        u64 field_130;
        u64 field_138;
        u64 field_140;
        u64 field_148;
        u64 field_150;
        u64 field_158;
        u64 field_160;
        u64 field_168;
        u64 field_170;
        u64 field_178;
        u64 field_180;
        u64 field_188;
        u64 field_190;
        u64 field_198;
        u64 field_1A0;
        u64 field_1A8;
        u64 field_1B0;
        u64 field_1B8;
        u64 field_1C0;
        u64 field_1C8;
        u64 field_1D0;
        u64 field_1D8;
        u64 field_1E0;
        u64 field_1E8;
        u64 field_1F0;
        u64 field_1F8;
        u64 field_200;
        u64 field_208;
        u64 field_210;
        u64 field_218;
        u64 field_220;
        u64 field_228;
        u64 field_230;
        u64 field_238;
        u64 field_240;
        u64 field_248;
        u64 field_250;
        u64 field_258;
        u64 field_260;
        u64 field_268;
        u64 field_270;
        u64 field_278;
        u64 field_280;
        u64 field_288;
        u64 field_290;
        u64 field_298;
        u64 field_2A0;
        u64 field_2A8;
        u64 field_2B0;
        u64 field_2B8;
        u64 field_2C0;
        u64 field_2C8;
        u64 field_2D0;
        u64 field_2D8;
        u64 field_2E0;
        u64 field_2E8;
        u64 field_2F0;
        u64 field_2F8;
        u64 field_300;
        u64 field_308;
        u64 field_310;
        u64 field_318;
        u64 field_320;
        u64 field_328;
        u64 field_330;
        u64 field_338;
        u64 field_340;
        u64 field_348;
        u64 field_350;
        u64 field_358;
        u64 field_360;
        u64 field_368;
        u64 field_370;
        u64 field_378;
        u64 field_380;
        u64 field_388;
        u64 field_390;
        u64 field_398;
        u64 field_3A0;
        u64 field_3A8;
        u64 field_3B0;
        u64 field_3B8;
        u64 field_3C0;
        u64 field_3C8;
        u64 field_3D0;
        u64 field_3D8;
        u64 field_3E0;
        u64 field_3E8;
        u64 field_3F0;
        u64 field_3F8;
        u64 field_400;
        u64 field_408;
        u64 field_410;
        u64 field_418;
        u64 field_420;
        u64 field_428;
        u64 field_430;
        u64 field_438;
        u64 field_440;
        u64 field_448;
        u64 field_450;
        u64 field_458;
        u64 field_460;
        u64 field_468;
        u64 field_470;
        u64 field_478;
        u64 field_480;
        u64 field_488;
        u64 field_490;
        u64 field_498;
        u64 field_4A0;
        lv2::mutex field_4A8;
        u64 field_4E8;
        u64 field_4F0;
        u64 field_4F8;
        u64 field_500;
        u64 field_508;
        u64 field_510;
        u64 field_518;
        u64 field_520;
        u64 field_528;
    };

    class process
    {
        void *sc_table;
        lv2::sc_trace *sc_trace;
        u64 field_10;
        u64 field_18;
        u64 field_20;
        int pid;
        int status;
        lv2::process_as *process_as;
        lv2::pu_thr *primary_ppu_thread;
        u64 field_40;
        lv2::pu_thr *field_48;
        u64 num_pu_threads_1;
        u64 num_pu_threads_2;
        u64 field_60;
        u64 field_68;
        u64 field_70;
        u64 field_78;
        u64 field_80;
        u64 field_88;
        u64 field_90;
        u64 field_98;
        u64 field_A0;
        u64 size_of_memory;
        lv2::process *parent;
        lv2::process *first_child;
        lv2::process *last_child;
        u64 num_children;
        lv2::mutex field_D0;
        lv2::condition_variable field_110;
        u64 field_148;
        u64 field_150;
        u64 field_158;
        char *proc_image_filename;
        lv2::mutex field_168;
        u64 field_1A8;
        proc_phys_mem_stat field_1B0;
        unk_process_struct_1E8 field_1E8;
        lv2::id_table *id_table;
        u64 field_210;
        u64 field_218;
        u64 field_220;
        u64 field_228;
        u64 field_230;
        u64 field_238;
        u64 field_240;
        u64 field_248;
        u64 field_250;
        u64 field_258;
        u64 field_260;
        char osabi_type;
        int sdk_version;
        u64 field_270;
        u64 field_278;
        u64 field_280;
        u64 field_288;
        u64 field_290;
        u64 field_298;
        u64 field_2A0;
        u64 field_2A8;
        u64 field_2B0;
        u64 field_2B8;
        u64 field_2C0;
        u64 field_2C8;
        u64 field_2D0;
        u64 field_2D8;
        u64 field_2E0;
        u64 field_2E8;
        u64 field_2F0;
        u64 field_2F8;
        u64 field_300;
        u64 field_308;
        u64 field_310;
        u64 field_318;
        u64 field_320;
        u64 field_328;
        u64 field_330;
        u64 field_338;
        u64 field_340;
        u64 field_348;
        u64 field_350;
        u64 field_358;
        u64 field_360;
        u64 field_368;
        u64 field_370;
        u64 field_378;
        u64 field_380;
        u64 field_388;
        u64 field_390;
        u64 field_398;
        unk_process_struct_3A0 field_3A0;
        u64 field_3B0;
        u64 field_3B8;
        u64 field_3C0;
        u64 field_3C8;
    };
}

LV2 Kernel Syscall Table from SDK 0.80[edit]

https://pastebin.com/aTRaFstS

Merged Syscall Table (invalid entries are maintained from new FW)[edit]

0x3DD-syscall_989
0x3DB-syscall_987
0x3DA-syscall_986
0x3D9-syscall_985
0x3D8-syscall_984
0x3D7-syscall_983
0x3D6-syscall_982
0x3D5-syscall_981
0x3D4-syscall_980
0x3D3-syscall_979
0x3D2-syscall_978
0x3D1-syscall_977
0x3D0-syscall_976
0x3CF-syscall_975
0x3CE-syscall_974
0x3CD-syscall_973
0x3CC-syscall_972
0x3CB-syscall_971
0x3CA-syscall_970
0x3C9-syscall_969
0x3C8-syscall_968
0x3C7-syscall_967
0x3C6-syscall_966
0x3C5-syscall_965
0x3C4-syscall_964
0x3C3-syscall_963
0x3C2-syscall_sys_performance_monitor_bookmark <- new!
0x3C1-syscall_sys_performance_monitor_hidden <- new!
0x3C0-syscall_sys_performance_monitor <- new!
0x3BF-syscall_959
0x3BE-syscall_sys_dbg_comm_register_driver <- new!
0x3BD-syscall_sys_dbg_comm_register_handler <- new!
0x3BC-syscall_sys_dbg_comm_write_ready <- new!
0x3BB-syscall_sys_dbg_comm_write_64 <- new!
0x3BA-syscall_sys_dbg_comm_read_ready <- new!
0x3B9-syscall_sys_dbg_comm_read_64 <- new!
0x3B8-syscall_sys_dbg_comm_close <- new!
0x3B7-syscall_sys_dbg_comm_open <- new!
0x3B6-syscall_sys_dbg_comm_init <- new!
0x3B5-syscall_949
0x3B4-syscall_948
0x3B3-syscall_947
0x3B2-syscall_946
0x3B1-syscall_945
0x3B0-syscall_944
0x3AF-syscall_943
0x3AE-syscall_942
0x3AD-syscall_941
0x3AC-syscall_940
0x3AB-syscall_939
0x3AA-syscall_938
0x3A9-syscall_937
0x3A8-syscall_936
0x3A7-syscall_935
0x3A6-syscall_934
0x3A5-syscall_933
0x3A4-syscall_932
0x3A3-syscall_sys_dbg_get_shared_memory_attribute_list_64 <- new!
0x3A2-syscall_sys_dbg_get_user_memory_stat_64 <- new!
0x3A1-syscall_sys_dbg_terminate_scratch_data_area <- new!
0x3A0-syscall_sys_dbg_initialize_scratch_data_area_64 <- new!
0x39F-syscall_sys_dbg_terminate_scratch_executable_area <- new!
0x39E-syscall_sys_dbg_initialize_scratch_executable_area_64 <- new!
0x39D-syscall_sys_dbg_get_module_info_64 <- new!
0x39C-syscall_sys_dbg_get_module_list <- new!
0x39B-syscall_sys_dbg_set_spu_thread_group_event_cntl_flag <- new!
0x39A-syscall_sys_dbg_get_spu_thread_group_event_cntl_flag <- new!
0x399-syscall_sys_dbg_set_process_event_cntl_flag <- new!
0x398-syscall_sys_dbg_get_process_event_cntl_flag <- new!
0x397-syscall_sys_dbg_destroy_event_que <- new!
0x396-syscall_sys_dbg_read_event <- new!
0x395-syscall_sys_dbg_create_event_que <- new!
0x394-syscall_sys_dbg_spu_thread_get_exception_cause <- new!
0x393-syscall_sys_dbg_set_run_control_bit_to_spu <- new!
0x392-syscall_sys_dbg_get_process_info_64 <- new!
0x391-syscall_sys_dbg_kill_process <- new!
0x390-syscall_sys_dbg_spu_thread_write_to_ls <- new!
0x38F-syscall_sys_dbg_spu_thread_read_from_ls <- new!
0x38E-syscall_sys_dbg_get_thread_info_64 <- new!
0x38D-syscall_sys_dbg_get_thread_list <- new!
0x38C-syscall_sys_dbg_get_process_list <- new!
0x38B-syscall_sys_dbg_write_thread_register <- new!
0x38A-syscall_sys_dbg_read_thread_register <- new!
0x389-syscall_sys_dbg_write_process_memory_64 <- new!
0x388-syscall_sys_dbg_read_process_memory_64 <- new!
0x387-syscall_sys_dbg_continue_threads
0x386-syscall_sys_dbg_stop_threads <- new!
0x385-syscall_sys_dbg_continue_processes <- new!
0x384-syscall_sys_dbg_stop_processes <- new!
0x379-syscall_889
0x375-syscall_sys_deci3_open2 <- new!
0x374-syscall_sys_deci3_receive
0x373-syscall_sys_deci3_send
0x372-syscall_sys_deci3_close
0x371-syscall_sys_deci3_create_event_path
0x370-syscall_sys_deci3_open
0x36F-syscall_879
0x36E-syscall_878
0x36D-syscall_877
0x36C-syscall_876
0x36B-syscall_875
0x36A-syscall_874
0x369-syscall_sys_ss_get_cache_of_product_mode
0x368-syscall_sys_ss_get_open_psid
0x367-syscall_871
0x366-syscall_870
0x365-syscall_869
0x364-syscall_868
0x363-syscall_867
0x362-syscall_866
0x361-syscall_865
0x360-syscall_864
0x35F-syscall_863
0x35E-syscall_862
0x35D-syscall_861
0x35C-syscall_860
0x34F-syscall_847
0x34E-syscall_sys_fs_mapped_free <- new!
0x34D-syscall_sys_fs_mapped_allocate_64 <- new!
0x34C-syscall_sys_fs_get_fs_info <- new!
0x34B-syscall_sys_fs_get_fs_info_size <- new!
0x34A-syscall_sys_fs_get_mount_info <- new!
0x349-syscall_sys_fs_get_mount_info_size <- new!
0x348-syscall_sys_fs_disk_free <- new!
0x347-syscall_sys_fs_sync <- new!
0x346-syscall_sys_fs_umount <- new!
0x345-syscall_sys_fs_mount_64 <- new!
0x344-syscall_sys_fs_newfs_64 <- new!
0x343-syscall_sys_fs_chown <- new!
0x342-syscall_sys_fs_chmod <- new!
0x341-syscall_sys_fs_symbolic_link <- new!
0x340-syscall_sys_fs_ftruncate <- new!
0x33F-syscall_sys_fs_truncate <- new!
0x33E-syscall_sys_fs_lsn_write <- new!
0x33D-syscall_sys_fs_lsn_read <- new!
0x33C-syscall_sys_fs_lsn_unlock <- new!
0x33B-syscall_sys_fs_lsn_lock <- new!
0x33A-syscall_sys_fs_lsn_get_cda <- new!
0x339-syscall_sys_fs_lsn_get_cda_size <- new!
0x338-syscall_sys_fs_acl_write <- new!
0x337-syscall_sys_fs_acl_read <- new!
0x336-syscall_sys_fs_get_block_size <- new!
0x335-syscall_sys_fs_fget_block_size <- new!
0x334-syscall_sys_fs_fsync <- new!
0x333-syscall_sys_fs_fdatasync <- new!
0x332-syscall_sys_fs_lseek <- new!
0x331-syscall_sys_fs_fcntl <- new!
0x330-syscall_sys_fs_access <- new!
0x32F-syscall_sys_fs_utime <- new!
0x32E-syscall_sys_fs_unlink <- new!
0x32D-syscall_sys_fs_rmdir <- new!
0x32C-syscall_sys_fs_rename <- new!
0x32B-syscall_sys_fs_mkdir <- new!
0x32A-syscall_sys_fs_link <- new!
0x329-syscall_sys_fs_fstat <- new!
0x328-syscall_sys_fs_stat <- new!
0x327-syscall_sys_fs_closedir <- new!
0x326-syscall_sys_fs_readdir <- new!
0x325-syscall_sys_fs_opendir <- new!
0x324-syscall_sys_fs_close <- new!
0x323-syscall_sys_fs_write <- new!
0x322-syscall_sys_fs_read <- new!
0x321-syscall_sys_fs_open <- new!
0x320-syscall_sys_fs_test <- new!
0x2D6-syscall__sys_net_eurus_post_command <- new!
0x2D5-syscall__sys_net_sysctl <- new!
0x2D4-syscall__sys_net_ioctl <- new!
0x2D3-syscall__sys_net_control <- new!
0x2D2-syscall__sys_net_infoctl <- new!
0x2D1-syscall__sys_net_abortx <- new!
0x2D0-syscall__sys_net_write_dump <- new!
0x2CF-syscall__sys_net_close_dump <- new!
0x2CE-syscall__sys_net_read_dump <- new!
0x2CD-syscall__sys_net_open_dump <- new!
0x2CC-syscall__sys_net_select <- new!
0x2CB-syscall__sys_net_poll <- new!
0x2CA-syscall__sys_net_close <- new!
0x2C9-syscall__sys_net_socket <- new!
0x2C8-syscall__sys_net_shutdown <- new!
0x2C7-syscall__sys_net_setsockopt <- new!
0x2C6-syscall__sys_net_sendto <- new!
0x2C5-syscall__sys_net_sendmsg <- new!
0x2C4-syscall__sys_net_recvmsg <- new!
0x2C3-syscall__sys_net_recvfrom <- new!
0x2C2-syscall__sys_net_listen <- new!
0x2C1-syscall__sys_net_getsockopt <- new!
0x2C0-syscall__sys_net_getsockname <- new!
0x2BF-syscall__sys_net_getpeername <- new!
0x2BE-syscall__sys_net_connect <- new!
0x2BD-syscall__sys_net_bind <- new!
0x2BC-syscall__sys_net_accept <- new!
0x2BB-syscall_sys_iosys_infra_test_close <- new!
0x2B8-syscall_696
0x2B7-syscall_695
0x2B6-syscall_694
0x2B5-syscall_693
0x2B4-syscall_692
0x2B3-syscall_691
0x2B2-syscall_690
0x2B1-syscall_689
0x2B0-syscall_688
0x2AF-syscall_687
0x2AE-syscall_686
0x2AD-syscall_685
0x2AC-syscall_684
0x2AB-syscall_683
0x2AA-syscall_682
0x2A9-syscall_681
0x2A8-syscall_sys_rsx_audio_iounmap <- new!
0x2A7-syscall_sys_rsx_audio_iomap <- new!
0x2A6-syscall_sys_rsx_audio_queue <- new!
0x2A5-syscall_sys_rsx_audio_setup <- new!
0x2A4-syscall_sys_rsx_device_unmap
0x2A3-syscall_sys_rsx_device_map
0x2A2-syscall_sys_rsx_context_attribute
0x2A1-syscall_sys_rsx_context_iounmap
0x2A0-syscall_sys_rsx_context_iomap
0x29F-syscall_sys_rsx_context_free
0x29E-syscall_sys_rsx_context_allocate
0x29D-syscall_sys_rsx_memory_free
0x29C-syscall_sys_rsx_memory_allocate
0x29B-syscall_sys_rsx_device_close
0x29A-syscall_sys_rsx_device_open
0x293-syscall_659
0x292-syscall_sys_rsxaudio_stop_process <- new!
0x291-syscall_sys_rsxaudio_start_process <- new!
0x290-syscall_sys_rsxaudio_prepare_process <- new!
0x28F-syscall_sys_rsxaudio_close_connection <- new!
0x28E-syscall_sys_rsxaudio_create_connection <- new!
0x28D-syscall_sys_rsxaudio_unimport_shared_memory <- new!
0x28C-syscall_sys_rsxaudio_import_shared_memory <- new!
0x28B-syscall_sys_rsxaudio_finalize <- new!
0x28A-syscall_sys_rsxaudio_initialize <- new!
0x289-syscall_649
0x288-syscall_648
0x287-syscall_647
0x286-syscall_646
0x285-syscall_645
0x284-syscall_644
0x283-syscall_643
0x282-syscall_642
0x281-syscall_641
0x280-syscall_640
0x27F-syscall_639
0x27E-syscall_638
0x27D-syscall_637
0x27C-syscall_636
0x27B-syscall_635
0x27A-syscall_sys_fsw_disconnect_event
0x279-syscall_sys_fsw_connect_event
0x277-syscall_sys_gpio_get
0x276-syscall_sys_gpio_set
0x273-syscall_sys_io_buffer_free
0x272-syscall_sys_io_buffer_allocate_64 <- new!
0x271-syscall_sys_io_buffer_destroy
0x270-syscall_sys_io_buffer_create
0x26F-syscall_623
0x26E-syscall_622
0x26D-syscall_621
0x26C-syscall_620
0x26B-syscall_sys_storage_async_send_device_command
0x26A-syscall_sys_storage_set_region_acl
0x269-syscall_sys_storage_get_region_acl
0x268-syscall_sys_storage_execute_device_command
0x267-syscall_sys_storage_delete_region
0x266-syscall_sys_storage_create_region
0x265-syscall_sys_storage_set_medium_polling_interval
0x264-syscall_sys_storage_configure_medium_event
0x263-syscall_sys_storage_report_devices
0x262-syscall_sys_storage_get_device_config
0x261-syscall_sys_storage_get_device_info
0x260-syscall_sys_storage_async_cancel
0x25F-syscall_sys_storage_async_write
0x25E-syscall_sys_storage_async_read
0x25D-syscall_sys_storage_async_configure
0x25C-syscall_sys_storage_send_device_command
0x25B-syscall_sys_storage_write
0x25A-syscall_sys_storage_read
0x259-syscall_sys_storage_close
0x258-syscall_sys_storage_open
0x257-syscall_599
0x256-syscall_598
0x255-syscall_597
0x254-syscall_596
0x253-syscall_595
0x252-syscall_594
0x251-syscall_593
0x250-syscall_592
0x24F-syscall_591
0x24E-syscall_590
0x24D-syscall_589
0x24C-syscall_588
0x24B-syscall_587
0x24A-syscall_586
0x249-syscall_585
0x248-syscall_584
0x247-syscall_583
0x246-syscall_582
0x245-syscall_581
0x244-syscall_580
0x243-syscall_579
0x242-syscall_578
0x241-syscall_577
0x23F-syscall_575
0x23E-syscall_574
0x23D-syscall_573
0x23C-syscall_572
0x23B-syscall_571
0x23A-syscall_570
0x239-syscall_569
0x238-syscall_568
0x237-syscall_567
0x236-syscall_566
0x235-syscall_565
0x234-syscall_564
0x233-syscall_563
0x232-syscall_562
0x231-syscall_561
0x230-syscall_560
0x22F-syscall_559
0x22E-syscall_558
0x22D-syscall_557
0x22C-syscall_556
0x22B-syscall_555
0x22A-syscall_554
0x229-syscall_553
0x228-syscall_552
0x227-syscall_551
0x226-syscall_550
0x225-syscall_549
0x224-syscall_sys_usbd_send_event <- new!
0x223-syscall_sys_usbd_get_device_location <- new!
0x222-syscall_sys_usbd_get_isoch_transfer_status <- new!
0x221-syscall_sys_usbd_get_transfer_status <- new!
0x220-syscall_sys_usbd_isoch_transfer_data <- new!
0x21F-syscall_sys_usbd_transfer_data <- new!
0x21E-syscall_sys_usbd_attach <- new!
0x21D-syscall_sys_usbd_detect_device <- new!
0x21C-syscall_sys_usbd_receive_event <- new!
0x21B-syscall_sys_usbd_close_pipe <- new!
0x21A-syscall_sys_usbd_open_default_pipe <- new!
0x219-syscall_sys_usbd_open_pipe <- new!
0x218-syscall_sys_usbd_unregister_ldd <- new!
0x217-syscall_sys_usbd_register_ldd <- new!
0x216-syscall_sys_usbd_get_descriptor <- new!
0x215-syscall_sys_usbd_get_descriptor_size <- new!
0x214-syscall_sys_usbd_get_device_list <- new!
0x213-syscall_sys_usbd_finalize <- new!
0x212-syscall_sys_usbd_initialize <- new!
0x20D-syscall_525
0x20C-syscall_524
0x20B-syscall_523
0x20A-syscall_sys_config_unregister_service_internal <- new!
0x209-syscall_sys_config_register_service_internal <- new!
0x208-syscall_sys_config_remove_service_listener_internal <- new!
0x207-syscall_sys_config_add_service_listener_internal <- new!
0x206-syscall_sys_config_get_config_event <- new!
0x205-syscall_sys_config_close <- new!
0x204-syscall_sys_config_open <- new!
0x202-syscall_514
0x201-syscall_513
0x200-syscall_512
0x1FF-syscall_511
0x1FE-syscall_510
0x1FD-syscall_sys_hid_manager_release_focus <- new!
0x1FC-syscall_sys_hid_manager_grab_focus <- new!
0x1FB-syscall_sys_hid_manager_remove_hot_key_observer <- new!
0x1FA-syscall_sys_hid_manager_add_hot_key_observer <- new!
0x1F9-syscall_sys_hid_manager_unmap_logical_id_to_port_id <- new!
0x1F8-syscall_sys_hid_manager_map_logical_id_to_port_id <- new!
0x1F7-syscall_sys_hid_manager_ioctl <- new!
0x1F6-syscall_sys_hid_manager_read <- new!
0x1F5-syscall_sys_hid_manager_close <- new!
0x1F4-syscall_sys_hid_manager_open <- new!
0x1F3-syscall__sys_prx_stop
0x1F2-syscall__sys_prx_start
0x1F1-syscall__sys_prx_load_module_on_memcontainer
0x1F0-syscall__sys_prx_get_module_id_by_name
0x1EF-syscall__sys_prx_get_module_info
0x1EE-syscall__sys_prx_get_module_list
0x1ED-syscall_493
0x1EC-syscall_492
0x1EA-syscall__sys_prx_query_library
0x1E9-syscall__sys_prx_unlink_library
0x1E8-syscall__sys_prx_link_library
0x1E7-syscall__sys_prx_unregister_library
0x1E6-syscall__sys_prx_register_library
0x1E5-syscall__sys_prx_query_module
0x1E4-syscall__sys_prx_register_module
0x1E3-syscall__sys_prx_unload_module
0x1E2-syscall__sys_prx_stop_module
0x1E1-syscall__sys_prx_start_module
0x1E0-syscall__sys_prx_load_module
0x1DC-syscall_476
0x1DB-syscall_475
0x1DA-syscall_474
0x1D9-syscall_473
0x1D8-syscall_472
0x1D7-syscall_471
0x1D6-syscall_470
0x1D4-syscall_468
0x1D3-syscall_467
0x1D2-syscall_466
0x1D1-syscall_465
0x1D0-syscall__sys_prx_load_module_on_memcontainer_by_fd
0x1CF-syscall__sys_prx_load_module_by_fd
0x1CE-syscall_462
0x1CD-syscall__sys_prx_get_module_id_by_address
0x1CC-syscall_460
0x1CA-syscall_458
0x1C9-syscall_sys_overlay_get_module_dbg_info
0x1C8-syscall_sys_overlay_get_sdk_version
0x1C7-syscall_sys_overlay_get_module_info2
0x1C6-syscall_sys_overlay_load_module_by_fd
0x1C5-syscall_sys_overlay_get_module_info
0x1C4-syscall_sys_overlay_get_module_list
0x1C3-syscall_sys_overlay_unload_module
0x1C2-syscall_sys_overlay_load_module
0x19F-syscall_415
0x19E-syscall_414
0x19D-syscall_413
0x19C-syscall_412
0x19B-syscall_411
0x19A-syscall_410
0x199-syscall_409
0x198-syscall_408
0x197-syscall_407
0x196-syscall_406
0x195-syscall_405
0x194-syscall_404
0x193-syscall_sys_tty_write
0x192-syscall_sys_tty_read
0x191-syscall_401
0x190-syscall_400
0x18E-syscall_398
0x18D-syscall_397
0x18C-syscall_396
0x18B-syscall_395
0x18A-syscall_394
0x189-syscall_393
0x188-syscall_392
0x187-syscall_391
0x186-syscall_390
0x185-syscall_389
0x184-syscall_388
0x183-syscall_387
0x182-syscall_386
0x181-syscall_385
0x180-syscall_384
0x17F-syscall_383
0x17E-syscall_382
0x17D-syscall_381
0x17C-syscall_380
0x17B-syscall_379
0x17A-syscall_378
0x179-syscall_377
0x178-syscall_376
0x177-syscall_375
0x176-syscall_374
0x175-syscall_373
0x174-syscall_372
0x172-syscall_370
0x171-syscall_369
0x170-syscall_368
0x16F-syscall_367
0x16C-syscall_364
0x16B-syscall_363
0x16A-syscall_362
0x169-syscall_361
0x168-syscall_360
0x167-syscall_359
0x166-syscall_358
0x165-syscall_357
0x164-syscall_356
0x163-syscall_355
0x162-syscall_354
0x161-syscall_sys_memory_get_user_memory_stat <- new!
0x160-syscall_sys_memory_get_user_memory_size
0x15F-syscall_sys_memory_get_page_attribute
0x15E-syscall_sys_memory_allocate_from_container
0x15D-syscall_sys_memory_free
0x15C-syscall_sys_memory_allocate
0x15B-syscall_347
0x15A-syscall_346
0x159-syscall_345
0x158-invalid_entry
0x157-syscall_sys_memory_container_get_size
0x156-syscall_sys_memory_container_destroy
0x155-syscall_sys_memory_container_create
0x154-syscall_340
0x153-syscall_339
0x152-syscall_sys_mmapper_get_shared_memory_attribute
0x151-syscall_sys_mmapper_search_and_map
0x150-syscall_sys_mmapper_change_address_access_right
0x14F-syscall_sys_mmapper_unmap_shared_memory
0x14E-syscall_sys_mmapper_map_shared_memory
0x14D-syscall_sys_mmapper_set_shared_memory_flag
0x14C-syscall_sys_mmapper_allocate_shared_memory
0x14B-syscall_sys_mmapper_free_address
0x14A-syscall_sys_mmapper_allocate_address
0x149-syscall_sys_mmapper_free_shared_memory
0x148-syscall_328
0x147-syscall_sys_mmapper_enable_page_fault_notification
0x146-syscall_326
0x145-syscall_325
0x144-syscall_324
0x13B-syscall_import_user_kernel_shared_memory <- new!
0x13A-syscall_finalize_user_kernel_shared_memory <- new!
0x139-syscall_initialize_user_kernel_shared_memory <- new!
0x138-syscall_memory_dump_stat_by_type <- new!
0x137-syscall_memory_dump_heap <- new!
0x136-syscall_310
0x135-syscall_309
0x134-syscall_308
0x133-syscall_307
0x132-syscall_306
0x131-syscall_305
0x130-syscall_304
0x12F-syscall_sys_hw_set_vmx_rounding_mode <- new!
0x12E-syscall_logical_console_try_getc <- new!
0x12D-syscall_301
0x12C-syscall_300
0x104-syscall_sys_spu_image_open_by_fd
0x0FE-syscall_254
0x0FD-syscall_253
0x0FC-syscall_sys_spu_thread_group_disconnect_event_all_threads
0x0FB-syscall_sys_spu_thread_group_connect_event_all_threads
0x0FA-syscall_250
0x0F9-syscall_249
0x0F8-syscall_248
0x0F7-syscall_247
0x0F6-syscall_246
0x0F5-syscall_245
0x0F4-syscall_244
0x0F0-syscall_sys_isolated_spu_read_puint_mb <- new!
0x0EF-syscall_sys_isolated_spu_get_spu_cfg <- new!
0x0EE-syscall_sys_isolated_spu_set_spu_cfg <- new!
0x0ED-syscall_sys_isolated_spu_get_int_stat <- new!
0x0EC-syscall_sys_isolated_spu_set_int_stat <- new!
0x0EB-syscall_sys_isolated_spu_get_int_mask <- new!
0x0EA-syscall_sys_isolated_spu_set_int_mask <- new!
0x0E9-syscall_sys_isolated_spu_create_interrupt_tag <- new!
0x0E8-syscall_sys_isolated_spu_start <- new!
0x0E7-syscall_sys_isolated_spu_destroy <- new!
0x0E6-syscall_sys_isolated_spu_create <- new!
0x0DB-syscall_logical_console_flush <- new!
0x0DA-syscall_logical_console_putc <- new!
0x0D9-syscall_logical_console_getc <- new!
0x0D8-syscall_logical_console_close <- new!
0x0D7-syscall_logical_console_open <- new!
0x0C7-syscall_sys_raw_spu_recover_page_fault
0x0C6-syscall_sys_spu_thread_recover_page_fault
0x0C5-syscall_sys_raw_spu_get_spu_cfg
0x0C4-syscall_sys_raw_spu_set_spu_cfg
0x0C2-syscall_sys_spu_thread_unbind_queue
0x0C1-syscall_sys_spu_thread_bind_queue
0x0C0-syscall_sys_spu_thread_disconnect_event
0x0BF-syscall_sys_spu_thread_connect_event
0x0BE-syscall_sys_spu_thread_write_spu_mb
0x0BC-syscall_sys_spu_thread_get_spu_cfg
0x0BB-syscall_sys_spu_thread_set_spu_cfg
0x0BA-syscall_sys_spu_thread_group_disconnect_event
0x0B9-syscall_sys_spu_thread_group_connect_event
0x0B8-syscall_sys_spu_thread_write_snr
0x0B6-syscall_sys_spu_thread_read_ls
0x0B5-syscall_sys_spu_thread_write_ls
0x0B4-syscall_sys_spu_thread_group_get_priority
0x0B3-syscall_sys_spu_thread_group_set_priority
0x0B2-syscall_sys_spu_thread_group_join
0x0B1-syscall_sys_spu_thread_group_terminate
0x0B0-syscall_sys_spu_thread_group_yield
0x0AF-syscall_sys_spu_thread_group_resume
0x0AE-syscall_sys_spu_thread_group_suspend
0x0AD-syscall_sys_spu_thread_group_start
0x0AC-syscall_sys_spu_thread_initialize
0x0AB-syscall_sys_spu_thread_group_destroy
0x0AA-syscall_sys_spu_thread_group_create
0x0A9-syscall_sys_spu_initialize
0x0A7-syscall_sys_spu_thread_group_start_on_exit
0x0A6-syscall_sys_spu_thread_set_argument
0x0A5-syscall_sys_spu_thread_get_exit_status
0x0A3-syscall_sys_raw_spu_read_puint_mb
0x0A1-syscall_sys_raw_spu_destroy
0x0A0-syscall_sys_raw_spu_create
0x09F-syscall_159
0x09E-syscall__sys_spu_image_close <- new!
0x09D-syscall__sys_spu_image_import <- new!
0x09C-syscall_sys_spu_image_open
0x09B-syscall_155
0x09A-syscall_sys_raw_spu_get_int_stat
0x099-syscall_sys_raw_spu_set_int_stat
0x098-syscall_sys_raw_spu_get_int_mask
0x097-syscall_sys_raw_spu_set_int_mask
0x096-syscall_sys_raw_spu_create_interrupt_tag
0x094-syscall_sys_time_get_lpar_timebase_count <- new!
0x093-syscall_sys_time_get_timebase_frequency
0x092-syscall_sys_time_set_current_time <- new!
0x091-syscall_sys_time_get_current_time
0x090-syscall_sys_time_get_timezone <- new!
0x08F-syscall_sys_time_set_timezone <- new!
0x08E-syscall_sys_timer_sleep
0x08D-syscall_sys_timer_usleep
0x08C-syscall_sys_event_port_connect_ipc
0x08B-syscall_sys_event_queue_cancel <- new!
0x08A-syscall_sys_event_port_send
0x089-syscall_sys_event_port_disconnect
0x088-syscall_sys_event_port_connect_local
0x087-syscall_sys_event_port_destroy
0x086-syscall_sys_event_port_create
0x085-syscall_sys_event_queue_drain
0x084-syscall_sys_event_port_connect_lpar <- new!
0x083-syscall_sys_event_queue_tryreceive
0x082-syscall_sys_event_queue_receive
0x081-syscall_sys_event_queue_destroy
0x080-syscall_sys_event_queue_create
0x07F-syscall_sys_rwlock_wunlock
0x07E-syscall_sys_rwlock_trywlock
0x07D-syscall_sys_rwlock_wlock
0x07C-syscall_sys_rwlock_runlock
0x07B-syscall_sys_rwlock_tryrlock
0x07A-syscall_sys_rwlock_rlock
0x079-syscall_sys_rwlock_destroy
0x078-syscall_sys_rwlock_create
0x077-syscall_119
0x076-syscall_118
0x075-syscall_117
0x074-syscall_116
0x073-syscall_115
0x072-syscall_sys_semaphore_get_value
0x071-syscall_sys_syncpoint_wakeup_all <- new!
0x070-syscall_sys_syncpoint_wait <- new!
0x06F-syscall_sys_syncpoint_destroy <- new!
0x06E-syscall_sys_syncpoint_create <- new!
0x06D-syscall_sys_cond_signal_all
0x06C-syscall_sys_cond_signal
0x06B-syscall_sys_cond_wait
0x06A-syscall_sys_cond_destroy
0x069-syscall_sys_cond_create
0x068-syscall_sys_mutex_unlock
0x067-syscall_sys_mutex_trylock
0x066-syscall_sys_mutex_lock
0x065-syscall_sys_mutex_destroy
0x064-syscall_sys_mutex_create
0x063-syscall__sys_sleep_queue_state_change <- new!
0x062-syscall__sys_sleep_queue_wakeup <- new!
0x061-syscall__sys_sleep_queue_sleep <- new!
0x060-syscall__sys_sleep_queue_destroy <- new!
0x05F-syscall__sys_sleep_queue_create <- new!
0x05E-syscall_sys_semaphore_post
0x05D-syscall_sys_semaphore_trywait
0x05C-syscall_sys_semaphore_wait
0x05B-syscall_sys_semaphore_destroy
0x05A-syscall_sys_semaphore_create
0x059-syscall__sys_interrupt_thread_disestablish
0x058-syscall_sys_interrupt_thread_eoi
0x057-syscall_87
0x056-syscall_86
0x055-syscall_85
0x054-syscall__sys_interrupt_thread_establish
0x053-syscall_sys_interrupt_handler_establish <- new!
0x052-syscall_82
0x051-syscall_sys_interrupt_tag_destroy
0x050-syscall_sys_interrupt_tag_create
0x04E-syscall_78
0x04D-syscall_77
0x04C-syscall_sys_timer_disconnect_event_queue
0x04B-syscall_sys_timer_connect_event_queue
0x04A-syscall_sys_timer_stop
0x049-syscall__sys_timer_start
0x048-syscall_sys_timer_get_information
0x047-syscall_sys_timer_destroy
0x046-syscall_sys_timer_create
0x045-syscall_sys_trace_create2
0x044-syscall_sys_trace_free_buffer
0x043-syscall_sys_trace_allocate_buffer
0x042-syscall_sys_trace_attach_process <- new!
0x041-syscall_sys_trace_drain <- new!
0x040-syscall_sys_trace_destroy <- new!
0x03F-syscall_sys_trace_update_top_index <- new!
0x03E-syscall_sys_trace_stop <- new!
0x03D-syscall_sys_trace_start <- new!
0x03C-syscall_sys_trace_create <- new!
0x03A-syscall_58
0x039-syscall_sys_ppu_thread_recover_page_fault
0x038-syscall_sys_ppu_thread_rename
0x037-syscall_55
0x036-syscall_54
0x035-syscall__sys_ppu_thread_start <- new!
0x034-syscall__sys_ppu_thread_create <- new!
0x033-syscall_sys_ppu_thread_restart <- new!
0x032-syscall_sys_ppu_thread_stop <- new!
0x031-syscall_sys_ppu_thread_get_stack_information
0x030-syscall_sys_ppu_thread_get_priority
0x02F-syscall_sys_ppu_thread_set_priority
0x02E-syscall_sys_ppu_thread_get_join_state
0x02D-syscall_sys_ppu_thread_detach
0x02C-syscall_sys_ppu_thread_join
0x02B-syscall_sys_ppu_thread_yield
0x029-syscall__sys_ppu_thread_exit <- new!
0x01F-syscall_31
0x01E-syscall_30
0x01D-syscall_29
0x01C-syscall_28
0x01B-syscall_27
0x01A-syscall_26
0x019-syscall_sys_process_get_sdk_version
0x018-syscall_24
0x017-syscall_sys_process_wait_for_child2
0x016-syscall_22
0x015-syscall__sys_process_spawn <- new!
0x013-syscall_sys_process_kill
0x012-syscall_sys_process_getppid
0x00E-syscall_sys_process_is_spu_lock_line_reservation_address
0x00D-syscall_sys_process_get_id
0x00C-syscall_sys_process_get_number_of_object
0x005-syscall_sys_process_detach_child
0x004-syscall_sys_process_get_status
0x003-syscall_sys_process_exit <- new!
0x002-syscall_sys_process_wait_for_child
0x001-syscall_sys_process_getpid

SYSDBG Unique Syscalls[edit]

0x2BA-syscall_sys_iosys_infra_test_execute
0x2B9-syscall_sys_iosys_infra_test_open
0x193-syscall_sys_test_sm_callback
0x192-syscall_sys_null_call
0x191-syscall_sync_kernel_test
0x190-syscall_sync_kernel_spin_test
0x13C-syscall_unimport_user_kernel_shared_memory
0x128-syscall_sys_pseudo_fs_get_dents
0x127-syscall_sys_pseudo_fs_truncate
0x126-syscall_proc_get_filename
0x124-syscall_invalidate_i_cache_blocks_related_kernel
0x123-syscall_change_l2_cache_state_all
0x122-syscall_set_l2_cache_replacement_mode
0x113-syscall_set_vsync_schedule
0x103-syscall_remove_repository_node
0x102-syscall_modify_repository_node_value
0x101-syscall_get_repository_node_value
0x100-syscall_create_repository_node
0x0E2-syscall_get_logical_partition_id <- on table but not on kernel?
0x0D6-syscall_sys_pseudo_fs_get_file_size <- on table but not on kernel?
0x0D5-syscall_console_write <- on table but not on kernel?
0x0D4-syscall_start_debug <- on table but not on kernel?
0x0D3-syscall_sys_pseudo_fs_append <- on table but not on kernel?
0x0D2-syscall_sys_pseudo_fs_write <- on table but not on kernel?
0x0D1-syscall_sys_pseudo_fs_read <- on table but not on kernel?
0x0CB-syscall_event_send_locally <- on table but not on kernel?
0x0CA-syscall_event_create_port <- on table but not on kernel?
0x0C9-syscall_console_getc <- on table but not on kernel?
0x0C8-syscall_console_putc <- on table but not on kernel?
0x095-syscall_sys_time_get_system_time
0x014-syscall_sys_process_create_primary_ppu_thread_tls
0x00C-syscall_sys_process_get_number_of_object
0x00B-syscall_sys_process_find_and_load_program_segment
0x00A-syscall_sys_process_unload_program_segment
0x009-syscall_sys_process_load_program_segment
0x008-syscall_sys_process_authenticate_program_segment
0x007-syscall_sys_process_destroy_program_segment
0x006-syscall_sys_process_create_program_segment

ida script[edit]

scans through all executable segments for syscalls and adds names as comments.

syscalls = [
	1, "sys_process_getpid",
	2, "sys_process_wait_for_child",
	3, "sys_process_exit",
	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",
	21, "_sys_process_spawn",
	22, "sys_process_exit",
	23, "sys_process_wait_for_child2",
	24, "",
	25, "sys_process_get_sdk_version",
	26, "_sys_process_exitaswell",
	27, "",
	28, "_sys_process_get_number_of_objectaswellkinda",
	29, "sys_process_get_idaswell",
	30, "_sys_process_get_paramsfo",
	31, "sys_process_get_ppu_guid",
	41, "sys_ppu_thread_exit",
	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",
	50, "sys_ppu_thread_stop",
	51, "sys_ppu_thread_restart",
	52, "sys_ppu_thread_create",
	53, "sys_ppu_thread_start",
	54, "",
	55, "",
	56, "sys_ppu_thread_rename",
	57, "sys_ppu_thread_recover_page_fault",
	58, "sys_ppu_thread_get_page_fault_context",
	60, "sys_trace_create",
	61, "sys_trace_start",
	62, "sys_trace_stop",
	63, "sys_trace_update_top_index",
	64, "sys_trace_destroy",
	65, "sys_trace_drain",
	66, "sys_trace_attach_process",
	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",
	77, "sys_trace_create2_in_cbepm",
	78, "sys_trace_",
	80, "sys_interrupt_tag_create",
	81, "sys_interrupt_tag_destroy",
	82, "sys_event_flag_create",
	83, "sys_event_flag_destroy",
	84, "sys_interrupt_thread_establish",
	85, "sys_event_flag_wait",
	86, "sys_event_flag_trywait",
	87, "sys_event_flag_set",
	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",
	95, "sys_lwmutex_create",
	96, "sys_lwmutex_destroy",
	97, "sys_lwmutex_lock",
	98, "sys_lwmutex_trylock",
	99, "sys_lwmutex_unlock",
	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",
	111, "sys_lwcond_create",
	112, "sys_lwcond_destroy",
	113, "sys_lwcond_queue_wait",
	114, "sys_semaphore_get_value",
	115, "",
	116, "",
	117, "",
	118, "sys_event_flag_clear",
	119, "",
	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",
	132, "sys_event_flag_cancel",
	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",
	139, "sys_event_flag_get",
	140, "sys_event_port_connect_ipc",
	141, "sys_timer_usleep",
	142, "sys_timer_sleep",
	143, "sys_time_set_timezone",
	144, "sys_time_get_timezone",
	145, "sys_time_get_current_time",
	146, "sys_time_set_current_time",
	147, "sys_time_get_timebase_frequency",
	148, "sys_rwlock_trywlock",
	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",
	155, "sys_spu_image_get_information?",
	156, "sys_spu_image_open",
	157, "sys_spu_image_import",
	158, "sys_spu_image_close",
	159, "sys_raw_spu_load",
	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",
	200, "",
	201, "",
	202, "",
	203, "",
	209, "",
	210, "",
	211, "",
	212, "",
	213, "",
	214, "",
	215, "sys_dbg_mat_set_condition",
	216, "sys_dbg_mat_get_condition",
	217, "",
	218, "",
	219, "",
	226, "",
	230, "sys_isolated_spu_create",
	231, "sys_isolated_spu_destroy",
	232, "sys_isolated_spu_start",
	233, "sys_isolated_spu_create_interrupt_tag",
	234, "sys_isolated_spu_set_int_mask",
	235, "sys_isolated_spu_get_int_mask",
	236, "sys_isolated_spu_set_int_stat",
	237, "sys_isolated_spu_get_int_stat",
	238, "sys_isolated_spu_set_spu_cfg",
	239, "sys_isolated_spu_get_spu_cfg",
	240, "sys_isolated_spu_read_puint_mb",
	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",
	248, "sys_spu_thread_group....",
	249, "sys_spu_thread_group....",
	250, "sys_spu_thread_group_set_cooperative_victims",
	251, "sys_spu_thread_group_connect_event_all_threads",
	252, "sys_spu_thread_group_disconnect_event_all_threads",
	253, "sys_spu_thread_group..",
	254, "sys_spu_thread_group_log",
	260, "sys_spu_image_open_by_fd",
	300, "sys_vm_memory_map",
	301, "sys_vm_unmap",
	302, "sys_vm_append_memory",
	303, "sys_vm_return_memory",
	304, "sys_vm_lock",
	305, "sys_vm_unlock",
	306, "sys_vm_touch",
	307, "sys_vm_flush",
	308, "sys_vm_invalidate",
	309, "sys_vm_store",
	310, "sys_vm_sync",
	311, "sys_vm_test",
	312, "sys_vm_get_statistics",
	313, "diffsys_vm_memory_map",
	314, "",
	315, "",
	324, "sys_memory_container_create",
	325, "sys_memory_container_destroy",
	326, "sys_mmapper_allocate_fixed_address",
	327, "sys_mmapper_enable_page_fault_notification",
	328, "",
	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",
	339, "",
	340, "",
	341, "_sys_memory_container_create2?",
	342, "sys_memory_container_destroy?",
	343, "sys_memory_container_get_size",
	344, "sys_memory_budget_set",
	345, "",
	346, "",
	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",
	353, "sys_memory_get_user_memory_stat",
	354, "",
	355, "",
	356, "sys_memory_allocate_colored",
	357, "",
	358, "",
	359, "",
	360, "",
	361, "sys_memory_allocate_from_container_colored",
	362, "sys_mmapper_allocate_memory_from_container",
	363, "",
	364, "",
	367, "sys_uart_initialize",
	368, "sys_uart_receive",
	369, "sys_uart_send",
	370, "sys_uart_get_params",
	372, "sys_game_watchdog_start",
	373, "sys_game_watchdog_stop",
	374, "sys_game_watchdog_clear",
	375, "sys_game_set_system_sw_version",
	376, "sys_game_get_system_sw_version",
	377, "sys_sm_set_shop_mode",
	378, "sys_sm_get_ext_event2",
	379, "sys_sm_shutdown",
	380, "sys_sm_get_params",
	381, "sys_sm_get_inter_lpar_parameter?",
	382, "sys_sm_",
	383, "sys_game_get_temperature",
	384, "sys_sm_get_tzpb",
	385, "sys_sm_request_led",
	386, "sys_sm_control_led",
	387, "sys_sm_get_platform_info?",
	388, "sys_sm_ring_buzzer_too",
	389, "sys_sm_set_fan_policy",
	390, "sys_sm_request_error_log",
	391, "sys_sm_request_be_count",
	392, "sys_sm_ring_buzzer",
	393, "sys_sm_get_hw_config",
	394, "sys_sm_request_scversion",
	395, "sys_sm_request_system_event_log",
	396, "sys_sm_set_rtc_alarm",
	397, "sys_sm_get_rtc_alarm",
	398, "sys_console_write",
	400, "",
	401, "",
	402, "sys_tty_read",
	403, "sys_tty_write",
	404, "",
	405, "",
	406, "",
	407, "",
	408, "sys_sm_get_tzpbtoo",
	409, "sys_sm_get_fan_policy",
	410, "sys_game_board_storage_read",
	411, "sys_game_board_storage_write",
	412, "sys_game_get_rtc_status",
	413, "",
	414, "",
	415, "",
	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",
	458, "sys_overlay_get_module_dbg_infotoo",
	460, "sys_prx_dbg_get_module_id_list",
	461, "sys_prx_get_module_id_by_address",
	462, "",
	463, "sys_prx_load_module_by_fd",
	464, "sys_prx_load_module_on_memcontainer_by_fd",
	465, "sys_prx_load_module_list",
	466, "sys_prx_load_module_list_on_memcontainer",
	467, "sys_prx_get_ppu_guid",
	468, "",
	470, "",
	471, "",
	472, "",
	473, "",
	474, "",
	475, "",
	476, "",
	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",
	492, "",
	493, "sys_prx_dbg_get_module_info",
	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",
	500, "sys_hid_manager_open",
	501, "sys_hid_manager_close",
	502, "sys_hid_manager_read",
	503, "sys_hid_manager_ioctl",
	504, "sys_hid_manager_map_logical_id_to_port_id",
	505, "sys_hid_manager_unmap_logical_id_to_port_id",
	506, "sys_hid_manager_add_hot_key_observer",
	507, "sys_hid_manager_remove_hot_key_observer",
	508, "sys_hid_manager_grab_focus",
	509, "sys_hid_manager_release_focus",
	510, "sys_hid_manager_...",
	511, "sys_hid_manager_set_...",
	512, "",
	513, "sys_hid_manager_...",
	514, "sys_hid_manager_...",
	516, "sys_config_open",
	517, "sys_config_close",
	518, "sys_config_get_service_event",
	519, "sys_config_add_service_listener",
	520, "sys_config_remove_service_listener",
	521, "sys_config_register_service",
	522, "sys_config_unregister_service",
	523, "sys_config_io_event",
	524, "sys_config_",
	525, "sys_config_",
	530, "sys_usbd_initialize",
	531, "sys_usbd_finalize",
	532, "sys_usbd_get_device_list",
	533, "sys_usbd_get_descriptor_size",
	534, "sys_usbd_get_descriptor",
	535, "sys_usbd_register_ldd",
	536, "sys_usbd_unregister_ldd",
	537, "sys_usbd_open_pipe",
	538, "sys_usbd_open_default_pipe",
	539, "sys_usbd_close_pipe",
	540, "sys_usbd_receive_event",
	541, "sys_usbd_detect_event",
	542, "sys_usbd_attach",
	543, "sys_usbd_transfer_data",
	544, "sys_usbd_isochronous_transfer_data",
	545, "sys_usbd_get_transfer_status",
	546, "sys_usbd_get_isochronous_transfer_status",
	547, "sys_usbd_get_device_location",
	548, "sys_usbd_send_event",
	549, "",
	550, "sys_usbd_allocate_memory",
	551, "sys_usbd_free_memory",
	552, "",
	553, "",
	554, "",
	555, "",
	556, "sys_usbd_get_device_speed",
	557, "",
	558, "",
	559, "sys_usbd_register_extra_ldd",
	560, "",
	561, "",
	562, "",
	563, "",
	564, "",
	565, "",
	566, "",
	567, "",
	568, "",
	569, "",
	570, "",
	571, "sys_pad_ldd_unregister_controller",
	572, "sys_pad_ldd_data_insert",
	573, "sys_pad_dbg_ldd_set_data_insert_mode",
	574, "sys_pad_ldd_register_controller",
	575, "sys_pad_ldd_get_port_no",
	577, "sys_pad_manager_....",
	578, "",
	579, "",
	580, "",
	581, "",
	582, "",
	583, "",
	584, "",
	585, "",
	586, "",
	587, "",
	588, "",
	589, "",
	590, "",
	591, "",
	592, "",
	593, "",
	594, "",
	595, "",
	596, "",
	597, "",
	598, "",
	599, "",
	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_check_region_acl",
	618, "sys_storage_set_region_acl",
	619, "sys_storage_async_send_device_command",
	620, "",
	621, "sys_gamepad_ycon_if",
	622, "sys_storage_get_region_offset",
	623, "sys_storage_set_emulated_speed",
	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",
	635, "sys_btsetting_if?",
	636, "",
	637, "",
	638, "",
	639, "",
	640, "",
	641, "",
	642, "",
	643, "",
	644, "",
	645, "",
	646, "",
	647, "",
	648, "",
	649, "",
	650, "sys_rsxaudio_initialize",
	651, "sys_rsxaudio_finalize",
	652, "sys_rsxaudio_import_shared_memory",
	653, "sys_rsxaudio_unimport_shared_memory",
	654, "sys_rsxaudio_create_connection",
	655, "sys_rsxaudio_close_connection",
	656, "sys_rsxaudio_prepare_process",
	657, "sys_rsxaudio_start_process",
	658, "sys_rsxaudio_",
	659, "sys_rsxaudio_",
	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",
	678, "",
	679, "",
	680, "",
	681, "",
	682, "",
	683, "",
	684, "",
	685, "",
	686, "",
	687, "",
	688, "",
	689, "",
	690, "",
	691, "",
	692, "",
	693, "",
	694, "",
	695, "",
	696, "",
	699, "sys_bdemu_send_command",
	700, "sys_net_bnet_accept",
	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, "sys_net_open_dump",
	718, "sys_net_read_dump",
	719, "sys_net_close_dump",
	720, "sys_net_write_dump",
	721, "sys_net_abort",
	722, "sys_net_infoctl",
	723, "sys_net_control",
	724, "sys_net_bnet_ioctl",
	725, "sys_net_bnet_sysctl",
	726, "sys_net_eurus_post_command",
	800, "sys_fs_test",
	801, "sys_fs_open",
	802, "sys_fs_read",
	803, "sys_fs_write",
	804, "sys_fs_close",
	805, "sys_fs_opendir",
	806, "sys_fs_readdir",
	807, "sys_fs_closedir",
	808, "sys_fs_stat",
	809, "sys_fs_fstat",
	810, "sys_fs_link",
	811, "sys_fs_mkdir",
	812, "sys_fs_rename",
	813, "sys_fs_rmdir",
	814, "sys_fs_unlink",
	815, "sys_fs_utime",
	816, "sys_fs_access",
	817, "sys_fs_fcntl",
	818, "sys_fs_lseek",
	819, "sys_fs_fdatasync",
	820, "sys_fs_fsync",
	821, "sys_fs_fget_block_size",
	822, "sys_fs_get_block_size",
	823, "sys_fs_acl_read",
	824, "sys_fs_acl_write",
	825, "sys_fs_lsn_get_cda_size",
	826, "sys_fs_lsn_get_cda",
	827, "sys_fs_lsn_lock",
	828, "sys_fs_lsn_unlock",
	829, "sys_fs_lsn_read",
	830, "sys_fs_lsn_write",
	831, "sys_fs_truncate",
	832, "sys_fs_ftruncate",
	833, "sys_fs_symbolic_link",
	834, "sys_fs_chmod",
	835, "sys_fs_chown",
	836, "sys_fs_newfs",
	837, "sys_fs_mount",
	838, "sys_fs_unmount",
	839, "sys_fs_sync",
	840, "sys_fs_disk_free",
	841, "sys_fs_get_mount_info_size",
	842, "sys_fs_get_mount_info",
	843, "sys_fs_get_fs_info_size",
	844, "sys_fs_get_fs_info",
	845, "sys_fs_mapped_allocate",
	846, "sys_fs_mapped_free",
	847, "sys_fs_truncate2",
	860, "syscall_sys_ss_get_cache_of_analog_sunset_flag",
	861, "",
	862, "",
	863, "",
	864, "",
	865, "sys_ss_random_number_generator",
	866, "",
	867, "",
	868, "",
	869, "",
	870, "sys_ss_get_console_id",
	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",
	877, "sys_ss_~utoken_if",
	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",
	885, "sys_deci3_open2",
	889, "sys_",
	890, "sys_deci3_initialize",
	891, "sys_deci3_terminate",
	892, "sys_deci3_debug_mode",
	893, "sys_deci3_show_status",
	894, "sys_deci3_echo_test",
	895, "sys_deci3_send_dcmp_packet",
	896, "sys_deci3_dump_cp_register",
	897, "sys_deci3_dump_cp_buffer",
	899, "sys_deci3_test",
	900, "sys_dbg_stop_processes",
	901, "sys_dbg_continue_processes",
	902, "sys_dbg_stop_threads",
	903, "sys_dbg_continue_threads",
	904, "sys_dbg_read_process_memory",
	905, "sys_dbg_write_process_memory",
	906, "sys_dbg_read_thread_register",
	907, "sys_dbg_write_thread_register",
	908, "sys_dbg_get_process_list",
	909, "sys_dbg_get_thread_list",
	910, "sys_dbg_get_thread_info",
	911, "sys_dbg_spu_thread_read_from_ls",
	912, "sys_dbg_spu_thread_write_to_ls",
	913, "sys_dbg_kill_process",
	914, "sys_dbg_get_process_info",
	915, "sys_dbg_set_run_control_bit_to_spu",
	916, "sys_dbg_spu_thread_get_exception_cause",
	917, "sys_dbg_create_kernel_event_queue",
	918, "sys_dbg_read_kernel_event_queue",
	919, "sys_dbg_destroy_kernel_event_queue",
	920, "sys_dbg_get_process_event_ctrl_flag",
	921, "sys_dbg_set_process_event_cntl_flag",
	922, "sys_dbg_get_spu_thread_group_event_cntl_flag",
	923, "sys_dbg_set_spu_thread_group_event_cntl_flag",
	924, "",
	925, "sys_dbg_get_raw_spu_list",
	926, "",
	927, "",
	928, "",
	929, "",
	930, "",
	931, "",
	932, "sys_dbg_get_mutex_list",
	933, "sys_dbg_get_mutex_information",
	934, "sys_dbg_get_cond_list",
	935, "sys_dbg_get_cond_information",
	936, "sys_dbg_get_rwlock_list",
	937, "sys_dbg_get_rwlock_information",
	938, "sys_dbg_get_lwmutex_list",
	939, "sys_dbg_get_address_from_dabr",
	940, "sys_dbg_set_address_to_dabr",
	941, "sys_dbg_get_lwmutex_information",
	942, "sys_dbg_get_event_queue_list",
	943, "sys_dbg_get_event_queue_information",
	944, "sys_dbg_initialize_ppu_exception_handler",
	945, "sys_dbg_finalize_ppu_exception_handler",
	946, "sys_dbg_get_semaphore_list",
	947, "sys_dbg_get_semaphore_information",
	948, "sys_dbg_get_kernel_thread_list",
	949, "sys_dbg_get_kernel_thread_info",
	950, "sys_dbg_get_lwcond_list",
	951, "sys_dbg_get_lwcond_information",
	952, "sys_dbg_create_scratch_data_area_ext",
	953, "sys_dbg_vm_get_page_information",
	954, "sys_dbg_vm_get_info",
	955, "sys_dbg_enable_floating_point_enabled_exception",
	956, "sys_dbg_disable_floating_point_enabled_exception",
	957, "sys_dbg_get_process_memory_container_information",
	959, "sys_dbg_(sendeventflags?)",
	960, "sys_control_performance_monitor?",
	961, "",
	962, "",
	963, "",
	964, "",
	965, "",
	966, "",
	967, "",
	968, "",
	969, "",
	970, "sys_dbg_get_event_flag_list",
	971, "sys_dbg_get_event_flag_information",
	972, "sys_dbg_(send event flags?)",
	973, "",
	974, "",
	975, "sys_dbg_read_spu_thread_context2",
	976, "sys_crypto_engine_create",
	977, "sys_crypto_engine_destroy",
	978, "sys_crypto_engine_hasher_prepare",
	979, "sys_crypto_engine_hasher_run",
	980, "sys_crypto_engine_hasher_get_hash",
	981, "sys_crypto_engine_cipher_prepare",
	982, "sys_crypto_engine_cipher_run",
	983, "sys_crypto_engine_cipher_get_hash",
	984, "sys_crypto_engine_random_generate",
	985, "sys_dbg_get_console_type?",
	986, "",
	987, "",
	988, "sys_dbg_(something)_ppu_exception_handler",
	989, ""
]

for seg in Segments():
	#print "%x" % seg
	if GetSegmentAttr(seg, SEGATTR_PERM) == 5: # Executable
		addr = GetSegmentAttr(seg, SEGATTR_START)
		end = GetSegmentAttr(seg, SEGATTR_END)
		while addr < end:
			while GetMnem(addr) != "sc" and addr < end:
				addr = NextHead(addr)
			addr2 = addr
			if addr2 < end:
				while GetMnem(addr2) != "li" or GetOpnd(addr2, 0) != "r11":
					addr2 = PrevHead(addr2)
			scnum = GetOperandValue(addr2, 1)

			try:
				scname = syscalls[syscalls.index(scnum) + 1]
				print "%x Syscall: %x %s" % (addr, scnum, scname)
				MakeComm(addr, scname)
				addr = NextHead(addr)
			except:
				print "%x Unexpected syscall number %x" % (addr, scnum)