€•£wŒsphinx.addnodes”Œdocument”“”)�”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)�”}”(hhh]”(hŒ pending_xref”“”)�”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…”�”}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ./translations/zh_CN/arch/powerpc/syscall64-abi”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)�”}”(hhh]”hŒChinese (Traditional)”…”�”}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ./translations/zh_TW/arch/powerpc/syscall64-abi”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒItalian”…”�”}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ./translations/it_IT/arch/powerpc/syscall64-abi”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒJapanese”…”�”}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ./translations/ja_JP/arch/powerpc/syscall64-abi”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒKorean”…”�”}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ./translations/ko_KR/arch/powerpc/syscall64-abi”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒPortuguese (Brazilian)”…”�”}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ./translations/pt_BR/arch/powerpc/syscall64-abi”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)�”}”(hhh]”hŒSpanish”…”�”}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ./translations/sp_SP/arch/powerpc/syscall64-abi”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒsection”“”)�”}”(hhh]”(hŒtitle”“”)�”}”(hŒ/Power Architecture 64-bit Linux system call ABI”h]”hŒ/Power Architecture 64-bit Linux system call ABI”…”�”}”(hh¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhh·h²hh³ŒH/var/lib/git/docbuild/linux/Documentation/arch/powerpc/syscall64-abi.rst”h´Kubh¶)�”}”(hhh]”(h»)�”}”(hŒsyscall”h]”hŒsyscall”…”�”}”(hhÎh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhhËh²hh³hÊh´Kubh¶)�”}”(hhh]”(h»)�”}”(hŒ Invocation”h]”hŒ Invocation”…”�”}”(hhßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhhÜh²hh³hÊh´K ubhŒ paragraph”“”)�”}”(hŒƒThe syscall is made with the sc instruction, and returns with execution continuing at the instruction following the sc instruction.”h]”hŒƒThe syscall is made with the sc instruction, and returns with execution continuing at the instruction following the sc instruction.”…”�”}”(hhïh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K hhÜh²hubhî)�”}”(hŒºIf PPC_FEATURE2_SCV appears in the AT_HWCAP2 ELF auxiliary vector, the scv 0 instruction is an alternative that may provide better performance, with some differences to calling sequence.”h]”hŒºIf PPC_FEATURE2_SCV appears in the AT_HWCAP2 ELF auxiliary vector, the scv 0 instruction is an alternative that may provide better performance, with some differences to calling sequence.”…”�”}”(hhýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K hhÜh²hubhî)�”}”(hŒ¾syscall calling sequence\ [1]_ matches the Power Architecture 64-bit ELF ABI specification C function calling sequence, including register preservation rules, with the following differences.”h]”(hŒsyscall calling sequence ”…”�”}”(hj h²hh³Nh´NubhŒfootnote_reference”“”)�”}”(hŒ[1]_”h]”hŒ1”…”�”}”(hjh²hh³Nh´Nubah}”(h]”Œid1”ah ]”h"]”h$]”h&]”Œrefid”Œid2”Œdocname”Œarch/powerpc/syscall64-abi”uh1jhj Œresolved”KubhŒ  matches the Power Architecture 64-bit ELF ABI specification C function calling sequence, including register preservation rules, with the following differences.”…”�”}”(hj h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´KhhÜh²hubhŒfootnote”“”)�”}”(hŒtSome syscalls (typically low-level management functions) may have different calling sequences (e.g., rt_sigreturn). ”h]”(hŒlabel”“”)�”}”(hŒ1”h]”hŒ1”…”�”}”(hj;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j9hj5ubhî)�”}”(hŒsSome syscalls (typically low-level management functions) may have different calling sequences (e.g., rt_sigreturn).”h]”hŒsSome syscalls (typically low-level management functions) may have different calling sequences (e.g., rt_sigreturn).”…”�”}”(hjIh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´Khj5ubeh}”(h]”j%ah ]”h"]”Œ1”ah$]”h&]”jaj&j'uh1j3h³hÊh´KhhÜh²hj(Kubeh}”(h]”Œ invocation”ah ]”h"]”h$]”Œ invocation”ah&]”uh1hµhhËh²hh³hÊh´K Œ referenced”Kubh¶)�”}”(hhh]”(h»)�”}”(hŒ Parameters”h]”hŒ Parameters”…”�”}”(hjjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjgh²hh³hÊh´Kubhî)�”}”(hŒ*The system call number is specified in r0.”h]”hŒ*The system call number is specified in r0.”…”�”}”(hjxh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´Khjgh²hubhî)�”}”(hŒIThere is a maximum of 6 integer parameters to a syscall, passed in r3-r8.”h]”hŒIThere is a maximum of 6 integer parameters to a syscall, passed in r3-r8.”…”�”}”(hj†h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´Khjgh²hubeh}”(h]”Œ parameters”ah ]”h"]”Œ parameters”ah$]”h&]”uh1hµhhËh²hh³hÊh´Kubh¶)�”}”(hhh]”(h»)�”}”(hŒ Return value”h]”hŒ Return value”…”�”}”(hjŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjœh²hh³hÊh´KubhŒ bullet_list”“”)�”}”(hhh]”(hŒ list_item”“”)�”}”(hX4For the sc instruction, both a value and an error condition are returned. cr0.SO is the error condition, and r3 is the return value. When cr0.SO is clear, the syscall succeeded and r3 is the return value. When cr0.SO is set, the syscall failed and r3 is the error value (that normally corresponds to errno). ”h]”hî)�”}”(hX3For the sc instruction, both a value and an error condition are returned. cr0.SO is the error condition, and r3 is the return value. When cr0.SO is clear, the syscall succeeded and r3 is the return value. When cr0.SO is set, the syscall failed and r3 is the error value (that normally corresponds to errno).”h]”hX3For the sc instruction, both a value and an error condition are returned. cr0.SO is the error condition, and r3 is the return value. When cr0.SO is clear, the syscall succeeded and r3 is the return value. When cr0.SO is set, the syscall failed and r3 is the error value (that normally corresponds to errno).”…”�”}”(hj¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K hj´ubah}”(h]”h ]”h"]”h$]”h&]”uh1j²hj¯h²hh³hÊh´Nubj³)�”}”(hŒËFor the scv 0 instruction, the return value indicates failure if it is -4095..-1 (i.e., it is >= -MAX_ERRNO (-4095) as an unsigned comparison), in which case the error value is the negated return value. ”h]”hî)�”}”(hŒÊFor the scv 0 instruction, the return value indicates failure if it is -4095..-1 (i.e., it is >= -MAX_ERRNO (-4095) as an unsigned comparison), in which case the error value is the negated return value.”h]”hŒÊFor the scv 0 instruction, the return value indicates failure if it is -4095..-1 (i.e., it is >= -MAX_ERRNO (-4095) as an unsigned comparison), in which case the error value is the negated return value.”…”�”}”(hjÐh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K&hjÌubah}”(h]”h ]”h"]”h$]”h&]”uh1j²hj¯h²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ-”uh1j­h³hÊh´K hjœh²hubeh}”(h]”Œ return-value”ah ]”h"]”Œ return value”ah$]”h&]”uh1hµhhËh²hh³hÊh´Kubh¶)�”}”(hhh]”(h»)�”}”(hŒStack”h]”hŒStack”…”�”}”(hj÷h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjôh²hh³hÊh´K+ubhî)�”}”(hŒ~System calls do not modify the caller's stack frame. For example, the caller's stack frame LR and CR save fields are not used.”h]”hŒ‚System calls do not modify the caller’s stack frame. For example, the caller’s stack frame LR and CR save fields are not used.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K,hjôh²hubeh}”(h]”Œstack”ah ]”h"]”h$]”Œstack”ah&]”uh1hµhhËh²hh³hÊh´K+jfKubh¶)�”}”(hhh]”(h»)�”}”(hŒRegister preservation rules”h]”hŒRegister preservation rules”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjh²hh³hÊh´K0ubhî)�”}”(hŒURegister preservation rules match the ELF ABI calling sequence with some differences.”h]”hŒURegister preservation rules match the ELF ABI calling sequence with some differences.”…”�”}”(hj,h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K1hjh²hubhî)�”}”(hŒHFor the sc instruction, the differences from the ELF ABI are as follows:”h]”hŒHFor the sc instruction, the differences from the ELF ABI are as follows:”…”�”}”(hj:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K4hjh²hubhŒtable”“”)�”}”(hhh]”hŒtgroup”“”)�”}”(hhh]”(hŒcolspec”“”)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jRhjOubjS)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jRhjOubjS)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K)uh1jRhjOubhŒthead”“”)�”}”(hhh]”hŒrow”“”)�”}”(hhh]”(hŒentry”“”)�”}”(hhh]”hî)�”}”(hŒRegister”h]”hŒRegister”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K7hj~ubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjyubj})�”}”(hhh]”hî)�”}”(hŒPreservation Rules”h]”hŒPreservation Rules”…”�”}”(hj˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K7hj•ubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjyubj})�”}”(hhh]”hî)�”}”(hŒPurpose”h]”hŒPurpose”…”�”}”(hj¯h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K7hj¬ubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjyubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwhjtubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhjOubhŒtbody”“”)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hhh]”hî)�”}”(hŒr0”h]”hŒr0”…”�”}”(hjÚh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K9hj×ubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÔubj})�”}”(hhh]”hî)�”}”(hŒVolatile”h]”hŒVolatile”…”�”}”(hjñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K9hjîubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÔubj})�”}”(hhh]”hî)�”}”(hŒ(System call number.)”h]”hŒ(System call number.)”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K9hjubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÔubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwhjÑubjx)�”}”(hhh]”(j})�”}”(hhh]”hî)�”}”(hŒr3”h]”hŒr3”…”�”}”(hj(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K;hj%ubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj"ubj})�”}”(hhh]”hî)�”}”(hŒVolatile”h]”hŒVolatile”…”�”}”(hj?h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K;hj<ubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj"ubj})�”}”(hhh]”hî)�”}”(hŒ (Parameter 1, and return value.)”h]”hŒ (Parameter 1, and return value.)”…”�”}”(hjVh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K;hjSubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj"ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwhjÑubjx)�”}”(hhh]”(j})�”}”(hhh]”hî)�”}”(hŒr4-r8”h]”hŒr4-r8”…”�”}”(hjvh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K=hjsubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjpubj})�”}”(hhh]”hî)�”}”(hŒVolatile”h]”hŒVolatile”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K=hjŠubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjpubj})�”}”(hhh]”hî)�”}”(hŒ(Parameters 2-6.)”h]”hŒ(Parameters 2-6.)”…”�”}”(hj¤h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K=hj¡ubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjpubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwhjÑubjx)�”}”(hhh]”(j})�”}”(hhh]”hî)�”}”(hŒcr0”h]”hŒcr0”…”�”}”(hjÄh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K?hjÁubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¾ubj})�”}”(hhh]”hî)�”}”(hŒVolatile”h]”hŒVolatile”…”�”}”(hjÛh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K?hjØubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¾ubj})�”}”(hhh]”hî)�”}”(hŒ'(cr0.SO is the return error condition.)”h]”hŒ'(cr0.SO is the return error condition.)”…”�”}”(hjòh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K?hjïubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj¾ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwhjÑubjx)�”}”(hhh]”(j})�”}”(hhh]”hî)�”}”(hŒ cr1, cr5-7”h]”hŒ cr1, cr5-7”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´KAhjubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj ubj})�”}”(hhh]”hî)�”}”(hŒ Nonvolatile”h]”hŒ Nonvolatile”…”�”}”(hj)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´KAhj&ubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj ubj})�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1j|hj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwhjÑubjx)�”}”(hhh]”(j})�”}”(hhh]”hî)�”}”(hŒlr”h]”hŒlr”…”�”}”(hjRh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´KChjOubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjLubj})�”}”(hhh]”hî)�”}”(hŒ Nonvolatile”h]”hŒ Nonvolatile”…”�”}”(hjih²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´KChjfubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjLubj})�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1j|hjLubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwhjÑubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÏhjOubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jMhjJubah}”(h]”h ]”h"]”h$]”h&]”uh1jHhjh²hh³hÊh´Nubhî)�”}”(hŒKFor the scv 0 instruction, the differences from the ELF ABI are as follows:”h]”hŒKFor the scv 0 instruction, the differences from the ELF ABI are as follows:”…”�”}”(hjŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´KFhjh²hubjI)�”}”(hhh]”jN)�”}”(hhh]”(jS)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jRhj°ubjS)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jRhj°ubjS)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K)uh1jRhj°ubjs)�”}”(hhh]”jx)�”}”(hhh]”(j})�”}”(hhh]”hî)�”}”(hŒRegister”h]”hŒRegister”…”�”}”(hjÚh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´KIhj×ubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÔubj})�”}”(hhh]”hî)�”}”(hŒPreservation Rules”h]”hŒPreservation Rules”…”�”}”(hjñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´KIhjîubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÔubj})�”}”(hhh]”hî)�”}”(hŒPurpose”h]”hŒPurpose”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´KIhjubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÔubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwhjÑubah}”(h]”h ]”h"]”h$]”h&]”uh1jrhj°ubjÐ)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hhh]”hî)�”}”(hŒr0”h]”hŒr0”…”�”}”(hj1h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´KKhj.ubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj+ubj})�”}”(hhh]”hî)�”}”(hŒVolatile”h]”hŒVolatile”…”�”}”(hjHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´KKhjEubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj+ubj})�”}”(hhh]”hî)�”}”(hŒ(System call number.)”h]”hŒ(System call number.)”…”�”}”(hj_h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´KKhj\ubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj+ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwhj(ubjx)�”}”(hhh]”(j})�”}”(hhh]”hî)�”}”(hŒr3”h]”hŒr3”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´KMhj|ubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjyubj})�”}”(hhh]”hî)�”}”(hŒVolatile”h]”hŒVolatile”…”�”}”(hj–h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´KMhj“ubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjyubj})�”}”(hhh]”hî)�”}”(hŒ (Parameter 1, and return value.)”h]”hŒ (Parameter 1, and return value.)”…”�”}”(hj­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´KMhjªubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjyubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwhj(ubjx)�”}”(hhh]”(j})�”}”(hhh]”hî)�”}”(hŒr4-r8”h]”hŒr4-r8”…”�”}”(hjÍh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´KOhjÊubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÇubj})�”}”(hhh]”hî)�”}”(hŒVolatile”h]”hŒVolatile”…”�”}”(hjäh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´KOhjáubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÇubj})�”}”(hhh]”hî)�”}”(hŒ(Parameters 2-6.)”h]”hŒ(Parameters 2-6.)”…”�”}”(hjûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´KOhjøubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÇubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwhj(ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÏhj°ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jMhj­ubah}”(h]”h ]”h"]”h$]”h&]”uh1jHhjh²hh³hÊh´Nubhî)�”}”(hŒeAll floating point and vector data registers as well as control and status registers are nonvolatile.”h]”hŒeAll floating point and vector data registers as well as control and status registers are nonvolatile.”…”�”}”(hj(h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´KRhjh²hubeh}”(h]”Œregister-preservation-rules”ah ]”h"]”h$]”Œregister preservation rules”ah&]”uh1hµhhËh²hh³hÊh´K0jfKubh¶)�”}”(hhh]”(h»)�”}”(hŒTransactional Memory”h]”hŒTransactional Memory”…”�”}”(hjAh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj>h²hh³hÊh´KVubhî)�”}”(hŒœSyscall behavior can change if the processor is in transactional or suspended transaction state, and the syscall can affect the behavior of the transaction.”h]”hŒœSyscall behavior can change if the processor is in transactional or suspended transaction state, and the syscall can affect the behavior of the transaction.”…”�”}”(hjOh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´KWhj>h²hubhî)�”}”(hX_If the processor is in suspended state when a syscall is made, the syscall will be performed as normal, and will return as normal. The syscall will be performed in suspended state, so its side effects will be persistent according to the usual transactional memory semantics. A syscall may or may not result in the transaction being doomed by hardware.”h]”hX_If the processor is in suspended state when a syscall is made, the syscall will be performed as normal, and will return as normal. The syscall will be performed in suspended state, so its side effects will be persistent according to the usual transactional memory semantics. A syscall may or may not result in the transaction being doomed by hardware.”…”�”}”(hj]h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´KZhj>h²hubhî)�”}”(hŒ¬If the processor is in transactional state when a syscall is made, then the behavior depends on the presence of PPC_FEATURE2_HTM_NOSC in the AT_HWCAP2 ELF auxiliary vector.”h]”hŒ¬If the processor is in transactional state when a syscall is made, then the behavior depends on the presence of PPC_FEATURE2_HTM_NOSC in the AT_HWCAP2 ELF auxiliary vector.”…”�”}”(hjkh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K`hj>h²hubj®)�”}”(hhh]”(j³)�”}”(hŒÙIf present, which is the case for newer kernels, then the syscall will not be performed and the transaction will be doomed by the kernel with the failure code TM_CAUSE_SYSCALL | TM_CAUSE_PERSISTENT in the TEXASR SPR. ”h]”hî)�”}”(hŒØIf present, which is the case for newer kernels, then the syscall will not be performed and the transaction will be doomed by the kernel with the failure code TM_CAUSE_SYSCALL | TM_CAUSE_PERSISTENT in the TEXASR SPR.”h]”hŒØIf present, which is the case for newer kernels, then the syscall will not be performed and the transaction will be doomed by the kernel with the failure code TM_CAUSE_SYSCALL | TM_CAUSE_PERSISTENT in the TEXASR SPR.”…”�”}”(hj€h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´Kdhj|ubah}”(h]”h ]”h"]”h$]”h&]”uh1j²hjyh²hh³hÊh´Nubj³)�”}”(hX?If not present (older kernels), then the kernel will suspend the transactional state and the syscall will proceed as in the case of a suspended state syscall, and will resume the transactional state before returning to the caller. This case is not well defined or supported, so this behavior should not be relied upon. ”h]”hî)�”}”(hX>If not present (older kernels), then the kernel will suspend the transactional state and the syscall will proceed as in the case of a suspended state syscall, and will resume the transactional state before returning to the caller. This case is not well defined or supported, so this behavior should not be relied upon.”h]”hX>If not present (older kernels), then the kernel will suspend the transactional state and the syscall will proceed as in the case of a suspended state syscall, and will resume the transactional state before returning to the caller. This case is not well defined or supported, so this behavior should not be relied upon.”…”�”}”(hj˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´Khhj”ubah}”(h]”h ]”h"]”h$]”h&]”uh1j²hjyh²hh³hÊh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jêjëuh1j­h³hÊh´Kdhj>h²hubhî)�”}”(hŒ;scv 0 syscalls will always behave as PPC_FEATURE2_HTM_NOSC.”h]”hŒ;scv 0 syscalls will always behave as PPC_FEATURE2_HTM_NOSC.”…”�”}”(hj²h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´Knhj>h²hubeh}”(h]”Œtransactional-memory”ah ]”h"]”h$]”Œtransactional memory”ah&]”uh1hµhhËh²hh³hÊh´KVjfKubh¶)�”}”(hhh]”(h»)�”}”(hŒptrace”h]”hŒptrace”…”�”}”(hjËh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjÈh²hh³hÊh´Kqubhî)�”}”(hŒáWhen ptracing system calls (PTRACE_SYSCALL), the pt_regs.trap value contains the system call type that can be used to distinguish between sc and scv 0 system calls, and the different register conventions can be accounted for.”h]”hŒáWhen ptracing system calls (PTRACE_SYSCALL), the pt_regs.trap value contains the system call type that can be used to distinguish between sc and scv 0 system calls, and the different register conventions can be accounted for.”…”�”}”(hjÙh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´KrhjÈh²hubhî)�”}”(hŒ»If the value of (pt_regs.trap & 0xfff0) is 0xc00 then the system call was performed with the sc instruction, if it is 0x3000 then the system call was performed with the scv 0 instruction.”h]”hŒ»If the value of (pt_regs.trap & 0xfff0) is 0xc00 then the system call was performed with the sc instruction, if it is 0x3000 then the system call was performed with the scv 0 instruction.”…”�”}”(hjçh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´KvhjÈh²hubeh}”(h]”Œptrace”ah ]”h"]”Œptrace”ah$]”h&]”uh1hµhhËh²hh³hÊh´Kqubeh}”(h]”Œsyscall”ah ]”h"]”Œsyscall”ah$]”h&]”uh1hµhh·h²hh³hÊh´Kubh¶)�”}”(hhh]”(h»)�”}”(hŒvsyscall”h]”hŒvsyscall”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjh²hh³hÊh´K{ubhî)�”}”(hŒ”vsyscall calling sequence matches the syscall calling sequence, with the following differences. Some vsyscalls may have different calling sequences.”h]”hŒ”vsyscall calling sequence matches the syscall calling sequence, with the following differences. Some vsyscalls may have different calling sequences.”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K}hjh²hubh¶)�”}”(hhh]”(h»)�”}”(hŒParameters and return value”h]”hŒParameters and return value”…”�”}”(hj'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj$h²hh³hÊh´K�ubhî)�”}”(hŒDr0 is not used as an input. The vsyscall is selected by its address.”h]”hŒDr0 is not used as an input. The vsyscall is selected by its address.”…”�”}”(hj5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K‚hj$h²hubeh}”(h]”Œparameters-and-return-value”ah ]”h"]”Œparameters and return value”ah$]”h&]”uh1hµhjh²hh³hÊh´K�ubh¶)�”}”(hhh]”(h»)�”}”(hŒStack”h]”hŒStack”…”�”}”(hjNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjKh²hh³hÊh´K…ubhî)�”}”(hŒDThe vsyscall may or may not use the caller's stack frame save areas.”h]”hŒFThe vsyscall may or may not use the caller’s stack frame save areas.”…”�”}”(hj\h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K†hjKh²hubeh}”(h]”Œid3”ah ]”h"]”h$]”jah&]”uh1hµhjh²hh³hÊh´K…jfKubh¶)�”}”(hhh]”(h»)�”}”(hŒRegister preservation rules”h]”hŒRegister preservation rules”…”�”}”(hjth²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhjqh²hh³hÊh´K‰ubjI)�”}”(hhh]”jN)�”}”(hhh]”(jS)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”K uh1jRhj…ubjS)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jRhj…ubjÐ)�”}”(hhh]”(jx)�”}”(hhh]”(j})�”}”(hhh]”hî)�”}”(hŒr0”h]”hŒr0”…”�”}”(hj¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´KŒhj¢ubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjŸubj})�”}”(hhh]”hî)�”}”(hŒVolatile”h]”hŒVolatile”…”�”}”(hj¼h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´KŒhj¹ubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjŸubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwhjœubjx)�”}”(hhh]”(j})�”}”(hhh]”hî)�”}”(hŒ cr1, cr5-7”h]”hŒ cr1, cr5-7”…”�”}”(hjÜh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K�hjÙubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÖubj})�”}”(hhh]”hî)�”}”(hŒVolatile”h]”hŒVolatile”…”�”}”(hjóh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K�hjðubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hjÖubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwhjœubjx)�”}”(hhh]”(j})�”}”(hhh]”hî)�”}”(hŒlr”h]”hŒlr”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´KŽhjubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj ubj})�”}”(hhh]”hî)�”}”(hŒVolatile”h]”hŒVolatile”…”�”}”(hj*h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´KŽhj'ubah}”(h]”h ]”h"]”h$]”h&]”uh1j|hj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jwhjœubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÏhj…ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jMhj‚ubah}”(h]”h ]”h"]”h$]”h&]”uh1jHhjqh²hh³hÊh´Nubeh}”(h]”Œid4”ah ]”h"]”h$]”j<ah&]”uh1hµhjh²hh³hÊh´K‰jfKubh¶)�”}”(hhh]”(h»)�”}”(hŒ Invocation”h]”hŒ Invocation”…”�”}”(hjah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj^h²hh³hÊh´K’ubhî)�”}”(hŒ_The vsyscall is performed with a branch-with-link instruction to the vsyscall function address.”h]”hŒ_The vsyscall is performed with a branch-with-link instruction to the vsyscall function address.”…”�”}”(hjoh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K“hj^h²hubeh}”(h]”Œid5”ah ]”h"]”h$]”jdah&]”uh1hµhjh²hh³hÊh´K’jfKubh¶)�”}”(hhh]”(h»)�”}”(hŒTransactional Memory”h]”hŒTransactional Memory”…”�”}”(hj‡h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hºhj„h²hh³hÊh´K—ubhî)�”}”(hŒ�vsyscalls will run in the same transactional state as the caller. A vsyscall may or may not result in the transaction being doomed by hardware.”h]”hŒ�vsyscalls will run in the same transactional state as the caller. A vsyscall may or may not result in the transaction being doomed by hardware.”…”�”}”(hj•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híh³hÊh´K˜hj„h²hubeh}”(h]”Œid6”ah ]”h"]”h$]”jÆah&]”uh1hµhjh²hh³hÊh´K—jfKubeh}”(h]”Œvsyscall”ah ]”h"]”Œvsyscall”ah$]”h&]”uh1hµhh·h²hh³hÊh´K{ubeh}”(h]”Œ/power-architecture-64-bit-linux-system-call-abi”ah ]”h"]”Œ/power architecture 64-bit linux system call abi”ah$]”h&]”uh1hµhhh²hh³hÊh´Kubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÊuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)�”}”(hºNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”j|Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”jÜŒerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÊŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œ1”]”jasŒrefids”}”Œnameids”}”(j·j´jjÿŒ invocation”Nj[j%j™j–jñjîŒstack”NŒregister preservation rules”NŒtransactional memory”Njúj÷j¯j¬jHjEuŒ nametypes”}”(j·‰j‰j" ‰j[ˆj™‰jñ‰j# ‰j$ ‰j% ‰jú‰j¯‰jH‰uh}”(j´h·jÿhËj`hÜjjj%j5j–jgjîjœjjôj8jjÂj>j÷jÈj¬jjEj$jljKjYjqjj^j¥j„uŒ footnote_refs”}”j ]”jasŒ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”j5aŒ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”jêKs…”R”Œparse_messages”]”(hŒsystem_message”“”)�”}”(hhh]”hî)�”}”(hŒ(Duplicate implicit target name: "stack".”h]”hŒ,Duplicate implicit target name: “stackâ€�.”…”�”}”(hjJ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híhjG ubah}”(h]”h ]”h"]”h$]”h&]”jlaŒlevel”KŒtype”ŒINFO”Œsource”hÊŒline”K…uh1jE hjKh²hh³hÊh´K…ubjF )�”}”(hhh]”hî)�”}”(hŒ>Duplicate implicit target name: "register preservation rules".”h]”hŒBDuplicate implicit target name: “register preservation rulesâ€�.”…”�”}”(hjf h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híhjc ubah}”(h]”h ]”h"]”h$]”h&]”jYaŒlevel”KŒtype”j` Œsource”hÊŒline”K‰uh1jE hjqh²hh³hÊh´K‰ubjF )�”}”(hhh]”hî)�”}”(hŒ-Duplicate implicit target name: "invocation".”h]”hŒ1Duplicate implicit target name: “invocationâ€�.”…”�”}”(hj� h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híhj~ ubah}”(h]”h ]”h"]”h$]”h&]”jaŒlevel”KŒtype”j` Œsource”hÊŒline”K’uh1jE hj^h²hh³hÊh´K’ubjF )�”}”(hhh]”hî)�”}”(hŒ7Duplicate implicit target name: "transactional memory".”h]”hŒ;Duplicate implicit target name: “transactional memoryâ€�.”…”�”}”(hjœ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1híhj™ ubah}”(h]”h ]”h"]”h$]”h&]”j¥aŒlevel”KŒtype”j` Œsource”hÊŒline”K—uh1jE hj„h²hh³hÊh´K—ubeŒtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nh²hub.