Homebrew ABI: Difference between revisions

Added SyscallAvailableHint2
 
Line 84: Line 84:


* 16: [[#HosVersion]]
* 16: [[#HosVersion]]
* 17: [[#SyscallAvailableHint2]]


==== EndOfList ====
==== EndOfList ====
Line 242: Line 244:
* '''Value[0]:''' HOS version, formatted using libnx's [https://github.com/switchbrew/libnx/blob/master/nx/include/switch/runtime/hosversion.h#L11 MAKEHOSVERSION macro].
* '''Value[0]:''' HOS version, formatted using libnx's [https://github.com/switchbrew/libnx/blob/master/nx/include/switch/runtime/hosversion.h#L11 MAKEHOSVERSION macro].
* '''Value[1]:''' Magic value indicating the current implementation of Horizon OS.
* '''Value[1]:''' Magic value indicating the current implementation of Horizon OS.
==== SyscallAvailableHint2 ====
Supplement to [[#SyscallAvailableHint]] for the extended SVC range.
* '''Key:''' 17
* '''Value[0]:''' 64-bit mask for the 0x80-0xBF SVC range. n:th bit set means SVC is accessible.
* '''Value[1]:''' Reserved/should be zero.
* '''DefaultBehavior:''' See [[#SyscallAvailableHint]].


{| class="wikitable" border="1"
{| class="wikitable" border="1"