Searched refs:mb_load_size (Results 1 – 1 of 1) sorted by relevance
241 uint32_t mb_load_size = 0; in load_multiboot() local249 mb_load_size = mh_load_end_addr - mh_load_addr; in load_multiboot()255 mb_load_size = kernel_file_size - mb_kernel_text_offset; in load_multiboot()257 if (mb_load_size > UINT32_MAX - mh_load_addr) { in load_multiboot()262 if (mh_bss_end_addr < (mh_load_addr + mb_load_size)) { in load_multiboot()268 mb_kernel_size = mb_load_size; in load_multiboot()276 mb_load_size, mh_load_addr); in load_multiboot()280 if (fread(mbs.mb_buf, 1, mb_load_size, f) != mb_load_size) { in load_multiboot()284 memset(mbs.mb_buf + mb_load_size, 0, mb_kernel_size - mb_load_size); in load_multiboot()