Re: Linux interrupt
From: Park Sung-jae (darkpgm_at_kornet.net)
Date: 10/30/05
- Next message: Pascal Bourguignon: "Re: ioctl BLKGETSIZE /dev/md0 produces Permission denied error for non root"
- Previous message: Anand: "Kernel Sockets over User Land Sockets"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 30 Oct 2005 22:59:48 +0900
Peter wrote:
> Hi all:
> I read some articles about Linux interrupt mechanism. but I still
> don't know clearly the handling process when interrupt happens. Maybe I
> don't familiar with some hardwares interrupting refered to, such as
> IRQ, PIC... a hardware associated with a device(interrupt controler?),
> and so on. could somebody instruct me on these topics or some learning
> advices? I've confused them for some days.
> Thanks.
>
hi.
What kind of interrupt do you want to know?
system call?
trap?
nmi?
and, is that machine based on x86?
if that machine is based on x86, you can get the manual for x86. intel
supports them for the developer.(also you can get the other machine's
manual from there own publisher)
here I have some explains for you..
first,.
all interrupts are registered in IDT.
its base addres is stored in "idtr" register,. you can read that
register in the ring0, using "sidt" instruction.
the first entry of IDT is "Divide error EXCEPTION"
it is an interrupt of s/w
..
if you want to know more detail information.
I recommend to you to trying to get the manual for your machine..(CPU)
- Next message: Pascal Bourguignon: "Re: ioctl BLKGETSIZE /dev/md0 produces Permission denied error for non root"
- Previous message: Anand: "Kernel Sockets over User Land Sockets"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|