I know that os will load the elf into physical memory. When jmp elf-address is executed, the system will check tlb and translate the elven address into a physical address. Am I confused that the elf address does not have a segment and page number? How os convert elf address to what MMU needs.
I really confused this. I know that linux will read the elf and card elf header. When a page error occurs, the kernel loads the elf into memory and updates the page table. But your elf elf address is similar to 0x0804900. If we want exe jmp elf-address , how does the kernel display the el-address for an address that the MMU can use. You know that the MMU address is based on the number number and page number.
Is there a map table that os will look for? And when exec jmp elf-address , will there be a first card email address to the MMU address? for example: elf-address <==> MMU-address
source share