€•)Œ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/loongarch/booting”Œ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/loongarch/booting”Œ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/loongarch/booting”Œ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/loongarch/booting”Œ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/loongarch/booting”Œ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/loongarch/booting”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒcomment”“”)”}”(hŒ SPDX-License-Identifier: GPL-2.0”h]”hŒ SPDX-License-Identifier: GPL-2.0”…””}”hh£sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1h¡hhhžhhŸŒD/var/lib/git/docbuild/linux/Documentation/arch/loongarch/booting.rst”h KubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒBooting Linux/LoongArch”h]”hŒBooting Linux/LoongArch”…””}”(hh»hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¹hh¶hžhhŸh³h KubhŒ field_list”“”)”}”(hhh]”(hŒfield”“”)”}”(hhh]”(hŒ field_name”“”)”}”(hŒAuthor”h]”hŒAuthor”…””}”(hhÕhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÓhhÐhŸh³h KubhŒ field_body”“”)”}”(hŒ"Yanteng Si ”h]”hŒ paragraph”“”)”}”(hhçh]”(hŒ Yanteng Si <”…””}”(hhëhžhhŸNh NubhŒ reference”“”)”}”(hŒsiyanteng@loongson.cn”h]”hŒsiyanteng@loongson.cn”…””}”(hhôhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”Œrefuri”Œmailto:siyanteng@loongson.cn”uh1hòhhëubhŒ>”…””}”(hhëhžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1héhŸh³h Khhåubah}”(h]”h ]”h"]”h$]”h&]”uh1hãhhÐubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÎhŸh³h KhhËhžhubhÏ)”}”(hhh]”(hÔ)”}”(hŒDate”h]”hŒDate”…””}”(hjhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÓhjhŸh³h Kubhä)”}”(hŒ 18 Nov 2022 ”h]”hê)”}”(hŒ 18 Nov 2022”h]”hŒ 18 Nov 2022”…””}”(hj/hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1héhŸh³h Khj+ubah}”(h]”h ]”h"]”h$]”h&]”uh1hãhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÎhŸh³h KhhËhžhubeh}”(h]”h ]”h"]”h$]”h&]”uh1hÉhh¶hžhhŸh³h Kubhµ)”}”(hhh]”(hº)”}”(hŒ,Information passed from BootLoader to kernel”h]”hŒ,Information passed from BootLoader to kernel”…””}”(hjRhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¹hjOhžhhŸh³h K ubhê)”}”(hŒ´LoongArch supports ACPI and FDT. The information that needs to be passed to the kernel includes the memmap, the initrd, the command line, optionally the ACPI/FDT tables, and so on.”h]”hŒ´LoongArch supports ACPI and FDT. The information that needs to be passed to the kernel includes the memmap, the initrd, the command line, optionally the ACPI/FDT tables, and so on.”…””}”(hj`hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1héhŸh³h K hjOhžhubhê)”}”(hŒ@The kernel is passed the following arguments on `kernel_entry` :”h]”(hŒ0The kernel is passed the following arguments on ”…””}”(hjnhžhhŸNh NubhŒtitle_reference”“”)”}”(hŒ`kernel_entry`”h]”hŒ kernel_entry”…””}”(hjxhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jvhjnubhŒ :”…””}”(hjnhžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1héhŸh³h KhjOhžhubhŒ block_quote”“”)”}”(hX2- a0 = efi_boot: `efi_boot` is a flag indicating whether this boot environment is fully UEFI-compliant. - a1 = cmdline: `cmdline` is a pointer to the kernel command line. - a2 = systemtable: `systemtable` points to the EFI system table. All pointers involved at this stage are in physical addresses. ”h]”hŒ bullet_list”“”)”}”(hhh]”(hŒ list_item”“”)”}”(hŒfa0 = efi_boot: `efi_boot` is a flag indicating whether this boot environment is fully UEFI-compliant. ”h]”hê)”}”(hŒea0 = efi_boot: `efi_boot` is a flag indicating whether this boot environment is fully UEFI-compliant.”h]”(hŒa0 = efi_boot: ”…””}”(hj¡hžhhŸNh Nubjw)”}”(hŒ `efi_boot`”h]”hŒefi_boot”…””}”(hj©hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jvhj¡ubhŒL is a flag indicating whether this boot environment is fully UEFI-compliant.”…””}”(hj¡hžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1héhŸh³h Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1j›hj˜ubjœ)”}”(hŒAa1 = cmdline: `cmdline` is a pointer to the kernel command line. ”h]”hê)”}”(hŒ@a1 = cmdline: `cmdline` is a pointer to the kernel command line.”h]”(hŒa1 = cmdline: ”…””}”(hjËhžhhŸNh Nubjw)”}”(hŒ `cmdline`”h]”hŒcmdline”…””}”(hjÓhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jvhjËubhŒ) is a pointer to the kernel command line.”…””}”(hjËhžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1héhŸh³h KhjÇubah}”(h]”h ]”h"]”h$]”h&]”uh1j›hj˜ubjœ)”}”(hŒa2 = systemtable: `systemtable` points to the EFI system table. All pointers involved at this stage are in physical addresses. ”h]”hê)”}”(hŒ~a2 = systemtable: `systemtable` points to the EFI system table. All pointers involved at this stage are in physical addresses.”h]”(hŒa2 = systemtable: ”…””}”(hjõhžhhŸNh Nubjw)”}”(hŒ `systemtable`”h]”hŒ systemtable”…””}”(hjýhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jvhjõubhŒ_ points to the EFI system table. All pointers involved at this stage are in physical addresses.”…””}”(hjõhžhhŸNh Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1héhŸh³h Khjñubah}”(h]”h ]”h"]”h$]”h&]”uh1j›hj˜ubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ-”uh1j–hŸh³h Khj’ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhŸh³h KhjOhžhubeh}”(h]”Œ,information-passed-from-bootloader-to-kernel”ah ]”h"]”Œ,information passed from bootloader to kernel”ah$]”h&]”uh1h´hh¶hžhhŸh³h K ubhµ)”}”(hhh]”(hº)”}”(hŒ'Header of Linux/LoongArch kernel images”h]”hŒ'Header of Linux/LoongArch kernel images”…””}”(hj4hžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1h¹hj1hžhhŸh³h Kubhê)”}”(hŒjLinux/LoongArch kernel images are EFI images. Being PE files, they have a 64-byte header structured like::”h]”hŒiLinux/LoongArch kernel images are EFI images. Being PE files, they have a 64-byte header structured like:”…””}”(hjBhžhhŸNh Nubah}”(h]”h ]”h"]”h$]”h&]”uh1héhŸh³h Khj1hžhubhŒ literal_block”“”)”}”(hX2u32 MZ_MAGIC /* "MZ", MS-DOS header */ u32 res0 = 0 /* Reserved */ u64 kernel_entry /* Kernel entry point */ u64 _end - _text /* Kernel image effective size */ u64 load_offset /* Kernel image load offset from start of RAM */ u64 res1 = 0 /* Reserved */ u64 res2 = 0 /* Reserved */ u64 res3 = 0 /* Reserved */ u32 LINUX_PE_MAGIC /* Magic number */ u32 pe_header - _head /* Offset to the PE header */”h]”hX2u32 MZ_MAGIC /* "MZ", MS-DOS header */ u32 res0 = 0 /* Reserved */ u64 kernel_entry /* Kernel entry point */ u64 _end - _text /* Kernel image effective size */ u64 load_offset /* Kernel image load offset from start of RAM */ u64 res1 = 0 /* Reserved */ u64 res2 = 0 /* Reserved */ u64 res3 = 0 /* Reserved */ u32 LINUX_PE_MAGIC /* Magic number */ u32 pe_header - _head /* Offset to the PE header */”…””}”hjRsbah}”(h]”h ]”h"]”h$]”h&]”h±h²uh1jPhŸh³h K!hj1hžhubeh}”(h]”Œ'header-of-linux-loongarch-kernel-images”ah ]”h"]”Œ'header of linux/loongarch kernel images”ah$]”h&]”uh1h´hh¶hžhhŸh³h Kubeh}”(h]”Œbooting-linux-loongarch”ah ]”h"]”Œbooting linux/loongarch”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”Œ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”}”(jmjjj.j+jejbuŒ nametypes”}”(jm‰j.‰je‰uh}”(jjh¶j+jOjbj1uŒ 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”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”Œ transformer”NŒ include_log”]”Œ decoration”Nhžhub.