paging - multiple pages

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
guest

paging - multiple pages

Post by guest »

what if what you need to load one single thing (like a program) onto multiple pages with paging because it is bigger than the size of an actual page?
guest

Re:paging - multiple pages

Post by guest »

i dont want to load the program in pieces because then the memory addresses will get messed up because each new page has a virtual address of 0x0
AR

Re:paging - multiple pages

Post by AR »

Each virtual page is at a specific virtual address, you cannot have more than 1 page at the same virtual address in any one address space. Discontiguous physical pages make little difference (although I think there's something to do with "page coloring" where pages that are closer together are better managed by the CPU cache)
Post Reply