SlideShare ist ein Scribd-Unternehmen logo
1 von 10
RTOS
LINUX2.6.X & LINUX2.6.24
BY:
J.SUDARSHANREDDY
ROII NO:117Y1A0425
1/25/2015J.SUDARSHANREDDY
TOPICS:
 INDRODUCTION
 REAL TIME LINUX FUNCTIONS
 LINUX HAS THE FOLLOWING FEATURES
 LINUX MODULES
 LINUX FUNCTIONS FOR THE SIGNAL,MULTITHREADING,SEMAPHORE AND MESSAGE QUEUE
INTERPROCESS COMMUNICATION
1/25/2015J.SUDARSHANREDDY
INTRODUCTION:
 Linux is increasingly used in embedded systems and real time enhancements of that
introduced As linux2.6.x
 The linux provide preemptive scheduling , high resolution timers and preemptive
interrupt service threads
 Linux latest version is linux 2.6.24 ,released in January 2008
 Reasons for the popularity of linux OS are that it is a freeware, device driver
feature,expandability of the kernel codes at runtime and has provision of registering
and deregistering device driver modules
 The modules are scheduled like the process Sections 10.3.1 and 10.3.2.

1/25/2015J.SUDARSHANREDDY
Real time linux functions :
 The os named linux is after linus Torvalds ,father of the linux os
 Embedded linux systems combine the linux kernel with a small set of free software
utilities
 The glibc is often replaced as the C standard library by less resource consuming
alternatives such as dietlibc ,uclibc or newlib
 Embedded linux application program makes the systems calls for the functions at a
kernel
 1.process management
 2.memory management EX (allocation,delocation )
 3.file system
 4.shared memory
 5.networking systems functions
 6.device control functions for any peripheral present into a system
 7.graphic editors for kernel configuration
 8.soft realtime scheduling
1/25/2015J.SUDARSHANREDDY
 The following are the three important classes of
devices in embedded linux:
 1.realtime linux scheduler has all functions as 0(1)functions:
Which means that size of input to a function and function run time are linearly correlated.
 2.the task scheduler supports spin lock (section 7.11) :
It is a preemptive scheduler.
 3.linux supports characters and block devices:
A device type can be a char device for example a parallel port , lcd matrix .
 The character acess is byte to byte and analogous to the access from and to a printer device.
 Systems call functions are also like an I/O device open (), close () write (), read (), functions.
1/25/2015J.SUDARSHANREDDY
 Linux has the following features useful for embedded system
design:
 1.linux is multiuser OS and supports user groups
 2.linux has root directory (represented by /sign)
 3.linux has large number of editor,file,directory,I/O commands .Each command can
Consists of a number of words .First word is command and remaining words are arguments .
 4. Linux has number of interfaces for users .For example X-WINDOWS for GUI and csh
 5.Process always creates as child process in the process that uses fork()function
 6.linux has modules for the character,block,socket,network device drivers and linux 2.6.x
Support 4095.
 7.Linux supports a module initialization,handeling of errors,prevention of un authorized port acess,
 8.The linux OS supports registering of the driver configuration and functions
 9.The linux kernel use of sequential acess ,specific memory address only by the registering
and de registering mechanisam.
1/25/2015J.SUDARSHANREDDY
Registering and de registering and related
functions of linux modules :
 init :
 Insmod:
 Rmmod:
 Cleanup:
 Register-
capability:
 Unregister
capability:
 Register
symtab:
The init module()is called before the module is inserted into the kernel
Inserts module into the linux kernel the object file module 1.0,inserts by
Command and insmod module 1.0
A module file module 1.0 is delated from the kernel by command and
rmmod module1.
A kernel level void function,which perform by action on an rmmod call from
the execution module .
A kernel level function for registering
A kernel level function for de register
A symbol table function support ,which exist an alternatively to declaring
functions .
1/25/2015J.SUDARSHANREDDY
 Linux has following feauters useful for
embedded system design:
 1.Linux 2.6.x all tasks are assigned static priorities between -19 to +20 .time
slicies are varied as per priority
 2.Realtime linux 2.6.24 a latest realease supports a new set of group scheduling
functions,Which improves cups load
 3.Linux 2.6.24 provides high resolution timers as well as tick less timer
 4.Linux 2.6.24 supports functions to improve system performance by restricting
