Week 11 Flashcards
CAM memory includes
latch to store one bit and a dedicated bit comparison circuit
CAM is organized as
N m-bit slots, where N and m chosen by need and cost
Most page table entries are _____
not resident
how do you handle a page fault for non-resident bits?
1) CPUT read or write at address in a non-resident page
2) MMU performs translations, finds resident bit is not set, then sends page fault signal
3) OS changes CPU mode to OS privalege level, saves information needed to restart process after fault, and calls page fault holder
what are the 2 types of errors on a bus?
Address conflict, unassigned address
Error when two busses attempt to respond to a given address
address conflict
Error when no device responds to a given address
Unassigned address
what is a better alternative to a bus that can connect multiple devices
switching fabric:
sender supplies data and destination device, while fabric delivers data to specified destination
Polling:
Waiting for certain tasks to be over before you can move on to the next one, processor “asks” if a given task is done yet
A better option to polling:
Interupt-driven: instead of having a loop that you wait in, just have device interupt processor when the task is complete
True / false: processor boots with interupts disabled
true