Searched refs:boot_code (Results 1 – 4 of 4) sorted by relevance
| /openbmc/qemu/tests/qtest/ |
| H A D | boot-sector.c | 92 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 D | boot.c | 410 void *boot_code = g_malloc0(VIRT_FLASH0_SIZE); in loongarch_direct_kernel_boot() local 411 memcpy(boot_code, &slave_boot_code, sizeof(slave_boot_code)); in loongarch_direct_kernel_boot() 412 rom_add_blob_fixed("boot_code", boot_code, VIRT_FLASH0_SIZE, VIRT_FLASH0_BASE); in loongarch_direct_kernel_boot() 425 g_free(boot_code); in loongarch_direct_kernel_boot()
|
| /openbmc/u-boot/include/ |
| H A D | part_efi.h | 115 u8 boot_code[MSDOS_MBR_BOOT_CODE_SIZE]; member
|
| /openbmc/qemu/hw/mips/ |
| H A D | loongson3_virt.c | 202 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()
|