the block device from teaking larger cu load
1/25/2015J.SUDARSHANREDDY
Linux functions
Features
 1.thread properties:
 2.signal functions:
 3.thread functions:
 4.Semaphore
functions
 5.Mutex functions
Description
1.Threads of same process share the memory space and manage acess
premises
1.Struct sigaction signal 1;/*statement in c defines a struacture signal1 .*/
Signal1 .sa-flags=0;/*sets flags=0*/
1.Pthread-self();/*reaturns gets id of the function pthread-self calling
thread self */
2.();/*sends ‘kill’ signal to the thread*/
1.Sem-wait (&sem1);/*wait for the semaphore sem1*/
2.Sem-post (&sem1)/*post the semaphore sem1*/
1.Pthread –mutex-lock();the argument is mutex ms1or ms2 or other*/
2.Pthread –mutex-unlock();the argument is mutex ms1or ms2 or other*/
1/25/2015J.SUDARSHANREDDY
THANK YOU
1/25/2015J.SUDARSHANREDDY

Weitere ähnliche Inhalte

Was ist angesagt?

Real Time Kernels
Real Time KernelsReal Time Kernels
Real Time Kernels
Arnav Soni
 

Was ist angesagt? (20)

Real Time Application Interface for Linux
Real Time Application Interface for LinuxReal Time Application Interface for Linux
Real Time Application Interface for Linux
 
INTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLS
INTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLSINTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLS
INTERRUPT ROUTINES IN RTOS EN VIRONMENT HANDELING OF INTERRUPT SOURCE CALLS
 
RTAI - Earliest Deadline First
RTAI - Earliest Deadline FirstRTAI - Earliest Deadline First
RTAI - Earliest Deadline First
 
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V Real Time Operating System (RTOS)
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V  Real Time Operating System (RTOS)SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V  Real Time Operating System (RTOS)
SYBSC IT SEM IV EMBEDDED SYSTEMS UNIT V Real Time Operating System (RTOS)
 
Real time operating system
Real time operating systemReal time operating system
Real time operating system
 
Real Time Operating Systems
Real Time Operating SystemsReal Time Operating Systems
Real Time Operating Systems
 
RTOS - Real Time Operating Systems
RTOS - Real Time Operating SystemsRTOS - Real Time Operating Systems
RTOS - Real Time Operating Systems
 
Chapter 19 - Real Time Systems
Chapter 19 - Real Time SystemsChapter 19 - Real Time Systems
Chapter 19 - Real Time Systems
 
Real-Time Operating Systems
Real-Time Operating SystemsReal-Time Operating Systems
Real-Time Operating Systems
 
Rtos
RtosRtos
Rtos
 
ucOS
ucOSucOS
ucOS
 
Rtos concepts
Rtos conceptsRtos concepts
Rtos concepts
 
RTOS
RTOSRTOS
RTOS
 
Real time operating systems (rtos) concepts 1
Real time operating systems (rtos) concepts 1Real time operating systems (rtos) concepts 1
Real time operating systems (rtos) concepts 1
 
Rtos part2
Rtos part2Rtos part2
Rtos part2
 
The survey on real time operating systems (1)
The survey on real time operating systems (1)The survey on real time operating systems (1)
The survey on real time operating systems (1)
 
RTOS implementation
RTOS implementationRTOS implementation
RTOS implementation
 
Real Time Kernels
Real Time KernelsReal Time Kernels
Real Time Kernels
 
Rtos 2
Rtos 2Rtos 2
Rtos 2
 
How to choose an RTOS?
How to choose an RTOS?How to choose an RTOS?
How to choose an RTOS?
 

Ähnlich wie RTOS LINUX2.6.X & LINUX2.6.24

Ch20 OS
Ch20 OSCh20 OS
Ch20 OS
C.U
 
Linux architecture
Linux architectureLinux architecture
Linux architecture
mcganesh
 

Ähnlich wie RTOS LINUX2.6.X & LINUX2.6.24 (20)

OS_Ch20
OS_Ch20OS_Ch20
OS_Ch20
 
OSCh20
OSCh20OSCh20
OSCh20
 
Ch20 OS
Ch20 OSCh20 OS
Ch20 OS
 
Ch22
Ch22Ch22
Ch22
 
Studienarb linux kernel-dev
Studienarb linux kernel-devStudienarb linux kernel-dev
Studienarb linux kernel-dev
 
