Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

does Linux block ports and interrupts for user programs use ?

share|improve this question

closed as not a real question by Tom Wijsman, Journeyman Geek, Paul, bwDraco, slhck Jul 19 '12 at 1:58

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

up vote 1 down vote accepted

The only interrupt a non-kernel program should be using is int 0x80, which is the interrupt to request one of the system calls listed in /usr/include/sys/syscall.h. If you want to directly interact with hardware interrupts, this should be done inside a kernel module. A good introduction to Assembly on a Linux system. This thread should also be useful for you.

share|improve this answer
As noted in the LinuxQuestions thread I linked to, a program like or will do the same interrupt emulation that windows provides for assembly programs (even with windows you are not really using interrupts, but getting pseudo-interrupts though an emulator). – Justin Smith Feb 21 '10 at 15:41

Not the answer you're looking for? Browse other questions tagged or ask your own question.