Searched refs:BOOT_MAGIC (Results 1 – 5 of 5) sorted by relevance
25 #define BOOT_MAGIC "ANDROID!" macro
49 BOOT_MAGIC = 'ANDROID!'.encode()50 args.output.write(pack('8s', BOOT_MAGIC))
59 memcpy(hdr->magic, BOOT_MAGIC, BOOT_MAGIC_SIZE); in mkbootimg()
436 if(!memcmp(kdata, BOOT_MAGIC, BOOT_MAGIC_SIZE)) { in load_bootable_image()
105 if (memcmp(BOOT_MAGIC, hdr.magic, BOOT_MAGIC_SIZE) != 0) { in get_signature_offset()