ch.9 Flashcards
where should a program be placed
into a memory withing a process
What are thr storage that a cpu can access
Main memlry and registers
what does the main memory do
sees a stream of addresses , read requests , address and data and write requests
where does cache sit
between cpu and memory
what are the base and limit registers
base register : smallest legal physical memory address
limit register : size if the register
how do the CPU hardware protect memory space
by comparing every address generated by the registers
Draw the hardware address protection
…
what is an input queue
programs ready to be brought into memory to execute
what are the three stages of address binding and data to memory
compilr time (location known absolutr code)- load time (unknown location - relocatable code) execution time (binding delayed)
what is the concept of logical address
bound to a separate physical address space
what is a logical address and a physical address
logical : generated by cpu (virtual address)
physical : seen by memory unit
same in compile time and load time address binding scheme but different in execution time address binding scheme
who does the run time mapping from virtual to physical address
memory management unit
what are static and dynamic linking
static linking: system libraried and program code combined by loader into binary program image
Dynamic linking : linking postponed until execution time
where does a process get swapped to
backing store - accomodate copies of all memory images
constraints on swapping
pending I/O
always transfer I/O to kernel space