Sunday, July 14, 2013
What is Polling?
Posted by
Sunflower
at
7/14/2013 05:08:00 PM
0
comments
Labels: Busy, Character, Client, Commands, CPU, Devices, External, Input, Instruction, Internal, Interrupts, Operation, Output, Polling, program, Registers, Software, state, Status, System
|
| Subscribe by Email |
|
Thursday, June 20, 2013
Explain the single and multiple partition techniques?
- Single
partition techniques
- Multiple
partition techniques
Posted by
Sunflower
at
6/20/2013 05:54:00 PM
0
comments
Labels: Advantages, Allocation, Blocks, Dynamic, Hardware, Information, Management, Memory, Multiple Partition, Partition, Registers, Single Partition, Software, Static, Storage, System, Techniques
|
| Subscribe by Email |
|
Friday, May 3, 2013
What is a Dispatcher?
- Long-term schedulers
- Medium-term schedulers
- Short-term schedulers
- Switching the context
- Turning on the user code
- Making a jump to the exact location of the
program from where it has to be restarted.
Process of Dispatcher
- The program presently having
the context is executed by the processor. Things used by this program
include stack base, flags, program counter, and registers and so on. There
is a possible exception of the reserved register that is native to the
operating system. The executing program does not have any knowledge
regarding the dispatcher.
- For dispatcher a timed
interrupt is triggered. Here the program counter jumps to the address listed
in the BIOS interrupt. This marks the beginning of the execution of the
dispatch sub routine. The dispatcher then deals with the stacks and the
registers etc. of the program that raised the interrupt.
- Dispatcher like the other
programs consists of some sets of instructions that operate up on the
register of the current program. These instructions know everything of the
previously executed programs. Out of these, the first few instructions are
responsible for storing the state of the program.
- Dispatcher next determines
which program should be given the CPU next for executing. Now it deletes
all the statistics of the previously executed state and fills in the
details of the next process to be executed.
- Dispatcher jumps to the address
mentioned in the program counter and establishes a full context on the
processor.
Posted by
Sunflower
at
5/03/2013 06:00:00 PM
0
comments
Labels: Context, Control, CPU, Dispatch, Dispatcher, Execute, Location, Memory, Operating System, Process, Processor, program, Registers, Schedulers, Scheduling, Switching, Time, User, Values
|
| Subscribe by Email |
|