Searched refs:aosp (Results 1 – 1 of 1) sorted by relevance
152 struct boot_img_hdr *aosp = (struct boot_img_hdr *)AOSP_HEADER_ADDRESS; in bzImage_setup() local156 if (is_image_aosp(aosp->magic)) { in bzImage_setup()157 ptr = (u8*)aosp->kernel_addr; in bzImage_setup()158 cmdline_len = strnlen((const char *)aosp->cmdline, sizeof(aosp->cmdline)); in bzImage_setup()159 extra_cmdline_len = strnlen((const char *)aosp->extra_cmdline, sizeof(aosp->extra_cmdline)); in bzImage_setup()165 memset(cmdline, 0, sizeof(aosp->cmdline) + sizeof(aosp->extra_cmdline)); in bzImage_setup()166 memcpy(cmdline, (const void *)aosp->cmdline, cmdline_len); in bzImage_setup()167 memcpy(cmdline + cmdline_len, (const void *)aosp->extra_cmdline, extra_cmdline_len); in bzImage_setup()169 bp->hdr.ramdisk_size = aosp->ramdisk_size; in bzImage_setup()171 initramfs = (u8 *)aosp->ramdisk_addr; in bzImage_setup()[all …]