rboot
rboot copied to clipboard
Don`t see load EFI Program Data in page_table/map_segment
I don`t see the code use segment.get_data() and write the program data to the virtual address. The code should be writen before compare "mem_size > file_size". Is my fault?
Good question! The kernel ELF is loaded to the physical memory with page aligned, then the program data in ELF can be directly mapped to the virtual memory without copy.