3CS LSP UNIT 1-1.pdf
3CS LSP UNIT 1-1.pdf3CS LSP UNIT 1-1.pdf
3CS LSP UNIT 1-1.pdf
 
ch20.ppt
ch20.pptch20.ppt
ch20.ppt
 
Assignment On Linux Unix Life Cycle And Its Commands Course Title System Pro...
Assignment On Linux Unix Life Cycle And Its Commands Course Title  System Pro...Assignment On Linux Unix Life Cycle And Its Commands Course Title  System Pro...
Assignment On Linux Unix Life Cycle And Its Commands Course Title System Pro...
 
Cs8493 unit 5
Cs8493 unit 5Cs8493 unit 5
Cs8493 unit 5
 
Unit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B Kute
Unit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B KuteUnit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B Kute
Unit 6 Operating System TEIT Savitribai Phule Pune University by Tushar B Kute
 
CS8493-OS-Unit-5.pdf
CS8493-OS-Unit-5.pdfCS8493-OS-Unit-5.pdf
CS8493-OS-Unit-5.pdf
 
Linux@assignment ppt
Linux@assignment pptLinux@assignment ppt
Linux@assignment ppt
 
Redhat Linux server administration industrial training report.
Redhat Linux server administration industrial training report.Redhat Linux server administration industrial training report.
Redhat Linux server administration industrial training report.
 
Nguyen lyhedieuhanh 14-15_hedieuhanhlinux
Nguyen lyhedieuhanh 14-15_hedieuhanhlinuxNguyen lyhedieuhanh 14-15_hedieuhanhlinux
Nguyen lyhedieuhanh 14-15_hedieuhanhlinux
 
Linux
LinuxLinux
Linux
 
Linux architecture
Linux architectureLinux architecture
Linux architecture
 
linux os-basics,Devops training in Hyderabad
linux os-basics,Devops training in Hyderabadlinux os-basics,Devops training in Hyderabad
linux os-basics,Devops training in Hyderabad
 
Os file
Os fileOs file
Os file
 
Introduction to Linux Kernel
Introduction to Linux KernelIntroduction to Linux Kernel
Introduction to Linux Kernel
 
Chapter 21 - The Linux System
Chapter 21 - The Linux SystemChapter 21 - The Linux System
Chapter 21 - The Linux System
 

Mehr von JOLLUSUDARSHANREDDY

Mehr von JOLLUSUDARSHANREDDY (20)

MEMORY MANAGEMENT
MEMORY MANAGEMENTMEMORY MANAGEMENT
MEMORY MANAGEMENT
 
Os security issues
Os security issuesOs security issues
Os security issues
 
OSEK / VDX
OSEK / VDXOSEK / VDX
OSEK / VDX
 
DEVICE FILE AND INPUT OUTPUT SUBSYSTEMS MANAGEMENT
DEVICE FILE AND INPUT OUTPUT SUBSYSTEMS MANAGEMENTDEVICE FILE AND INPUT OUTPUT SUBSYSTEMS MANAGEMENT
DEVICE FILE AND INPUT OUTPUT SUBSYSTEMS MANAGEMENT
 
INTERRUPT LATENCY AND RESPONSE OF THE TASK
INTERRUPT LATENCY AND RESPONSE OF THE TASKINTERRUPT LATENCY AND RESPONSE OF THE TASK
INTERRUPT LATENCY AND RESPONSE OF THE TASK
 
Rt linux-lab1
Rt linux-lab1Rt linux-lab1
Rt linux-lab1
 
RTOS MICRO CONTROLLER OPERATING SYSTEM-2
RTOS MICRO CONTROLLER OPERATING SYSTEM-2RTOS MICRO CONTROLLER OPERATING SYSTEM-2
RTOS MICRO CONTROLLER OPERATING SYSTEM-2
 
WINDOWS-CE
WINDOWS-CEWINDOWS-CE
WINDOWS-CE
 
Automated system for fault analysis in industries using
Automated system for fault analysis  in industries usingAutomated system for fault analysis  in industries using
Automated system for fault analysis in industries using
 
