Editing Hypervisor Reverse Engineering
Jump to navigation
Jump to search
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 217: | Line 217: | ||
0xE - int kill(int pid, int signal_type) | 0xE - int kill(int pid, int signal_type) | ||
0xF - int brk(void * | 0xF - int brk(void *) | ||
0x10 - int socket(int af, int type, int protocol) (supports only address family 0x1F, type 0x0 and protocol 0x0) | 0x10 - int socket(int af, int type, int protocol) (supports only address family 0x1F, type 0x0 and protocol 0x0) | ||
Line 247: | Line 247: | ||
0x1D - unmap_pages(...) (used for free) | 0x1D - unmap_pages(...) (used for free) | ||
0x1E - | 0x1E - select(...) | ||
0x1F - getcwd(...) | 0x1F - getcwd(...) | ||
Line 253: | Line 253: | ||
0x20 - Not used | 0x20 - Not used | ||
0x21 - | 0x21 - alarm(...) | ||
0x22 - | 0x22 - ioctl(...) | ||
0x23 - pme_memalign(...) | 0x23 - pme_memalign(...) | ||
Line 269: | Line 269: | ||
=== System call numbers === | === System call numbers === | ||
0x10000 - allocate_memory(LPAR id, size, log2 of page size, ?, ?) | 0x10000 - allocate_memory(LPAR id, size, log2 of page size, ?, ?) | ||
0x10001 - query_logical_partition_address_region_info | 0x10001 - query_logical_partition_address_region_info | ||
Line 363: | Line 363: | ||
0x10044 - disable_spe_execution | 0x10044 - disable_spe_execution | ||
0x10045 - | 0x10045 - set_spe_interrupt_mask | ||
0x10046 - read_spe_problem_state_register(spe id, register offset, value) | 0x10046 - read_spe_problem_state_register(spe id, register offset, value) | ||
0x10047 - write_spe_problem_state_register(spe id, register offset, value) | 0x10047 - write_spe_problem_state_register(spe id, register offset, value) | ||
0x1004B - disable_spe_loading | 0x1004B - disable_spe_loading | ||
Line 3,989: | Line 3,987: | ||
offset 0x90 - LPAR image path | offset 0x90 - LPAR image path | ||
offset 0x1C0 - LPAR ability (8 bytes) | offset 0x1C0 - LPAR ability (8 bytes) | ||
=== Types of System Manager === | === Types of System Manager === | ||
Line 10,550: | Line 10,548: | ||
Decrypted P-Block (and EID4) contains region settings (see below) | Decrypted P-Block (and EID4) contains region settings (see below) | ||
In decrypted P-Block(bytes 0x30 and 0x32) and in EID4(first byte) these bytes match [[ | In decrypted P-Block(bytes 0x30 and 0x32) and in EID4(first byte) these bytes match [[Target ID]]: | ||
{| class="wikitable sortable" style="font-size:small; border:2px ridge #999999;" | {| class="wikitable sortable" style="font-size:small; border:2px ridge #999999;" | ||
|- | |- | ||
! Hex !! bitflag !! [[ | ! Hex !! bitflag !! [[Target ID]] !! Console Type !! Remarks | ||
|- | |- | ||
| 0xFF || '''11111111''' || {{TID80}} || No BD playback on that [[ | | 0xFF || '''11111111''' || {{TID80}} || No BD playback on that [[Target ID]] | ||
|- | |- | ||
| 0xFF || '''11111111''' || {{TID81}} || No BD playback on that [[ | | 0xFF || '''11111111''' || {{TID81}} || No BD playback on that [[Target ID]] | ||
|- | |- | ||
| 0xFF || '''11111111''' || {{TID82}} || No BD playback on that [[ | | 0xFF || '''11111111''' || {{TID82}} || No BD playback on that [[Target ID]] | ||
|- | |- | ||
| 0x01 || 0000000'''1''' || {{TID83}} || bit 0 (Region 0: Japan?) | | 0x01 || 0000000'''1''' || {{TID83}} || bit 0 (Region 0: Japan?) | ||
Line 10,587: | Line 10,585: | ||
| 0x08 || 0000'''1'''000 || {{TID8F}} || bit 3 (Region 4: Latin America and Australia) | | 0x08 || 0000'''1'''000 || {{TID8F}} || bit 3 (Region 4: Latin America and Australia) | ||
|- | |- | ||
| 0xFF || '''11111111''' || {{TIDA0}} || No BD playback on that [[ | | 0xFF || '''11111111''' || {{TIDA0}} || No BD playback on that [[Target ID]] | ||
|- | |- | ||
|} | |} |