[comp.unix.internals] SOFTWARE Interrupts......

A.Jena@cs.ucl.ac.uk (Ajit Kumar Jena) (06/28/91)

Hi netters,

I am interested in writing a device driver for the network interface card
that sits on the 80386-based PC BUS. My UNIX version is SCO UNIX386.
When a packet arrives from the network, hardware interrupt is generated on
the IRQ2 line and I have coded the interrupt handler routine "lanintr". My
problem is to pass this data to the user process asynchronously.

I was reading about the SOFTWARE interrupt mechanism of 4.3BSD UNIX. How does
one generate it ? Is it the same as "psignal" system call ?

Please email me your tips, suggestions etc. 

Thanks in advance.

A.Jena@cs.ucl.ac.uk