Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

The many software interrupts of Linux

Name: Anonymous 2005-12-19 5:04

So I'm working on coverting a project over from a DOS/Windows environment to a Linux environment.  The issue is that there are some custom written interrupt handlers that are used in the project, INT 60h to be exact.  In the DOS/Windows environment, the advantage is that this is a free interrupt that can have the vector address changed without any concerns for f-ing the OS.  However, despite the open-source nature of Linux, I can't seem to find something as simple as a list of all the software interrupts and what they direct to for Linux.

To make a long story short, does anyone know the list of all software interrupts for Linux and what they do, or know of where on the web you find it?  Google is unfortunately not being my friend for this.

Name: Anonymous 2005-12-21 16:57

You never mentioned you're writing a device driver; in >>8 you had said you were writing some kind of process manager, and if that's the case, then you don't need to hook any interrupts.

If you are writing a device driver (i.e. a driver that controls hardware), you *may* want to use an IRQ (hardware interrupt), but you won't be using software interrupts (i.e. the ones in MS-DOS), and you won't be servicing anything through interrupts either. Software that uses your driver will have to call functions, not interrupts.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List