Memory management
In Chapter 15 we saw how the cache provides fast access to those portions of main memory that are likely to be needed in the near future. In this chapter, we regard the main memory as a form of cache for the hard disk store. That is, we shall use the main memory as a store for those portions of the disk store that are likely to be needed in the near future. This will allow us to execute a program even though not all the program code and data can fit into the main memory of the computer. In turn, this will allow us to store parts of a number of programs within the main memory and be able to run any of them.
16.1 Virtual and physical addresses – imaginary and real memory
The original idea1 was to allow a program to use the ...
Get Embedded Systems and Computer Architecture now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.