€•o"Œ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/bpf/standardization/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/bpf/standardization/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/bpf/standardization/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/bpf/standardization/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/bpf/standardization/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/bpf/standardization/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/bpf/standardization/abi”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒtopic”“”)�”}”(hŒ Contents ”h]”(hŒtitle”“”)�”}”(hŒContents”h]”hŒContents”…”�”}”(hh½h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h»hh·h³ŒE/var/lib/git/docbuild/linux/Documentation/bpf/standardization/abi.rst”h´KubhŒ bullet_list”“”)�”}”(hhh]”hŒ list_item”“”)�”}”(hhh]”(hŒ paragraph”“”)�”}”(hhh]”hŒ reference”“”)�”}”(hhh]”(hŒ generated”“”)�”}”(hhh]”hŒ1   ”…”�”}”(hhâh²hh³Nh´Nubah}”(h]”h ]”Œsectnum”ah"]”h$]”h&]”uh1hàh³Nh´NhhÝubhŒ3BPF ABI Recommended Conventions and Guidelines v1.0”…”�”}”(hhÝh²hh³Nh´Nubeh}”(h]”Œid1”ah ]”h"]”h$]”h&]”Œrefid”Œ3bpf-abi-recommended-conventions-and-guidelines-v1-0”uh1hÛhhØubah}”(h]”h ]”h"]”h$]”h&]”uh1hÖhhÓubhÍ)�”}”(hhh]”hÒ)�”}”(hhh]”h×)�”}”(hhh]”hÜ)�”}”(hhh]”(há)�”}”(hhh]”hŒ 1.1   ”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”hìah"]”h$]”h&]”uh1hàh³Nh´Nhj ubhŒ Registers and calling convention”…”�”}”(hj h²hh³Nh´Nubeh}”(h]”Œid2”ah ]”h"]”h$]”h&]”Œrefid”Œ registers-and-calling-convention”uh1hÛhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÖhjubah}”(h]”h ]”h"]”h$]”h&]”uh1hÑhjubah}”(h]”h ]”Œauto-toc”ah"]”h$]”h&]”uh1hÌhhÓubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÑhhÎubah}”(h]”h ]”j8ah"]”h$]”h&]”uh1hÌhh·h²hh³Nh´Nubeh}”(h]”Œcontents”ah ]”Œcontents”ah"]”Œcontents”ah$]”h&]”uh1hµh³hËh´Khhh²hubhŒsection”“”)�”}”(hhh]”(h¼)�”}”(hŒ3BPF ABI Recommended Conventions and Guidelines v1.0”h]”(há)�”}”(hhh]”hŒ1   ”…”�”}”(hjZh²hh³Nh´Nubah}”(h]”h ]”hìah"]”h$]”h&]”uh1hàhjVh²hh³Nh´NubhŒ3BPF ABI Recommended Conventions and Guidelines v1.0”…”�”}”(hjVh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”Œauto”KŒrefid”höuh1h»hjSh²hh³hËh´Kubh×)�”}”(hŒ�This is version 1.0 of an informational document containing recommended conventions and guidelines for producing portable BPF program binaries.”h]”hŒ�This is version 1.0 of an informational document containing recommended conventions and guidelines for producing portable BPF program binaries.”…”�”}”(hjsh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÖh³hËh´KhjSh²hubjR)�”}”(hhh]”(h¼)�”}”(hŒ Registers and calling convention”h]”(há)�”}”(hhh]”hŒ 1.1   ”…”�”}”(hjˆh²hh³Nh´Nubah}”(h]”h ]”hìah"]”h$]”h&]”uh1hàhj„h²hh³Nh´NubhŒ Registers and calling convention”…”�”}”(hj„h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”jqKjrj"uh1h»hj�h²hh³hËh´K ubh×)�”}”(hŒkBPF has 10 general purpose registers and a read-only frame pointer register, all of which are 64-bits wide.”h]”hŒkBPF has 10 general purpose registers and a read-only frame pointer register, all of which are 64-bits wide.”…”�”}”(hjŸh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÖh³hËh´Khj�h²hubh×)�”}”(hŒ)The BPF calling convention is defined as:”h]”hŒ)The BPF calling convention is defined as:”…”�”}”(hj­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÖh³hËh´Khj�h²hubhÍ)�”}”(hhh]”(hÒ)�”}”(hŒER0: return value from function calls, and exit value for BPF programs”h]”h×)�”}”(hjÀh]”hŒER0: return value from function calls, and exit value for BPF programs”…”�”}”(hjÂh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÖh³hËh´Khj¾ubah}”(h]”h ]”h"]”h$]”h&]”uh1hÑhj»h²hh³hËh´NubhÒ)�”}”(hŒ%R1 - R5: arguments for function calls”h]”h×)�”}”(hj×h]”hŒ%R1 - R5: arguments for function calls”…”�”}”(hjÙh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÖh³hËh´KhjÕubah}”(h]”h ]”h"]”h$]”h&]”uh1hÑhj»h²hh³hËh´NubhÒ)�”}”(hŒAR6 - R9: callee saved registers that function calls will preserve”h]”h×)�”}”(hjîh]”hŒAR6 - R9: callee saved registers that function calls will preserve”…”�”}”(hjðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÖh³hËh´Khjìubah}”(h]”h ]”h"]”h$]”h&]”uh1hÑhj»h²hh³hËh´NubhÒ)�”}”(hŒ-R10: read-only frame pointer to access stack ”h]”h×)�”}”(hŒ,R10: read-only frame pointer to access stack”h]”hŒ,R10: read-only frame pointer to access stack”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÖh³hËh´Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1hÑhj»h²hh³hËh´Nubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ*”uh1hÌh³hËh´Khj�h²hubh×)�”}”(hŒbR0 - R5 are scratch registers and BPF programs needs to spill/fill them if necessary across calls.”h]”hŒbR0 - R5 are scratch registers and BPF programs needs to spill/fill them if necessary across calls.”…”�”}”(hj#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÖh³hËh´Khj�h²hubh×)�”}”(hŒZThe BPF program needs to store the return value into register R0 before doing an ``EXIT``.”h]”(hŒQThe BPF program needs to store the return value into register R0 before doing an ”…”�”}”(hj1h²hh³Nh´NubhŒliteral”“”)�”}”(hŒ``EXIT``”h]”hŒEXIT”…”�”}”(hj;h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j9hj1ubhŒ.”…”�”}”(hj1h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÖh³hËh´Khj�h²hubeh}”(h]”j(ah ]”h"]”Œ registers and calling convention”ah$]”h&]”uh1jQhjSh²hh³hËh´K ubeh}”(h]”hüah ]”h"]”Œ3bpf abi recommended conventions and guidelines v1.0”ah$]”h&]”uh1jQhhh²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”Œentry”Œ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”}”Œrefids”}”Œnameids”}”(jNjJj^hüjWj(uŒ nametypes”}”(jN‰j^‰jW‰uh}”(jJh·hüjSj(j�höhÝj"j uŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”j’Ks…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nh²hub.