Home | History | Annotate | Download | only in AndroidFastboot

Lines Matching refs:Header

59   ANDROID_BOOTIMG_HEADER   *Header;

65 Header = (ANDROID_BOOTIMG_HEADER *) BootImg;
67 if (AsciiStrnCmp (Header->BootMagic, BOOT_MAGIC, BOOT_MAGIC_LENGTH) != 0) {
71 if (Header->KernelSize == 0) {
75 ASSERT (IS_POWER_OF_2 (Header->PageSize));
77 *KernelSize = Header->KernelSize;
78 *Kernel = BootImgBytePtr + Header->PageSize;
79 *RamdiskSize = Header->RamdiskSize;
81 if (Header->RamdiskSize != 0) {
83 + Header->PageSize
84 + ALIGN_VALUE (Header->KernelSize, Header->PageSize));
87 AsciiStrnCpy (KernelArgs, Header->KernelArgs, BOOTIMG_KERNEL_ARGS_SIZE);