Searched refs:boot_code (Results 1 – 2 of 2) sorted by relevance
92 char *boot_code; in boot_sector_init() local104 boot_code = g_malloc0(len); in boot_sector_init()105 memcpy(boot_code, x86_boot_sector, sizeof(x86_boot_sector)); in boot_sector_init()108 boot_code = g_strdup_printf("\\ Bootscript\n%x %x c! %x %x c!\n", in boot_sector_init()111 len = strlen(boot_code); in boot_sector_init()114 boot_code = g_malloc0(len); in boot_sector_init()115 memcpy(boot_code, s390x_psw_and_magic, sizeof(s390x_psw_and_magic)); in boot_sector_init()116 memcpy(&boot_code[0x10000], s390x_code, sizeof(s390x_code)); in boot_sector_init()121 ret = write(fd, boot_code, len); in boot_sector_init()124 g_free(boot_code); in boot_sector_init()
115 u8 boot_code[MSDOS_MBR_BOOT_CODE_SIZE]; member