Home
last modified time | relevance | path

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

/external/u-boot/arch/x86/lib/
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 …]
/external/u-boot/cmd/
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()