















































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
An introduction to Operating System (OS) course content. It covers the basics of OS, popular types of OS, computer architecture, process management, memory management, security and protection, user interface mechanism, and types of OS. It also explains the functions of the kernel, system calls, and booting process. useful for students studying computer science, information technology, or related fields.
Typology: Study notes
1 / 55
This page cannot be seen from the preview
Don't miss anything!
Accessing computer resources is divided into layers.
Each layer is isolated and only interacts directly with the layer below or above
it.
If we install a new hardware device
No need to change anything about the user/applications.
However, you do need to make changes to the operating system.
You need to install the device drivers that the operating system will use to
control the new device.
If we install a new software application
No need to make any changes to your hardware.
But we need to make sure the application is supported by the operating
system
user will need to learn how to use the new application.
If we change the operating system
Need to make sure that both applications and hardware will compatible
with the new operating system.
Computer
Architecture
Special busses (roads) connecting
all input/output devices to
motherboard.
This is like a desk, or a workspace, where your computer temporarily stores all of
the information (data) and instructions (software or program code) that it is
currently using.
Each RAM chip contains millions of address spaces.
Each address space is the same size, and has its own unique identifying number
(address).
The operating system provides the rules for using these memory spaces, and
controls storage and retrieval of information from RAM.
Device drivers for RAM chips are included with the operating system.
The User Mode is concerned with the actual
interface between the user and the system.
It controls things like running applications
and accessing files.
The Kernel Mode is concerned with everything
running in the background.
It controls things like accessing system
resources, controlling hardware functions and
processing program instructions.
System calls are used to change
mode from User to Kernel.
Kernel includes:-
processes.
resources to each process.
hardware devices which compete for kernel services.
kernel service.
kernel provides services for process management, file
management, I/O management, memory management.
System calls are used to provide these type of services.
System call is the programmatic way in which a computer
program/user application requests a service from the kernel of the
operating system on which it is executed.
Application program is just a user-process. Due to security reasons ,
user applications are not given access to privileged resources(the ones
controlled by OS).
When they need to do any I/O or have some more memory or spawn a
process or wait for signal/interrupt, it requests operating system to
facilitate all these. This request is made through System Call.
System calls are also called software-interrupts.
Read-Only Memory) chip known as firmware on the PC motherboard.
pressing del, F2 or F10.
for a boot-loader. (usually located in first sector of a disk which is 512
bytes)
computer to it.
with one basic difference: it stores all data about initialization and startup in an .efi file,
instead of storing it on the firmware.
This ESP partition also contains the bootloader.
UEFI supports drive sizes upto 9 zettabytes, whereas BIOS only supports 2.2 terabytes.
UEFI provides faster boot time.
UEFI has discrete driver support, while BIOS has drive support stored in its ROM, so updating BIOS
firmware is a bit difficult.
UEFI offers security like "Secure Boot", which prevents the computer from booting from
unauthorized/unsigned applications. This helps in preventing rootkits.
UEFI runs in 32bit or 64bit mode, whereas BIOS runs in 16bit mode. So UEFI is able to provide a GUI
(navigation with mouse) as opposed to BIOS which allows navigation only using the keyboard.
accomplish its task.
termination of a process are the most basic functionality of an OS
synchronization comes to the picture.
in memory area.
others.
stored in RAM will be erased automatically.
allow your computer to use a virtual memory system. Virtual memory allows your computer
to use part of a permanent storage device (such as a hard disk) as extra memory.
management:
Keep track of which parts of memory are currently being used and by whom.
Decide which processes to load when memory space becomes available.
Allocate and de-allocate memory space as needed.
interface between the CPU and the actual device.
controllers.
requests and prioritizes them to be forwarded to the processor.
needed by the other processes, and they are unwilling to give up control of the device.
Keeps tracks of all devices connected to system.
Designates a program responsible for every device known as Input/output controller.
Decides which process gets access to a certain device and for how long.
Allocates devices in an effective and efficient way.
Deallocates devices when they are no longer required.
and similar other techniques.
assigning access right permission to files and directories.
computer system may want to control use of that information,
concurrent processes should not interfere with each other.