CASE STUDY OF DIGITAL CAMERA HARDWARE AND SOFT WARE ARCHITECTURECASE STUDY OF...
CASE STUDY OF DIGITAL CAMERAHARDWARE AND SOFT WAREARCHITECTURECASE STUDY OF...CASE STUDY OF DIGITAL CAMERAHARDWARE AND SOFT WAREARCHITECTURECASE STUDY OF...
CASE STUDY OF DIGITAL CAMERA HARDWARE AND SOFT WARE ARCHITECTURECASE STUDY OF...
 
SOLAR TRACKING SYSTEM BY USING MICROCONTROLLER
 SOLAR  TRACKING  SYSTEM  BY  USING  MICROCONTROLLER SOLAR  TRACKING  SYSTEM  BY  USING  MICROCONTROLLER
SOLAR TRACKING SYSTEM BY USING MICROCONTROLLER
 
Zigbee Based Solar Light System By Using LDR
Zigbee Based Solar Light System By Using LDRZigbee Based Solar Light System By Using LDR
Zigbee Based Solar Light System By Using LDR
 
Design of smart nodes for wireless sensor network ...
Design of smart nodes for wireless sensor network                            ...Design of smart nodes for wireless sensor network                            ...
Design of smart nodes for wireless sensor network ...
 
ATM USER ACCOUNT SECURE BY USING GSM TECHNOLOGY
ATM USER ACCOUNTSECURE BYUSING GSM TECHNOLOGYATM USER ACCOUNTSECURE BYUSING GSM TECHNOLOGY
ATM USER ACCOUNT SECURE BY USING GSM TECHNOLOGY
 
BOMB DETECTION ROBOT BY USING GSM & GPS
BOMB DETECTION ROBOT BY USING GSM & GPSBOMB DETECTION ROBOT BY USING GSM & GPS
BOMB DETECTION ROBOT BY USING GSM & GPS
 
STUDENT DATA LOGGING SYSTEM INTO COLLEGE WEBSITE BASED ON RFID
STUDENT DATA LOGGING SYSTEM INTO COLLEGE WEBSITE BASED ON RFIDSTUDENT DATA LOGGING SYSTEM INTO COLLEGE WEBSITE BASED ON RFID
STUDENT DATA LOGGING SYSTEM INTO COLLEGE WEBSITE BASED ON RFID
 
SOLAR BASED MOBILE CHARGER IN RURAL AREAS
SOLAR BASED MOBILE CHARGER IN RURAL AREASSOLAR BASED MOBILE CHARGER IN RURAL AREAS
SOLAR BASED MOBILE CHARGER IN RURAL AREAS
 
MOBILE MONITORNG SYSTEM FOR SMART HOMES
MOBILE  MONITORNG  SYSTEM FOR SMART HOMES MOBILE  MONITORNG  SYSTEM FOR SMART HOMES
MOBILE MONITORNG SYSTEM FOR SMART HOMES
 
wireless security control system and sensor network for smoke and fire detection
wireless security control system and sensor network for smoke and fire detectionwireless security control system and sensor network for smoke and fire detection
wireless security control system and sensor network for smoke and fire detection
 
ACCIDENTAL PROTECTION BY AUTOMATIC BREAKS AND RELEASE OF AIRBAG USING GPS,GSM...
ACCIDENTAL PROTECTION BY AUTOMATIC BREAKS AND RELEASE OF AIRBAG USING GPS,GSM...ACCIDENTAL PROTECTION BY AUTOMATIC BREAKS AND RELEASE OF AIRBAG USING GPS,GSM...
ACCIDENTAL PROTECTION BY AUTOMATIC BREAKS AND RELEASE OF AIRBAG USING GPS,GSM...
 

Kürzlich hochgeladen

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Kürzlich hochgeladen (20)

Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 

