Re: Timer Interrupt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 25, 2002 at 04:14:20PM -0700, Tom Bradley wrote:
> I am playing with the GazOS. Learning to program the PIC and PIT. However I 
> am having a problem. The ISR function isn't being called when the PIT sends a 
> tick (this is his code I am trying to fix.) Linux books say the interrupt is 
> int '0x20'. I read some manuals about the PIT and they say it is 'int 0x8', 
> but don't use it because that ISR calls 'int 0x1C', but the GazOS originally 
> used 'int 0x64' to try and catch timer interrupts. The IDT is setup properly, 
> because other interrupts are working. I just can't get this one working. What 
> is the correct interrupt to responsed to?

As I understand it the PIT generates interrupt 0 and that's fixed. The
PIC is then programmed with an offset to add to interrupt numbers.

For more details, see:

ftp://download.intel.com/support/controllers/peripheral/231468.pdf

and the somewhat more useful

ftp://download.intel.com/design/chipsets/datashts/29068702.pdf


Cheers,
Bill
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux