Lines Matching refs:hdr
61 if ((Bp->hdr.signature != 0xAA55) || // Check boot sector signature
62 (Bp->hdr.header != SETUP_HDR) ||
63 (Bp->hdr.version < 0x205) || // We only support relocatable kernels
64 (!Bp->hdr.relocatable_kernel)
88 if (Bp->hdr.version > 0x20a) {
89 return Bp->hdr.init_size;
139 SetupEnd = 0x202 + (Bp->hdr.jump & 0xff);
172 2 * Bp->hdr.kernel_alignment,
232 Address = (EFI_PHYSICAL_ADDRESS)(UINTN) Bp->hdr.ramdisk_max;
414 Bp->hdr.cmd_line_ptr = (UINT32)(UINTN) CommandLine;
438 Bp->hdr.ramdisk_start = (UINT32)(UINTN) Initrd;
439 Bp->hdr.ramdisk_len = (UINT32) InitrdSize;
640 if (Bp->hdr.version < 0x205 || !Bp->hdr.relocatable_kernel) {
649 Bp->hdr.code32_start = (UINT32)(UINTN) Kernel;
650 if (Bp->hdr.version >= 0x20c && Bp->hdr.handover_offset &&
651 (Bp->hdr.xloadflags & (sizeof (UINTN) == 4 ? BIT2 : BIT3))) {
652 DEBUG ((EFI_D_INFO, "Jumping to kernel EFI handover point at ofs %x\n", Bp->hdr.handover_offset));