Home
last modified time | relevance | path

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

/openbmc/qemu/hw/i386/
H A Dmultiboot.c160 uint32_t mb_kernel_size; in load_multiboot() local
212 mb_kernel_size = elf_high - elf_low; in load_multiboot()
215 mbs.mb_buf = g_malloc(mb_kernel_size); in load_multiboot()
216 if (rom_copy(mbs.mb_buf, mh_load_addr, mb_kernel_size) != mb_kernel_size) { in load_multiboot()
223 mb_kernel_size, (size_t)mh_entry_addr); in load_multiboot()
266 mb_kernel_size = mh_bss_end_addr - mh_load_addr; in load_multiboot()
268 mb_kernel_size = mb_load_size; in load_multiboot()
278 mbs.mb_buf = g_malloc(mb_kernel_size); in load_multiboot()
284 memset(mbs.mb_buf + mb_load_size, 0, mb_kernel_size - mb_load_size); in load_multiboot()
290 mbs.mb_buf_size = TARGET_PAGE_ALIGN(mb_kernel_size); in load_multiboot()