|
|
|
Re: Finding the interrupt vector of a given IRQ | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
On Mon, May 28, 2012 at 12:09 AM, Mark Farnell <mark.farnell@xxxxxxxxx> wrote: > This is for an assignment, where the student needs to write an > interrupt handler. > > Since the OS is run on a virtual machine, I need to find a way to > trigger the IRQ to let the students' interrupt handler to handle the > interrupt. What a stupid assignment! Assignments like this make only sense if you have real hardware... Anyway, create a timer (e.g struct timer_list) which calls your ISR. That's how people test their ISRs. -- Thanks, //richard _______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
[Newbies FAQ] [Linux Kernel Development] [IETF Annouce] [Git] [Networking] [Security] [Bugtraq] [Photo] [Yosemite] [MIPS Linux] [ARM Linux] [Linux Security] [Linux Networking] [Linux RAID] [Linux SCSI] [Linux ACPI]
![]() |
![]() |