RTOS LINUX2.6.X & LINUX2.6.24

  • 1. RTOS LINUX2.6.X & LINUX2.6.24 BY: J.SUDARSHANREDDY ROII NO:117Y1A0425 1/25/2015J.SUDARSHANREDDY
  • 2. TOPICS:  INDRODUCTION  REAL TIME LINUX FUNCTIONS  LINUX HAS THE FOLLOWING FEATURES  LINUX MODULES  LINUX FUNCTIONS FOR THE SIGNAL,MULTITHREADING,SEMAPHORE AND MESSAGE QUEUE INTERPROCESS COMMUNICATION 1/25/2015J.SUDARSHANREDDY
  • 3. INTRODUCTION:  Linux is increasingly used in embedded systems and real time enhancements of that introduced As linux2.6.x  The linux provide preemptive scheduling , high resolution timers and preemptive interrupt service threads  Linux latest version is linux 2.6.24 ,released in January 2008  Reasons for the popularity of linux OS are that it is a freeware, device driver feature,expandability of the kernel codes at runtime and has provision of registering and deregistering device driver modules  The modules are scheduled like the process Sections 10.3.1 and 10.3.2.  1/25/2015J.SUDARSHANREDDY
  • 4. Real time linux functions :  The os named linux is after linus Torvalds ,father of the linux os  Embedded linux systems combine the linux kernel with a small set of free software utilities  The glibc is often replaced as the C standard library by less resource consuming alternatives such as dietlibc ,uclibc or newlib  Embedded linux application program makes the systems calls for the functions at a kernel  1.process management  2.memory management EX (allocation,delocation )  3.file system  4.shared memory  5.networking systems functions  6.device control functions for any peripheral present into a system  7.graphic editors for kernel configuration  8.soft realtime scheduling 1/25/2015J.SUDARSHANREDDY
  • 5.  The following are the three important classes of devices in embedded linux:  1.realtime linux scheduler has all functions as 0(1)functions: Which means that size of input to a function and function run time are linearly correlated.  2.the task scheduler supports spin lock (section 7.11) : It is a preemptive scheduler.  3.linux supports characters and block devices: A device type can be a char device for example a parallel port , lcd matrix .  The character acess is byte to byte and analogous to the access from and to a printer device.  Systems call functions are also like an I/O device open (), close () write (), read (), functions. 1/25/2015J.SUDARSHANREDDY
  • 6.  Linux has the following features useful for embedded system design:  1.linux is multiuser OS and supports user groups  2.linux has root directory (represented by /sign)  3.linux has large number of editor,file,directory,I/O commands .Each command can Consists of a number of words .First word is command and remaining words are arguments .  4. Linux has number of interfaces for users .For example X-WINDOWS for GUI and csh  5.Process always creates as child process in the process that uses fork()function  6.linux has modules for the character,block,socket,network device drivers and linux 2.6.x Support 4095.  7.Linux supports a module initialization,handeling of errors,prevention of un authorized port acess,  8.The linux OS supports registering of the driver configuration and functions  9.The linux kernel use of sequential acess ,specific memory address only by the registering and de registering mechanisam. 1/25/2015J.SUDARSHANREDDY
  • 7. Registering and de registering and related functions of linux modules :  init :  Insmod:  Rmmod:  Cleanup:  Register- capability:  Unregister capability:  Register symtab: The init module()is called before the module is inserted into the kernel Inserts module into the linux kernel the object file module 1.0,inserts by Command and insmod module 1.0 A module file module 1.0 is delated from the kernel by command and rmmod module1. A kernel level void function,which perform by action on an rmmod call from the execution module . A kernel level function for registering A kernel level function for de register A symbol table function support ,which exist an alternatively to declaring functions . 1/25/2015J.SUDARSHANREDDY
  • 8.  Linux has following feauters useful for embedded system design:  1.Linux 2.6.x all tasks are assigned static priorities between -19 to +20 .time slicies are varied as per priority  2.Realtime linux 2.6.24 a latest realease supports a new set of group scheduling functions,Which improves cups load  3.Linux 2.6.24 provides high resolution timers as well as tick less timer  4.Linux 2.6.24 supports functions to improve system performance by restricting the block device from teaking larger cu load 1/25/2015J.SUDARSHANREDDY
  • 9. Linux functions Features  1.thread properties:  2.signal functions:  3.thread functions:  4.Semaphore functions  5.Mutex functions Description 1.Threads of same process share the memory space and manage acess premises 1.Struct sigaction signal 1;/*statement in c defines a struacture signal1 .*/ Signal1 .sa-flags=0;/*sets flags=0*/ 1.Pthread-self();/*reaturns gets id of the function pthread-self calling thread self */ 2.();/*sends ‘kill’ signal to the thread*/ 1.Sem-wait (&sem1);/*wait for the semaphore sem1*/ 2.Sem-post (&sem1)/*post the semaphore sem1*/ 1.Pthread –mutex-lock();the argument is mutex ms1or ms2 or other*/ 2.Pthread –mutex-unlock();the argument is mutex ms1or ms2 or other*/ 1/25/2015J.SUDARSHANREDDY