Professional Documents
Culture Documents
MODULE-6
SYLLABUS
Real time operating systems - Services- Goals – Structures - Kernel - Process Management –
Memory Management – Device Management – File System Organization.
KTUStudents.in
Micro C/OS-II RTOS - System Level Functions – Task Service Functions – Memory Allocation
Related Functions – Semaphore Related Functions.
Study of other popular Real Time Operating Systems.
RTOS
➢ A real time operating system (RTOS) is multitasking operation system for the
applications with hard or soft real time constraints
➢ Real-time constraint means constraint on occurrence of an event and system expected
response and latency to the event.
KTUStudents.in
6.2 Structures
KTUStudents.in
KTUStudents.in
➢ Process manager is a unit of the OS that is the entity responsible for controlling the
process execution.
➢ Process management enables the process creation, activation, running, blocking,
resumption, deactivation and deletion.
Memory allocation
➢ When a process is created, the memory manager allocates the memory addresses
(blocks) to it by mapping the process address space.
➢ Threads of a process share the memory space of the process.
KTUStudents.in
➢ Table below gives the memory management strategy.
KTUStudents.in
For the
➢ Table below gives more
setstudy
of OSmaterials:
commandWWW.KTUSTUDENTS.IN
functions for a device.
6.7 File System Organization
➢ A file is a named entity on a magnetic disc, or optical disc, or system memory or
memory stick
➢ File contains the data, characters and text.
KTUStudents.in
disk, having random access in the system.
ii) May be a structured record on a RAM analogous to a disk and may also be
either separately called as ‘RAM disk’or simply, as a ‘file’ itself (virtual device).
iii) May be an unstructured record of bits or bytes.
iv) A file device may be a pipe -like device
➢ File is organized in a way according to a file system, which has set of command
functions for operations on the file.
➢ Table below gives these functions for POSIX file system.
KTUStudents.in
➢ Service functions mean the functions to task create, suspend and resume, and
time setting and time retrieving functions.
KTUStudents.in
1. Creating a task: Unsigned byte OSTaskCreate (void(*task) (void *taskPointer),
void*pmdata, OS_STK*taskStackPointer, unsigned byte taskPriority) is a
function called for creating a task.
KTUStudents.in