Irq_remap doesn't work

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
miniBill
Posts: 2
Joined: Mon May 26, 2008 9:51 am

Irq_remap doesn't work

Post by miniBill »

I'm trying to remap irqs, using the code from the wiki, but it doesn't seem to work(keyboard is still generating interrupt 9)
Any idea?
http://svn.gna.org/viewcvs/clearos/trun ... iew=markup
the method that doesn't work is irq_remap
please help
iammisc
Member
Member
Posts: 269
Joined: Thu Nov 09, 2006 6:23 pm

Post by iammisc »

You should use a function such as io_wait that is described in the wiki: http://www.osdev.org/wiki/Inline_Assemb ... 2FO_access
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post by Combuster »

Irq's can only be mapped to multiples of 8. Neither 33 or 50 is that...
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
miniBill
Posts: 2
Joined: Mon May 26, 2008 9:51 am

Post by miniBill »

Ty all!!!
Post Reply