Os Flashcards
What is an os
An intermedia between hardware and software which make a interface to users
When boostrap loads
At power up or reboot
Where boostrap stored
Rom known as firmware
Rom ?
Coded instructions stored permanently in Rom
What boostrap do
Initializes all aspects of system
Loads operating system kernel and starts execution
How bosstrap prosses works.what are the two stages
Rom holds the boostrap program.when the computer turns on cpu counter is set to the first instruction of boostrap and execute the instructions.when loading done the program counter is set to the first instruction of the os in ram
How the boostrap works? graphical?
boostrap runs
Os loads
Os runs
Innterput service routine?
Segements of code thatdeyerminea action to be taken for each type of interrupt
Interrupt vector means
Contain the adreessof service routines
What is done to prevent lost inrerrupt?
Incoming interupta are disabled while another interrupt is being processed.
Interrupt types?
Polling
Vectored
How do we know that i/o is complete in polling? Interrupt ?
How do we know that I/O is complete? (polling)
▪ Device sets a flag when it is busy.
▪ Program tests the flag in a loop waiting for completion of I/O.
How do we know that I/O is complete? (interrupts)
▪ On completion of I/O, device forces CPU to jump to a specific instruction address that contains
the interrupt service routine.
▪ After the interrupt has been processed, CPU returns to code it was executing prior to servicing
the interrupt