LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-29-2008, 10:27 PM   #1
Pakistan
LQ Newbie
 
Registered: Oct 2008
Posts: 2
Blog Entries: 1

Rep: Reputation: 0
Can we access Interrupt Vector Table in Linux ?


Hello ! I want to know can we access interrupt vector table in Linux. Can we access it directly with the help of pointers like in DOS or we can access IVT through System calls?
Secondly, just want to confirm that is IVT lies in System/ Kernel mode ?

Thanks
 
Old 10-29-2008, 11:27 PM   #2
normscherer
Member
 
Registered: Sep 2005
Location: Prescott, AZ
Distribution: Ubuntu Mate 18 LTS
Posts: 50

Rep: Reputation: 15
In Linux we use drivers and the kernel to handle things like that. They are not accessable in system mode and AFAIK there is no api to access from user land.
 
Old 10-29-2008, 11:28 PM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

You could look at '/proc/interrupts'. A good reference is 'Linux Kernel in a Nutshell'.

This link and others are available from 'Slackware-Links'. More than just SlackwareŽ links!
 
Old 10-30-2008, 12:08 AM   #4
Pakistan
LQ Newbie
 
Registered: Oct 2008
Posts: 2

Original Poster
Blog Entries: 1

Rep: Reputation: 0
I am digressing a little bit. Is it true that we can access and modify the IVT in DOS?
 
Old 10-30-2008, 11:05 AM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

With the Linux Kernel we use the 'Interrupt Descriptor Table' as a label for table of Interrupt Vectors. These descriptors (pointers) point to functions that handle a particular interrupt or event exception. These functions are called the interrupt or event handler. Within the table are indices of numbers that do identify events that will be handled by the functions within a area of memory to handle that event.

DOS cannot handle the interrupts in the same way as Linux can. One the shared interrupt cannot be handled by DOS like the single IVT it was designed around. This can get very intense to identify or class interrupts so I refer you to a well documented description; 'Interrupts Exceptions and Traps' tutorial.
 
  


Reply

Tags
ivt



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What is the difference between an IRQ and an interrupt vector? jbreaka4lyfe Linux - General 1 04-01-2008 07:20 AM
No wireless access Vector Linux pinoy101 Linux - Wireless Networking 0 08-26-2006 05:26 PM
when modify the int 80 interrupt vector i run into some questions qqrilxk Programming 1 04-18-2005 01:13 PM
look at how i modify the system call interrupt vector qqrilxk Programming 3 03-21-2005 01:13 AM
How to import MS ACCESS Table including OLE filed into the MySQL Table ? myunicom Linux - General 1 11-28-2003 11:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration