Lecture 4 Notes
Lecture 4 Notes
ROM = read only memory. We cannot delete it or change it. It is used to launch programs.
UEFI = Universal extendable firmware interface (new machine). (UEFI is something in the hardware).
Bootstrap Programs:
Keyboard
Fifa : Imad
The interrupt service routine (ISR) (a function inside the kernel that will handle interrupts)
The interrupt arrives from the kernel to the keyboard and the ISR happens
Lets say I wrote Imad in Fifa, the I/O will send the Imad to the Buffer, The IO will do a ISR.
This ISR will add Fifa to the CPU queue and when the CPU scheduler gives Fifa the turn,
Fifa is updated in RAM to have Imad
Buffer
Imad
Flops = floating point operations per second executed in one clock cycle.
Note:
1) When we load Fifa in the CPU, we are adding the whole app, we are adding just the part of Fifa
that needs executing.
2) We have several types of interrupts:
a. I/O completion
b. Error or Exception interrupt (windows will crash and we need to reboot)
runtime errors – Not Syntax error cus not compiled yet – divide by 0 – accessing
memory that we are not allowed to access – adding 1s and 0s that do not exist in the
computer architecture ex: intel computer bit allocation on hp computer
c. System call (when a process is asking the kernel to do something ex: open a file…)
d. Time interrupt