Home
last modified time | relevance | path

Searched refs:setup_size (Results 1 – 19 of 19) sorted by relevance

/openbmc/u-boot/arch/x86/lib/
H A Dzimage.c133 int setup_size; in load_zimage() local
149 setup_size = 5 * 512; in load_zimage()
151 setup_size = (hdr->setup_sects + 1) * 512; in load_zimage()
154 printf("Setup Size = 0x%8.8lx\n", (ulong)setup_size); in load_zimage()
156 if (setup_size > SETUP_MAX_SIZE) in load_zimage()
157 printf("Error: Setup is too large (%d bytes)\n", setup_size); in load_zimage()
193 kernel_size -= setup_size; in load_zimage()
202 memmove((void *)0x90000, setup_base, setup_size); in load_zimage()
214 memset((u8 *)0x90000 + setup_size, 0, in load_zimage()
215 SETUP_MAX_SIZE - setup_size); in load_zimage()
[all …]
/openbmc/u-boot/cmd/
H A Dqfw.c19 uint32_t setup_size, kernel_size, cmdline_size, initrd_size; in qemu_fwcfg_setup_kernel() local
21 qemu_fwcfg_read_entry(FW_CFG_SETUP_SIZE, 4, &setup_size); in qemu_fwcfg_setup_kernel()
24 if (setup_size == 0 || kernel_size == 0) { in qemu_fwcfg_setup_kernel()
31 le32_to_cpu(setup_size), data_addr); in qemu_fwcfg_setup_kernel()
32 data_addr += le32_to_cpu(setup_size); in qemu_fwcfg_setup_kernel()
/openbmc/linux/arch/x86/boot/
H A Dsetup.ld28 PROVIDE(pecompat_fsize = setup_size - pecompat_fstart);
46 setup_size = ALIGN(ABSOLUTE(.), 4096); symbol
47 setup_sects = ABSOLUTE(setup_size / 512);
H A Dheader.S86 .long setup_size + ZO_efi_pe_entry # AddressOfEntryPoint
88 .long setup_size # BaseOfCode
109 .long setup_size + ZO__end # SizeOfImage
180 .long setup_size + ZO_efi32_pe_entry # Entrypoint
184 .set pecompat_fstart, setup_size
191 .long setup_size
194 .long setup_size
205 .long setup_size + ZO__data # VirtualAddress
207 .long setup_size + ZO__data # PointerToRawData
/openbmc/qemu/hw/i386/
H A Dx86-common.c633 int setup_size, kernel_size, cmdline_size; in x86_load_linux() local
887 setup_size = header[0x1f1]; in x86_load_linux()
888 if (setup_size == 0) { in x86_load_linux()
889 setup_size = 4; in x86_load_linux()
891 setup_size = (setup_size + 1) * 512; in x86_load_linux()
892 if (setup_size > kernel_size) { in x86_load_linux()
896 kernel_size -= setup_size; in x86_load_linux()
898 setup = g_malloc(setup_size); in x86_load_linux()
901 if (fread(setup, 1, setup_size, f) != setup_size) { in x86_load_linux()
957 fw_cfg_add_i32(fw_cfg, FW_CFG_SETUP_SIZE, setup_size); in x86_load_linux()
[all …]
/openbmc/qemu/pc-bios/optionrom/
H A Dlinuxboot_dma.c143 uint32_t setup_size; in load_kernel() local
151 bios_cfg_read_entry_dma(&setup_size, FW_CFG_SETUP_SIZE, 4); in load_kernel()
152 bios_cfg_read_entry_dma(setup_addr, FW_CFG_SETUP_DATA, setup_size); in load_kernel()
/openbmc/linux/arch/um/drivers/
H A Dumcast_kern.c168 .setup_size = sizeof(struct umcast_init),
178 .setup_size = sizeof(struct umcast_init),
H A Dslip_kern.c84 .setup_size = sizeof(struct slip_init),
H A Ddaemon_kern.c86 .setup_size = sizeof(struct daemon_init),
H A Dslirp_kern.c111 .setup_size = sizeof(struct slirp_init),
H A Dpcap_kern.c104 .setup_size = sizeof(struct pcap_init),
H A Dvde_kern.c120 .setup_size = sizeof(struct vde_init),
H A Dnet_kern.c562 *init_out = kmalloc(transport->setup_size, gfp_mask); in check_transport()
/openbmc/qemu/target/i386/
H A Dsev.h39 size_t setup_size; member
H A Dsev.c1906 { .iov_base = ctx->setup_data, .iov_len = ctx->setup_size }, in build_kernel_loader_hashes()
/openbmc/linux/arch/um/include/shared/
H A Dnet_kern.h59 const int setup_size; member
/openbmc/linux/arch/um/os-Linux/drivers/
H A Dtuntap_kern.c77 .setup_size = sizeof(struct tuntap_init),
H A Dethertap_kern.c91 .setup_size = sizeof(struct ethertap_init),
/openbmc/linux/drivers/scsi/
H A Dwd719x.h218 u8 setup_size; member