LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 11: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-30-2008, 12:27 AM   #2
normscherer
Member
 
Registered: Sep 2005
Location: On the road
Distribution: Ubuntu 8.10
Posts: 44

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-30-2008, 12:28 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,601
Blog Entries: 25

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
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, 01:08 AM   #4
Pakistan
LQ Newbie
 
Registered: Oct 2008
Posts: 2
Blog Entries: 1

Original Poster
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, 12:05 PM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,601
Blog Entries: 25

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 08:20 AM
No wireless access Vector Linux pinoy101 Linux - Wireless Networking 0 08-26-2006 06:26 PM
when modify the int 80 interrupt vector i run into some questions qqrilxk Programming 1 04-18-2005 02:13 PM
look at how i modify the system call interrupt vector qqrilxk Programming 3 03-21-2005 02:13 AM
How to import MS ACCESS Table including OLE filed into the MySQL Table ? myunicom Linux - General 1 11-28-2003 12:30 PM


All times are GMT -5. The time now is 03:29 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration