Home | History | Annotate | Download | only in bootstub

Lines Matching refs:hdr

144 	memcpy(&bp->hdr, sh, sizeof (struct setup_header));
145 bp->hdr.type_of_loader = 0xff; //bootstub is unknown bootloader for kernel :)
146 bp->hdr.hardware_subarch = X86_SUBARCH_MRST;
167 bp->hdr.ramdisk_size = aosp->ramdisk_size;
180 bp->hdr.ramdisk_size = *(u32 *)INITRD_SIZE_OFFSET;
185 bp->hdr.cmd_line_ptr = BOOT_CMDLINE_OFFSET;
186 bp->hdr.cmdline_size = cmdline_len;
187 bp->hdr.ramdisk_image = (bp->alt_mem_k*1024 - bp->hdr.ramdisk_size) & 0xFFFFF000;
191 memcpy((u8*)bp->hdr.ramdisk_image, initramfs, bp->hdr.ramdisk_size);