Home
last modified time | relevance | path

Searched refs:boot_code (Results 1 – 7 of 7) sorted by relevance

/openbmc/qemu/tests/qtest/
H A Dboot-sector.c92 char *boot_code; in boot_sector_init() local
104 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()
/openbmc/qemu/hw/loongarch/
H A Dboot.c301 void *boot_code = g_malloc0(VIRT_FLASH0_SIZE); in loongarch_direct_kernel_boot() local
302 memcpy(boot_code, &slave_boot_code, sizeof(slave_boot_code)); in loongarch_direct_kernel_boot()
303 rom_add_blob_fixed("boot_code", boot_code, VIRT_FLASH0_SIZE, VIRT_FLASH0_BASE); in loongarch_direct_kernel_boot()
316 g_free(boot_code); in loongarch_direct_kernel_boot()
/openbmc/linux/block/partitions/
H A Defi.h108 u8 boot_code[440]; member
/openbmc/u-boot/include/
H A Dpart_efi.h115 u8 boot_code[MSDOS_MBR_BOOT_CODE_SIZE]; member
/openbmc/qemu/hw/mips/
H A Dloongson3_virt.c202 const unsigned int boot_code[] = { in init_boot_rom() local
273 rom_add_blob_fixed("boot_rom", boot_code, sizeof(boot_code), in init_boot_rom()
/openbmc/linux/fs/exfat/
H A Dexfat_raw.h108 __u8 boot_code[390]; member
/openbmc/linux/fs/ntfs3/
H A Dntfs.h224 u8 boot_code[0x200 - 0x50 - 2 - 4]; // 0x54: member