Re: Need help in understanding x86 syscall

From: Bodo Eggert
Date: Fri Aug 12 2005 - 06:30:12 EST


On Thu, 11 Aug 2005, Zwane Mwaikambo wrote:
> On Thu, 11 Aug 2005, Steven Rostedt wrote:
> > On Thu, 2005-08-11 at 13:46 -0400, linux-os (Dick Johnson) wrote:

> > int is a call to either an interrupt or exception procedure. 0x80 is
> > setup in Linux to be a trap and not an interrupt vector. So it does
> > _not_ turn off interrupts.
>
> It's actually a vector, that's all you can install in the IDT.

It's a vector + metadata, most noticably a privilege level and a
descriptor type.

http://www.acm.uiuc.edu/sigops/roll_your_own/i386/idt.html

--
Top 100 things you don't want the sysadmin to say:
47. Say, What does "Superblock Error" mean, anyhow?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/