Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C > Re: Installing ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 15 of 17 Topic 26124 of 26955
Post > Topic >>

Re: Installing a C function into the IDT

by Antoninus Twink <nospam@[EMAIL PROTECTED] > May 9, 2008 at 02:58 PM

On  8 May 2008 at 23:17, Jens Thoms Toerring wrote:
> I don't know about Windows but I am rather sure that Linux won't
> let you get at something that essential for the systems health
> from a userland program

Right - it's just not possible in user space. There's a good piece about
installing interrupt handlers in a Linux kernel module in Chapter 9 of
"Linux Device Drivers", which seems to be available online:
http://www.xml.com/ldd/chapter/book/ch09.html

Of course the OP's idea is completely crazy, for all the reasons people
have described, but it sounds like he's motivated by curiosity and
"learning by doing" rather than trying to use interrupt-based exception
handling in a serious program, and that's no bad thing. If he googles
around a bit, there are lots of people interested in userspace device
drivers, and particularly how to poll to see whether an interrupt has
occurred by having the kernel communicate that information to userspace
programs through the /proc filesystem.
 




 17 Posts in Topic:
Installing a C function into the IDT
The Prisoner <nospam@[  2008-05-08 21:47:34 
Re: Installing a C function into the IDT
jacob navia <jacob@[EM  2008-05-08 23:00:44 
Re: Installing a C function into the IDT
The Prisoner <nospam@[  2008-05-08 22:34:27 
Re: Installing a C function into the IDT
Ian Collins <ian-news@  2008-05-09 09:42:17 
Re: Installing a C function into the IDT
Keith Thompson <kst-u@  2008-05-08 15:17:31 
Re: Installing a C function into the IDT
Keith Thompson <kst-u@  2008-05-08 15:31:59 
Re: Installing a C function into the IDT
Ian Collins <ian-news@  2008-05-09 10:46:21 
Re: Installing a C function into the IDT
Erik Trulsson <ertr101  2008-05-08 23:58:43 
Re: Installing a C function into the IDT
jt@[EMAIL PROTECTED] (Je  2008-05-08 22:14:45 
Re: Installing a C function into the IDT
Keith Thompson <kst-u@  2008-05-08 15:23:50 
Re: Installing a C function into the IDT
The Prisoner <nospam@[  2008-05-08 23:29:32 
Re: Installing a C function into the IDT
Ian Collins <ian-news@  2008-05-09 10:51:44 
Re: Installing a C function into the IDT
jt@[EMAIL PROTECTED] (Je  2008-05-08 23:17:28 
Re: Installing a C function into the IDT
"cr88192" <c  2008-05-09 16:33:26 
Re: Installing a C function into the IDT
Antoninus Twink <nospa  2008-05-09 14:58:07 
Re: Installing a C function into the IDT
Ben Bacarisse <ben.use  2008-05-09 00:46:39 
Re: Installing a C function into the IDT
Owen Jacobson <angryba  2008-05-08 22:01:14 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Jul 24 2:48:41 CDT 2008.