Editing Kernel

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

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 1: Line 1:
The kernel is based on FreeBSD 11.0 (value of <code>__FreeBSD_version</code> is 1100122).
PS5 kernel is based on FreeBSD 11.00122.
* nx bit
* smap
* smep
* umip
* nda/xotext (EFER bit 16?)


The PS5 kernel contains 3 <code>sysvec</code> structs: "PS4 SELF", "FreeBSD ELF64", and "Native SELF". The first is used for PS4 backcompat, the second is the standard FreeBSD one (normally unused), and the last is used for PS5 processes.
= Securities =
 
* NX (No eXecute) bit
* SMAP
* SMEP
* nda/ XO (eXecute Only) text segment (EFER bit 16?)
 
= Syscalls =


"PS4 SELF" / "Native SELF" syscall tables from PS5 kernel 2.20:
{| class="wikitable"
{| class="wikitable"
! number !! ps4 !! ps5
! number !! ps4 !! ps5
Line 1,366: Line 1,367:
| 0x2a4 || sys_cpumode_yield || sys_cpumode_yield
| 0x2a4 || sys_cpumode_yield || sys_cpumode_yield
|-
|-
| 0x2a5 || - || sys_wait6
| 0x2a5 || sys_get_phys_page_size || sys_wait6
|-
|-
| 0x2a6 || - || sys_cap_rights_limit
| 0x2a6 || - || sys_cap_rights_limit
Line 1,455: Line 1,456:
|-
|-
| 0x2d1 || - || sys_ampr_ctrl_debug
| 0x2d1 || - || sys_ampr_ctrl_debug
|-
| 0x2d2 || - || workspace_ctrl (03.00.00.33 and above)
|}
|}
Please note that all contributions to PS5 Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PS5 Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)