/openbmc/u-boot/arch/x86/lib/ |
H A D | zimage.c | 133 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 D | qfw.c | 19 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 D | setup.ld | 28 PROVIDE(pecompat_fsize = setup_size - pecompat_fstart); 46 setup_size = ALIGN(ABSOLUTE(.), 4096); symbol 47 setup_sects = ABSOLUTE(setup_size / 512);
|
H A D | header.S | 86 .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 D | x86-common.c | 633 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 D | linuxboot_dma.c | 143 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 D | umcast_kern.c | 168 .setup_size = sizeof(struct umcast_init), 178 .setup_size = sizeof(struct umcast_init),
|
H A D | slip_kern.c | 84 .setup_size = sizeof(struct slip_init),
|
H A D | daemon_kern.c | 86 .setup_size = sizeof(struct daemon_init),
|
H A D | slirp_kern.c | 111 .setup_size = sizeof(struct slirp_init),
|
H A D | pcap_kern.c | 104 .setup_size = sizeof(struct pcap_init),
|
H A D | vde_kern.c | 120 .setup_size = sizeof(struct vde_init),
|
H A D | net_kern.c | 562 *init_out = kmalloc(transport->setup_size, gfp_mask); in check_transport()
|
/openbmc/qemu/target/i386/ |
H A D | sev.h | 39 size_t setup_size; member
|
H A D | sev.c | 1906 { .iov_base = ctx->setup_data, .iov_len = ctx->setup_size }, in build_kernel_loader_hashes()
|
/openbmc/linux/arch/um/include/shared/ |
H A D | net_kern.h | 59 const int setup_size; member
|
/openbmc/linux/arch/um/os-Linux/drivers/ |
H A D | tuntap_kern.c | 77 .setup_size = sizeof(struct tuntap_init),
|
H A D | ethertap_kern.c | 91 .setup_size = sizeof(struct ethertap_init),
|
/openbmc/linux/drivers/scsi/ |
H A D | wd719x.h | 218 u8 setup_size; member
|