1 / 7

CS30002: Operating Systems

CS30002: Operating Systems. ANIRUDDHA GUPTA 11CS10004 CLASS DATE : 13/01/2014. Booting Sequence. Booting Sequence. BIOS (Basic Input/Output System): Checks system integrity Loads and executes the boot Loader MBR (Master Boot Record): Knows whereis the OS and loads it

Download Presentation

CS30002: Operating Systems

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CS30002: Operating Systems ANIRUDDHA GUPTA 11CS10004 CLASS DATE : 13/01/2014

  2. Booting Sequence

  3. Booting Sequence • BIOS (Basic Input/Output System): • Checks system integrity • Loads and executes the boot Loader • MBR (Master Boot Record): • Knows whereis the OS and loads it • Occupies the first sector of the disk • Specifies the disk block numbers where second stage boot loader resides • MBR is not stored in the BIOS chip because it is a memory critical system and BIOS may not have enough memory to store the information in MBR • GRUB (Grand Unified Boot Loader): • Knows where and how many OS the machine has • Gives option to choose which OS kernel to load

  4. Execution of Operating System • Interrupt driven • Until an interrupt comes, OS remains idle • User program invokes OS code by generating interrupts, system calls • to perform some task reserved for OS • accessing I/O devices (read/write file) • On any software interrupt, it calls the appropriate ISR depending upon the interrupt number. The ISR is chosen from interrupt vector (ISR-Interrupt Service routine). • All ISRs are stored in the kernel.

  5. Operating System Operations • Must distinguish between • user level code and OS code • user mode and kernel mode • Mode bit provided by hardware • provides ability to distinguish when system is running user code or kernel code • system call changes mode to kernel, returns from call, resets when it is over. • Some instructions designated as privileged only executable in kernel mode.

  6. Operating System Operations • Some instructions designated as privileged, only executable in kernel mode.

  7. Operating System Operations • Switching between user mode and kernel mode is done by ISR • Shell and system calls provide an interface between OS and user (system calls => functions) gives us access to the modules of OS.

More Related