Lines Matching +full:mode +full:- +full:loader

1 /* SPDX-License-Identifier: GPL-2.0 */
12 * BIG FAT NOTE: We're in real mode using 64k segments. Therefore segment
28 BOOTSEG = 0x07C0 /* original address of boot-sector */
45 # "MZ", MS-DOS header
92 .ascii "Use a boot loader.\r\n"
115 .word section_table - optional_header # SizeOfOptionalHeader
179 .long (section_table - .) / 8 # NumberOfRvaAndSizes
211 # The EFI application loader requires a relocation section
272 .set section_count, (. - section_table) / 40
297 # tries to generate a 3-byte jump here, which causes
299 .byte 0xeb # short (2-byte) jump
300 .byte start_of_setup-1f
307 # or else old loadlin-1.5 will fail)
312 .word kernel_version-512 # pointing to kernel version string
314 # with loadlin-1.5 (header v1.5). Don't
330 # loader knows how much data behind
334 # start address for 32-bit code.
338 # Here the loader puts the 32-bit
347 heap_end_ptr: .word _end+STACK_SIZE-512
354 .byte 0 # Extended boot loader version
356 .byte 0 # Extended boot loader type
359 # If nonzero, a 32-bit pointer
382 #required for protected mode
393 # define XLF0 XLF_KERNEL_64 /* 64-bit kernel */
410 # define XLF23 XLF_EFI_HANDOVER_64 /* 64-bit EFI handover ok */
412 # define XLF23 XLF_EFI_HANDOVER_32 /* 32-bit EFI handover ok */
437 cmdline_size: .long COMMAND_LINE_SIZE-1 #length of the command line,
449 setup_data: .quad 0 # 64-bit physical pointer to
456 # Getting to provably safe in-place decompression is hard. Worst case
458 # a gzip-compressed kernel as example, to illustrate it:
479 # 1 block occurs every 32K -1 bytes or when there 50% compression
539 # the size-dependent part now grows so fast.
551 # define ZO_z_extract_offset (ZO_z_output_len + ZO_z_extra_bytes - \
562 #if (ZO__ehead - ZO_startup_32) > ZO_z_extract_offset
563 # define ZO_z_min_extract_offset ((ZO__ehead - ZO_startup_32 + 4095) & ~4095)
568 #define ZO_INIT_SIZE (ZO__end - ZO_startup_32 + ZO_z_min_extract_offset)
570 #define VO_INIT_SIZE (VO__end - VO__text)
598 je 2f # -> assume %sp is reasonably set
651 .size die, .-die