Hi Anish,
On Sat, Oct 20, 2012 at 9:38 AM, anish kumar wrote:
> On Fri, 2012-10-19 at 10:34 +0530, Arun KS wrote:
> > Hi Anish,
> >
> > On Mon, May 28, 2012 at 9:16 AM, anish singh
> > wrote:
> > On Mon, May 28, 2012 at 2:57 AM, richard -rw- weinberger
> > wrote:
> > > O
On Fri, 2012-10-19 at 10:34 +0530, Arun KS wrote:
> Hi Anish,
>
> On Mon, May 28, 2012 at 9:16 AM, anish singh
> wrote:
> On Mon, May 28, 2012 at 2:57 AM, richard -rw- weinberger
> wrote:
> > On Sun, May 27, 2012 at 2:02 AM, Mark Farnell
> wrote:
> >> In
Hi Anish,
On Mon, May 28, 2012 at 9:16 AM, anish singh wrote:
> On Mon, May 28, 2012 at 2:57 AM, richard -rw- weinberger
> wrote:
> > On Sun, May 27, 2012 at 2:02 AM, Mark Farnell
> wrote:
> >> In the kernel, how can I find out the interrupt vector number of a
> >> given IRQ (for example, IRQ7)
Finally got it working...
First, at the kernel source, you need to go to:
arch/x86/include/asm/irq_vectors.h
to find out which interrupt vector your IRQ is mapped to (replace x86
with your architechure, but for this purpose, amd64 also falls into
x86).
Then within the kernel space (i.e. in
Hi..
On Mon, May 28, 2012 at 5:09 AM, Mark Farnell 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
On Mon, May 28, 2012 at 12:09 AM, Mark Farnell 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.
Wh
On Mon, May 28, 2012 at 2:57 AM, richard -rw- weinberger
wrote:
> On Sun, May 27, 2012 at 2:02 AM, Mark Farnell wrote:
>> In the kernel, how can I find out the interrupt vector number of a
>> given IRQ (for example, IRQ7)?
>>
>> Within the kernel module, I would like to manually set the IRQ using
AKAIK I think is possible. For example int 3 in x86 is actually an
interrupt so to say. I don't want to go in other details about exception vs
interrupts and stack saving. But in short you can achieve what you are
trying here.
Search for breakpoint handler probably in entry.S and from the trace ba
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.
On Mon, May 28, 2012 at 9:27 AM, richard -rw- weinberger
wrote:
On Sun, May 27, 2012 at 2:02 AM, Mark Farnell wrote:
> In the kernel, how can I find out the interrupt vector number of a
> given IRQ (for example, IRQ7)?
>
> Within the kernel module, I would like to manually set the IRQ using
> the assembly code:
>
> asm("int $");
>
> and let the IRQ handler ins
In the kernel, how can I find out the interrupt vector number of a
given IRQ (for example, IRQ7)?
Within the kernel module, I would like to manually set the IRQ using
the assembly code:
asm("int $");
and let the IRQ handler installed by a different module catch that interrupt.
Is this possible?
11 matches
Mail list logo