Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/documentation/booksarch-handbookboot_index/zh_CN/units/?format=api&page=2
https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/units/?format=api&page=3", "previous": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/units/?format=api", "results": [ { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "/*\n * Initialize TSS.\n */\ninit.4:\t\tmovb $_ESP0H,TSS_ESP0+1(%di)\t# Set ESP0\n\t\tmovb $SEL_SDATA,TSS_SS0(%di)\t# Set SS0\n\t\tmovb $_TSSIO,TSS_MAP(%di)\t# Set I/O bit map base\n" ], "previous_source": "", "target": [ "/*\n * Initialize TSS.\n */\ninit.4:\t\tmovb $_ESP0H,TSS_ESP0+1(%di)\t# Set ESP0\n\t\tmovb $SEL_SDATA,TSS_SS0(%di)\t# Set SS0\n\t\tmovb $_TSSIO,TSS_MAP(%di)\t# Set I/O bit map base\n" ], "id_hash": 3041127439675892515, "content_hash": 3041127439675892515, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1040", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 10, "fuzzy": true, "translated": false, "approved": false, "position": 185, "has_suggestion": false, "has_comment": false, "has_failing_check": true, "num_words": 24, "source_unit": "https://translate-dev.freebsd.org/api/units/1131020/?format=api", "priority": 100, "id": 1133175, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=aa34414b36932323", "url": "https://translate-dev.freebsd.org/api/units/1133175/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:30.900008Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "/*\n * Bring up the system.\n */\n\t\tmov $0x2820,%bx\t\t\t# Set protected mode\n\t\tcallw setpic\t\t\t# IRQ offsets\n\t\tlidt idtdesc\t\t\t# Set IDT\n\t\tlgdt gdtdesc\t\t\t# Set GDT\n\t\tmov %cr0,%eax\t\t\t# Switch to protected\n\t\tinc %ax\t\t\t\t# mode\n\t\tmov %eax,%cr0\t\t\t#\n\t\tljmp $SEL_SCODE,$init.8\t\t# To 32-bit code\n\t\t.code32\ninit.8:\t\txorl %ecx,%ecx\t\t\t# Zero\n\t\tmovb $SEL_SDATA,%cl\t\t# To 32-bit\n\t\tmovw %cx,%ss\t\t\t# stack\n" ], "previous_source": "", "target": [ "/*\n * Bring up the system.\n */\n\t\tmov $0x2820,%bx\t\t\t# Set protected mode\n\t\tcallw setpic\t\t\t# IRQ offsets\n\t\tlidt idtdesc\t\t\t# Set IDT\n\t\tlgdt gdtdesc\t\t\t# Set GDT\n\t\tmov %cr0,%eax\t\t\t# Switch to protected\n\t\tinc %ax\t\t\t\t# mode\n\t\tmov %eax,%cr0\t\t\t#\n\t\tljmp $SEL_SCODE,$init.8\t\t# To 32-bit code\n\t\t.code32\ninit.8:\t\txorl %ecx,%ecx\t\t\t# Zero\n\t\tmovb $SEL_SDATA,%cl\t\t# To 32-bit\n\t\tmovw %cx,%ss\t\t\t# stack\n" ], "id_hash": -8712478772718114542, "content_hash": -8712478772718114542, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1067", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 10, "fuzzy": true, "translated": false, "approved": false, "position": 189, "has_suggestion": false, "has_comment": false, "has_failing_check": true, "num_words": 62, "source_unit": "https://translate-dev.freebsd.org/api/units/1131028/?format=api", "priority": 100, "id": 1133179, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=07170eb787016912", "url": "https://translate-dev.freebsd.org/api/units/1133179/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:30.931070Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "Our last code block is responsible for loading the TR (Task Register) with the segment selector for the TSS we created earlier, and setting the User Mode environment before passing execution control to the [.filename]#boot2# client." ], "previous_source": "", "target": [ "" ], "id_hash": -2535906664500785762, "content_hash": -2535906664500785762, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1084", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 192, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 36, "source_unit": "https://translate-dev.freebsd.org/api/units/1131034/?format=api", "priority": 100, "id": 1133182, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=5ccea6530ee28d9e", "url": "https://translate-dev.freebsd.org/api/units/1133182/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:30.978343Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "boot2 Stage" ], "previous_source": "", "target": [ "" ], "id_hash": -4194858380920747937, "content_hash": -4194858380920747937, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1152", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 197, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate-dev.freebsd.org/api/units/1131044/?format=api", "priority": 100, "id": 1133187, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=45c8de872226085f", "url": "https://translate-dev.freebsd.org/api/units/1133187/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.018936Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "/usr/include/machine/bootinfo.h:\nstruct bootinfo {\n\tu_int32_t\tbi_version;\n\tu_int32_t\tbi_kernelname;\t\t/* represents a char * */\n\tu_int32_t\tbi_nfs_diskless;\t/* struct nfs_diskless * */\n\t\t\t\t/* End of fields that are always present. */\n#define\tbi_endcommon\tbi_n_bios_used\n\tu_int32_t\tbi_n_bios_used;\n\tu_int32_t\tbi_bios_geom[N_BIOS_GEOM];\n\tu_int32_t\tbi_size;\n\tu_int8_t\tbi_memsizes_valid;\n\tu_int8_t\tbi_bios_dev;\t\t/* bootdev BIOS unit number */\n\tu_int8_t\tbi_pad[2];\n\tu_int32_t\tbi_basemem;\n\tu_int32_t\tbi_extmem;\n\tu_int32_t\tbi_symtab;\t\t/* struct symtab * */\n\tu_int32_t\tbi_esymtab;\t\t/* struct symtab * */\n\t\t\t\t/* Items below only from advanced bootloader */\n\tu_int32_t\tbi_kernend;\t\t/* end of kernel space */\n\tu_int32_t\tbi_envp;\t\t/* environment */\n\tu_int32_t\tbi_modulep;\t\t/* preloaded modules */\n};\n" ], "previous_source": "", "target": [ "<filename>/usr/include/machine/bootinfo.h:</filename>\nstruct bootinfo {\n\tu_int32_t\tbi_version;\n\tu_int32_t\tbi_kernelname;\t\t/* represents a char * */\n\tu_int32_t\tbi_nfs_diskless;\t/* struct nfs_diskless * */\n\t\t\t\t/* End of fields that are always present. */\n#define\tbi_endcommon\tbi_n_bios_used\n\tu_int32_t\tbi_n_bios_used;\n\tu_int32_t\tbi_bios_geom[N_BIOS_GEOM];\n\tu_int32_t\tbi_size;\n\tu_int8_t\tbi_memsizes_valid;\n\tu_int8_t\tbi_bios_dev;\t\t/* bootdev BIOS unit number */\n\tu_int8_t\tbi_pad[2];\n\tu_int32_t\tbi_basemem;\n\tu_int32_t\tbi_extmem;\n\tu_int32_t\tbi_symtab;\t\t/* struct symtab * */\n\tu_int32_t\tbi_esymtab;\t\t/* struct symtab * */\n\t\t\t\t/* Items below only from advanced bootloader */\n\tu_int32_t\tbi_kernend;\t\t/* end of kernel space */\n\tu_int32_t\tbi_envp;\t\t/* environment */\n\tu_int32_t\tbi_modulep;\t\t/* preloaded modules */\n};\n" ], "id_hash": 5107725083092565108, "content_hash": 5107725083092565108, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1184", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 10, "fuzzy": true, "translated": false, "approved": false, "position": 199, "has_suggestion": false, "has_comment": false, "has_failing_check": true, "num_words": 97, "source_unit": "https://translate-dev.freebsd.org/api/units/1131048/?format=api", "priority": 100, "id": 1133189, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=c6e248e6b415bc74", "url": "https://translate-dev.freebsd.org/api/units/1133189/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.032241Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "loader Stage" ], "previous_source": "", "target": [ "" ], "id_hash": 2702100982654739591, "content_hash": 2702100982654739591, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1201", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 202, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate-dev.freebsd.org/api/units/1131054/?format=api", "priority": 100, "id": 1133192, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=a57fca87025ea487", "url": "https://translate-dev.freebsd.org/api/units/1133192/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.048459Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "Kernel Initialization" ], "previous_source": "", "target": [ "" ], "id_hash": 7604723004062176301, "content_hash": 7604723004062176301, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1218", "context": "", "note": "type: Title ==", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 206, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate-dev.freebsd.org/api/units/1131062/?format=api", "priority": 100, "id": 1133196, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=e9896747d85e142d", "url": "https://translate-dev.freebsd.org/api/units/1133196/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.098855Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "sys/conf/ldscript.i386:\nENTRY(btext)\n" ], "previous_source": "", "target": [ "" ], "id_hash": 4014097772143101468, "content_hash": 4014097772143101468, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1243", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 210, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate-dev.freebsd.org/api/units/1131070/?format=api", "priority": 100, "id": 1133200, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=b7b4f0a7fa46c61c", "url": "https://translate-dev.freebsd.org/api/units/1133200/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.129453Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "sys/i386/i386/locore.s:\n\t.text\n/**********************************************************************\n *\n * This is where the bootblocks start us, set the ball rolling...\n *\n */\nNON_GPROF_ENTRY(btext)\n" ], "previous_source": "", "target": [ "" ], "id_hash": -4055970504280070719, "content_hash": -4055970504280070719, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1258", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 212, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 19, "source_unit": "https://translate-dev.freebsd.org/api/units/1131074/?format=api", "priority": 100, "id": 1133202, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=47b64c50d8eca5c1", "url": "https://translate-dev.freebsd.org/api/units/1133202/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.141444Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "sys/i386/i386/locore.s:\n/* Don't trust what the BIOS gives for eflags. */\n\tpushl\t$PSL_KERNEL\n\tpopfl\n" ], "previous_source": "", "target": [ "" ], "id_hash": 1440289423135994731, "content_hash": 1440289423135994731, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1269", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 214, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 14, "source_unit": "https://translate-dev.freebsd.org/api/units/1131078/?format=api", "priority": 100, "id": 1133204, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=93fcef996fc5f36b", "url": "https://translate-dev.freebsd.org/api/units/1133204/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.177277Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "/*\n * Don't trust what the BIOS gives for %fs and %gs. Trust the bootstrap\n * to set %cs, %ds, %es and %ss.\n */\n\tmov\t%ds, %ax\n\tmov\t%ax, %fs\n\tmov\t%ax, %gs\n" ], "previous_source": "", "target": [ "" ], "id_hash": -4139088196980670712, "content_hash": -4139088196980670712, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1277", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 215, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 33, "source_unit": "https://translate-dev.freebsd.org/api/units/1131080/?format=api", "priority": 100, "id": 1133205, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=468f0136f4f47f08", "url": "https://translate-dev.freebsd.org/api/units/1133205/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.184413Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "The next steps are enabling VME, if the CPU supports it:" ], "previous_source": "", "target": [ "" ], "id_hash": 7317705378113244796, "content_hash": 7317705378113244796, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1296", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 221, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 11, "source_unit": "https://translate-dev.freebsd.org/api/units/1131086/?format=api", "priority": 100, "id": 1133208, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=e58db6454167ce7c", "url": "https://translate-dev.freebsd.org/api/units/1133208/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.206890Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "Then, enabling paging:" ], "previous_source": "", "target": [ "" ], "id_hash": -2203610664238600569, "content_hash": -2203610664238600569, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1307", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 223, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate-dev.freebsd.org/api/units/1131090/?format=api", "priority": 100, "id": 1133210, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=616b33c6aecbae87", "url": "https://translate-dev.freebsd.org/api/units/1133210/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.220311Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "The next three lines of code are because the paging was set, so the jump is needed to continue the execution in virtualized address space:" ], "previous_source": "", "target": [ "" ], "id_hash": 1551786771268156184, "content_hash": 1551786771268156184, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1320", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 225, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 25, "source_unit": "https://translate-dev.freebsd.org/api/units/1131094/?format=api", "priority": 100, "id": 1133212, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=95890dd8c496bb18", "url": "https://translate-dev.freebsd.org/api/units/1133212/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.233947Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "`init386()`" ], "previous_source": "", "target": [ "" ], "id_hash": 1518289867350508048, "content_hash": 1518289867350508048, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1346", "context": "", "note": "type: Title ===", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 230, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1131104/?format=api", "priority": 100, "id": 1133217, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=95120c9711808210", "url": "https://translate-dev.freebsd.org/api/units/1133217/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.298021Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "Initialize the kernel tunable parameters, passed from the bootstrapping program." ], "previous_source": "", "target": [ "" ], "id_hash": -5328921482662450207, "content_hash": -5328921482662450207, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1353", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 232, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 10, "source_unit": "https://translate-dev.freebsd.org/api/units/1131108/?format=api", "priority": 100, "id": 1133219, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=360bde2535f4ebe1", "url": "https://translate-dev.freebsd.org/api/units/1133219/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.310498Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "Prepare the GDT." ], "previous_source": "", "target": [ "准备GDT(全局描述符表)。" ], "id_hash": 647716917981549738, "content_hash": 647716917981549738, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1354", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 233, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate-dev.freebsd.org/api/units/1131110/?format=api", "priority": 100, "id": 1133220, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=88fd271aeb4d14aa", "url": "https://translate-dev.freebsd.org/api/units/1133220/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.316456Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "Prepare the IDT." ], "previous_source": "", "target": [ "准备IDT(中断描述符表)。" ], "id_hash": -211121161498787148, "content_hash": -211121161498787148, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1355", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 234, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate-dev.freebsd.org/api/units/1131112/?format=api", "priority": 100, "id": 1133221, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=7d11f26c144c02b4", "url": "https://translate-dev.freebsd.org/api/units/1133221/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.321106Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "Initialize the system console." ], "previous_source": "", "target": [ "初始化系统控制台。" ], "id_hash": 1222461413106835769, "content_hash": 1222461413106835769, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1356", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 235, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://translate-dev.freebsd.org/api/units/1131114/?format=api", "priority": 100, "id": 1133222, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=90f70e2da7dae139", "url": "https://translate-dev.freebsd.org/api/units/1133222/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.326108Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "Initialize the DDB, if it is compiled into kernel." ], "previous_source": "", "target": [ "初始化DDB(内核的点调试器),如果它被编译进内核的话。" ], "id_hash": 4152514282231439949, "content_hash": 4152514282231439949, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1357", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 236, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 9, "source_unit": "https://translate-dev.freebsd.org/api/units/1131116/?format=api", "priority": 100, "id": 1133223, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=b9a0b1bd1d24224d", "url": "https://translate-dev.freebsd.org/api/units/1133223/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.330913Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "Initialize the TSS." ], "previous_source": "", "target": [ "初始化TSS(任务状态段)。" ], "id_hash": 998333914161637941, "content_hash": 998333914161637941, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1358", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 237, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate-dev.freebsd.org/api/units/1131118/?format=api", "priority": 100, "id": 1133224, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=8ddacb67d0d46a35", "url": "https://translate-dev.freebsd.org/api/units/1133224/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.335995Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "Prepare the LDT." ], "previous_source": "", "target": [ "准备LDT(局部描述符表)。" ], "id_hash": 3142268028058164897, "content_hash": 3142268028058164897, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1359", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 238, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate-dev.freebsd.org/api/units/1131120/?format=api", "priority": 100, "id": 1133225, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=ab9b941f81795ea1", "url": "https://translate-dev.freebsd.org/api/units/1133225/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.340266Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "TUNABLE_<typename>_FETCH is used to fetch the value from the environment:" ], "previous_source": "", "target": [ "" ], "id_hash": -5426670483001590460, "content_hash": -5426670483001590460, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1384", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 244, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 10, "source_unit": "https://translate-dev.freebsd.org/api/units/1131134/?format=api", "priority": 100, "id": 1133232, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=34b097f28b97bd44", "url": "https://translate-dev.freebsd.org/api/units/1133232/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.409363Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "/usr/src/sys/sys/kernel.h:\n#define\tTUNABLE_INT_FETCH(path, var)\tgetenv_int((path), (var))\n" ], "previous_source": "", "target": [ "" ], "id_hash": -3911196943352194470, "content_hash": -3911196943352194470, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1389", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 245, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate-dev.freebsd.org/api/units/1131136/?format=api", "priority": 100, "id": 1133233, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=49b8a31a38e61a5a", "url": "https://translate-dev.freebsd.org/api/units/1133233/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.415027Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "sys/i386/i386/machdep.c:\nstatic struct gate_descriptor idt0[NIDT];\nstruct gate_descriptor *idt = &idt0[0];\t/* interrupt descriptor table */\n" ], "previous_source": "", "target": [ "" ], "id_hash": 8306039280822336251, "content_hash": 8306039280822336251, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1450", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 252, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 15, "source_unit": "https://translate-dev.freebsd.org/api/units/1131150/?format=api", "priority": 100, "id": 1133240, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=f344fab7f7db3afb", "url": "https://translate-dev.freebsd.org/api/units/1133240/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.491134Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "So when a userland application issues the `INT 0x80` instruction, control will transfer to the function `_Xint0x80_syscall`, which is in the kernel code segment and will be executed with supervisor privileges." ], "previous_source": "", "target": [ "" ], "id_hash": 2990709025732895162, "content_hash": 2990709025732895162, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1463", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 255, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 31, "source_unit": "https://translate-dev.freebsd.org/api/units/1131156/?format=api", "priority": 100, "id": 1133243, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=a9812203715d21ba", "url": "https://translate-dev.freebsd.org/api/units/1133243/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.511426Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "Console and DDB are then initialized:" ], "previous_source": "", "target": [ "" ], "id_hash": -6863308999037175752, "content_hash": -6863308999037175752, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1465", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 256, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 6, "source_unit": "https://translate-dev.freebsd.org/api/units/1131158/?format=api", "priority": 100, "id": 1133244, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=20c0a0d428a5b838", "url": "https://translate-dev.freebsd.org/api/units/1133244/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.517775Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "The Task State Segment is another x86 protected mode structure, the TSS is used by the hardware to store task information when a task switch occurs." ], "previous_source": "", "target": [ "" ], "id_hash": -8437846211166343488, "content_hash": -8437846211166343488, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1479", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 258, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 26, "source_unit": "https://translate-dev.freebsd.org/api/units/1131162/?format=api", "priority": 100, "id": 1133246, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=0ae6bf939a0deec0", "url": "https://translate-dev.freebsd.org/api/units/1133246/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.529743Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "`mi_startup()`" ], "previous_source": "", "target": [ "" ], "id_hash": 5207437461491031566, "content_hash": 5207437461491031566, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1513", "context": "", "note": "type: Title ===", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 265, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1131174/?format=api", "priority": 100, "id": 1133252, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=c84488c7f23c1e0e", "url": "https://translate-dev.freebsd.org/api/units/1133252/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.586284Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "This function performs a bubble sort of all the system initialization objects and then calls the entry of each object one by one:" ], "previous_source": "", "target": [ "" ], "id_hash": -8539288599434478753, "content_hash": -8539288599434478753, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1516", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 266, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 23, "source_unit": "https://translate-dev.freebsd.org/api/units/1131176/?format=api", "priority": 100, "id": 1133253, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=097e5a430c2a3b5f", "url": "https://translate-dev.freebsd.org/api/units/1133253/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.592212Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "\t\t/* ... skipped ... */\n" ], "previous_source": "", "target": [ "" ], "id_hash": 7114685996316246216, "content_hash": 7114685996316246216, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1523", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 268, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 5, "source_unit": "https://translate-dev.freebsd.org/api/units/1131180/?format=api", "priority": 100, "id": 1133255, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=e2bc7137eae040c8", "url": "https://translate-dev.freebsd.org/api/units/1133255/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.609023Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "\t\t/* Call function */\n\t\t(*((*sipp)->func))((*sipp)->udata);\n\t\t/* ... skipped ... */\n\t}\n" ], "previous_source": "", "target": [ "" ], "id_hash": -8991004866845434978, "content_hash": -8991004866845434978, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1528", "context": "", "note": "type: delimited block . 4", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 269, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 11, "source_unit": "https://translate-dev.freebsd.org/api/units/1131182/?format=api", "priority": 100, "id": 1133256, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=033988b5c1de9b9e", "url": "https://translate-dev.freebsd.org/api/units/1133256/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.616814Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "Although the sysinit framework is described in the link:/books/developers-handbook[Developers' Handbook], I will discuss the internals of it." ], "previous_source": "", "target": [ "" ], "id_hash": 1444415877660473320, "content_hash": 1444415877660473320, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1531", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 270, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 17, "source_unit": "https://translate-dev.freebsd.org/api/units/1131184/?format=api", "priority": 100, "id": 1133257, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=940b98967fe2f7e8", "url": "https://translate-dev.freebsd.org/api/units/1133257/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.623877Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "The first user process, called _init_, is created by the sysinit object `init`:" ], "previous_source": "", "target": [ "" ], "id_hash": 2724087034332987299, "content_hash": 2724087034332987299, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1639", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 289, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 13, "source_unit": "https://translate-dev.freebsd.org/api/units/1131232/?format=api", "priority": 100, "id": 1133281, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=a5cde6b992aa3fa3", "url": "https://translate-dev.freebsd.org/api/units/1133281/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-05-23T13:16:31.845137Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "*FreeBSD Component*" ], "previous_source": "", "target": [ "" ], "id_hash": 7933973399606843173, "content_hash": 7933973399606843173, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:90", "context": "", "note": "type: Table", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 10, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 2, "source_unit": "https://translate-dev.freebsd.org/api/units/1289184/?format=api", "priority": 100, "id": 1289344, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=ee1b22c55cf6d725", "url": "https://translate-dev.freebsd.org/api/units/1289344/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-03T12:45:34.201579Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "*Output (may vary)*" ], "previous_source": "", "target": [ "" ], "id_hash": -7594699641310922930, "content_hash": -7594699641310922930, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:92", "context": "", "note": "type: Table", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 11, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 3, "source_unit": "https://translate-dev.freebsd.org/api/units/1289186/?format=api", "priority": 100, "id": 1289345, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=169a34ea27e0374e", "url": "https://translate-dev.freebsd.org/api/units/1289345/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-03T12:45:34.205137Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "`boot0`" ], "previous_source": "", "target": [ "" ], "id_hash": 2987528658513496569, "content_hash": 2987528658513496569, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:93", "context": "", "note": "type: Table", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 12, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1289188/?format=api", "priority": 100, "id": 1289346, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=a975d57c7eff09f9", "url": "https://translate-dev.freebsd.org/api/units/1289346/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-03T12:45:34.213369Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "[source,bash]\n....\nF1 FreeBSD\nF2 BSD\nF5 Disk 2\n...." ], "previous_source": "", "target": [ "" ], "id_hash": 7267644482320693960, "content_hash": 7267644482320693960, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:102", "context": "", "note": "type: Table", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 13, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 10, "source_unit": "https://translate-dev.freebsd.org/api/units/1289190/?format=api", "priority": 100, "id": 1289347, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=e4dbdc26aa8d7ac8", "url": "https://translate-dev.freebsd.org/api/units/1289347/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-03T12:45:34.217737Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "`boot2` footnote:[This prompt will appear if the user presses a key just after selecting an OS to boot at the boot0 stage.]" ], "previous_source": "", "target": [ "" ], "id_hash": -1999363584518663261, "content_hash": -1999363584518663261, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:103", "context": "", "note": "type: Table", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 14, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 22, "source_unit": "https://translate-dev.freebsd.org/api/units/1289192/?format=api", "priority": 100, "id": 1289348, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=6440d569b7e9d3a3", "url": "https://translate-dev.freebsd.org/api/units/1289348/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-03T12:45:34.221620Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "[.filename]#loader#" ], "previous_source": "", "target": [ "" ], "id_hash": 6497695832236262353, "content_hash": 6497695832236262353, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:113", "context": "", "note": "type: Table", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 16, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1289196/?format=api", "priority": 100, "id": 1289350, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=da2c73eee2fa83d1", "url": "https://translate-dev.freebsd.org/api/units/1289350/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-03T12:45:34.233488Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "kernel" ], "previous_source": "", "target": [ "" ], "id_hash": -6257932349052646391, "content_hash": -6257932349052646391, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:130", "context": "", "note": "type: Table", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 18, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1289200/?format=api", "priority": 100, "id": 1289352, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=29275baf3a4a8c09", "url": "https://translate-dev.freebsd.org/api/units/1289352/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-03T12:45:34.259047Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "`recover_bootinfo`" ], "previous_source": "", "target": [ "" ], "id_hash": -799891531557432570, "content_hash": -799891531557432570, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1287", "context": "", "note": "type: Table", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 217, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1289204/?format=api", "priority": 100, "id": 1289354, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=74e636e3daad1306", "url": "https://translate-dev.freebsd.org/api/units/1289354/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-03T12:45:35.148008Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "`identify_cpu`" ], "previous_source": "", "target": [ "" ], "id_hash": -2141018280990565520, "content_hash": -2141018280990565520, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:1292", "context": "", "note": "type: Table", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 219, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 1, "source_unit": "https://translate-dev.freebsd.org/api/units/1289208/?format=api", "priority": 100, "id": 1289356, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=624993378ff09b70", "url": "https://translate-dev.freebsd.org/api/units/1289356/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-02-03T12:45:35.155816Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "This chapter is an overview of the boot and system initialization processes, starting from the BIOS (firmware) POST, to the first user process creation. Since the initial steps of system startup are very architecture dependent, the IA-32 architecture is used as an example. But the AMD64 and ARM64 architectures are much more important and compelling examples and should be explained in the near future according to the topic of this document." ], "previous_source": "", "target": [ "这一章是对引导过程和系统初始化过程的总览。这些过程始于<acronym>BIOS</acronym>(固件)<acronym>POST</acronym>,直到第一个用户进程建立。由于系统启动的最初步骤是与硬件结构相关的、是紧配合的, 这里用IA-32(Intel Architecture 32bit)结构作为例子。" ], "id_hash": -4586536081814533387, "content_hash": -4586536081814533387, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:56", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 10, "fuzzy": true, "translated": false, "approved": false, "position": 4, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 71, "source_unit": "https://translate-dev.freebsd.org/api/units/1436365/?format=api", "priority": 100, "id": 1438565, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=405959bbedeecaf5", "url": "https://translate-dev.freebsd.org/api/units/1438565/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-07-08T03:00:13.303812Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "The FreeBSD boot process can be surprisingly complex. After control is passed from the BIOS, a considerable amount of low-level configuration must be done before the kernel can be loaded and executed. This setup must be done in a simple and flexible manner, allowing the user a great deal of customization possibilities." ], "previous_source": "", "target": [ "FreeBSD 启动过程非常复杂。从<acronym>BIOS</acronym>传递控制后,必须先执行大量低级配置,然后才能加载和执行内核。此设置必须以简单和灵活的方式完成,允许用户自定义。" ], "id_hash": 2578285898511030999, "content_hash": 2578285898511030999, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:60", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 10, "fuzzy": true, "translated": false, "approved": false, "position": 5, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 52, "source_unit": "https://translate-dev.freebsd.org/api/units/1436367/?format=api", "priority": 100, "id": 1438566, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=a3c7e95d46261ad7", "url": "https://translate-dev.freebsd.org/api/units/1438566/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-07-08T03:00:13.320177Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "The boot process is an extremely machine-dependent activity. Not only must code be written for every computer architecture, but there may also be multiple types of booting on the same architecture. For example, a directory listing of [.filename]#stand# reveals a great amount of architecture-dependent code. There is a directory for each of the various supported architectures. FreeBSD supports the CSM boot standard (Compatibility Support Module). So CSM is supported (with both GPT and MBR partitioning support) and UEFI booting (GPT is totally supported, MBR is mostly supported). It also supports loading files from ext2fs, MSDOS, UFS and ZFS. FreeBSD also supports the boot environment feature of ZFS which allows the HOST OS to communicate details about what to boot that go beyond a simple partition as was possible in the past. But UEFI is more relevant than the CSM these days. The example that follows shows booting an x86 computer from an MBR-partitioned hard drive with the FreeBSD [.filename]#boot0# multi-boot loader stored in the very first sector. That boot code starts the FreeBSD three-stage boot process." ], "previous_source": "", "target": [ "启动过程与计算机架构息息相关。不仅必须为每个计算机体系结构编写代码,而且在同一体系结构上也可能有多个不同类型的引导。例如,<filename>/usr/src/sys/boot</filename>的目录列表显示了大量依赖于体系结构的代码。每个受支持的体系结构都有一个目录。在特定于 x86 的 <filename>i386</filename> 目录中,有不同引导标准的子目录,如<filename>mbr</filename>(主引导记录)、<filename>gpt</filename>(<acronym>GUID</acronym>分区表)和<filename>efi</filename>(可扩展固件接口)。每个引导标准都有自己的约定和数据结构。以下示例显示,使用存储在第一扇区的 FreeBSD <filename>boot0</filename> 多引导加载程序,从<acronym>MBR</acronym> 硬盘驱动器启动 x86 计算机。该引导代码启动 FreeBSD 三阶段引导过程。" ], "id_hash": -2033462094573209600, "content_hash": -2033462094573209600, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:75", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 10, "fuzzy": true, "translated": false, "approved": false, "position": 7, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 176, "source_unit": "https://translate-dev.freebsd.org/api/units/1436369/?format=api", "priority": 100, "id": 1438567, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=63c7b0ffacbdf800", "url": "https://translate-dev.freebsd.org/api/units/1438567/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-07-08T03:00:13.365274Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "The key to understanding this process is that it is a series of stages of increasing complexity. These stages are [.filename]#boot1#, [.filename]#boot2#, and [.filename]#loader# (see man:boot[8] for more detail). The boot system executes each stage in sequence. The last stage, [.filename]#loader#, is responsible for loading the FreeBSD kernel. Each stage is examined in the following sections." ], "previous_source": "", "target": [ "" ], "id_hash": -411814808444166443, "content_hash": -411814808444166443, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:81", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 8, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 56, "source_unit": "https://translate-dev.freebsd.org/api/units/1436371/?format=api", "priority": 100, "id": 1438568, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=7a48f09d15709ed5", "url": "https://translate-dev.freebsd.org/api/units/1438568/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-07-08T03:00:13.373469Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "Here is an example of the output generated by the different boot stages. Actual output may differ from machine to machine:" ], "previous_source": "Here is an example of the output generated by the different boot stages. Actual output may differ from machine to machine:", "target": [ "下面是由不同引导阶段生成的输出的示例。实际输出可能因机器而异:" ], "id_hash": 3999627615251114747, "content_hash": 3999627615251114747, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:84", "context": "", "note": "type: Plain text", "flags": "", "labels": [], "state": 10, "fuzzy": true, "translated": false, "approved": false, "position": 9, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 21, "source_unit": "https://translate-dev.freebsd.org/api/units/1436373/?format=api", "priority": 100, "id": 1438569, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=b781882008e2aafb", "url": "https://translate-dev.freebsd.org/api/units/1438569/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-07-08T03:00:13.377786Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "[source,bash]\n....\n>>FreeBSD/x86 BOOT\nDefault: 0:ad(0p4)/boot/loader\nboot:\n...." ], "previous_source": "", "target": [ "" ], "id_hash": 4735263511224977872, "content_hash": 4735263511224977872, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:112", "context": "", "note": "type: Table", "flags": "no-wrap", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 15, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 8, "source_unit": "https://translate-dev.freebsd.org/api/units/1436375/?format=api", "priority": 100, "id": 1438570, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=c1b70913306f09d0", "url": "https://translate-dev.freebsd.org/api/units/1438570/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-07-08T03:00:13.457777Z" }, { "translation": "https://translate-dev.freebsd.org/api/translations/documentation/booksarch-handbookboot_index/zh_CN/?format=api", "source": [ "[source,bash]\n....\nBTX loader 1.00 BTX version is 1.02\nConsoles: internal video/keyboard\nBIOS drive C: is disk0\nBIOS 639kB/2096064kB available memory\n\nFreeBSD/x86 bootstrap loader, Revision 1.1\nConsole internal video/keyboard\n(root@releng1.nyi.freebsd.org, Fri Apr 9 04:04:45 UTC 2021)\nLoading /boot/defaults/loader.conf\n/boot/kernel/kernel text=0xed9008 data=0x117d28+0x176650 syms=[0x8+0x137988+0x8+0x1515f8]\n...." ], "previous_source": "", "target": [ "BTX loader 1.00 BTX version is 1.02\nConsoles: internal video/keyboard\nBIOS drive C: is disk0\nBIOS 639kB/2096064kB available memory\n\nFreeBSD/x86 bootstrap loader, Revision 1.1\nConsole internal video/keyboard\n(root@snap.freebsd.org, Thu Jan 16 22:18:05 UTC 2014)\nLoading /boot/defaults/loader.conf\n/boot/kernel/kernel text=0xed9008 data=0x117d28+0x176650 syms=[0x8+0x137988+0x8+0x1515f8]" ], "id_hash": 395065411021545406, "content_hash": 395065411021545406, "location": "documentation/content/en/books/arch-handbook/boot/_index.adoc:129", "context": "", "note": "type: Table", "flags": "no-wrap", "labels": [], "state": 10, "fuzzy": true, "translated": false, "approved": false, "position": 17, "has_suggestion": false, "has_comment": false, "has_failing_check": true, "num_words": 43, "source_unit": "https://translate-dev.freebsd.org/api/units/1436377/?format=api", "priority": 100, "id": 1438571, "web_url": "https://translate-dev.freebsd.org/translate/documentation/booksarch-handbookboot_index/zh_CN/?checksum=857b8de5eefb9fbe", "url": "https://translate-dev.freebsd.org/api/units/1438571/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2022-07-08T03:00:13.468109Z" } ] }{ "count": 293, "next": "