software interrupts

Hi All,

I am interested in finding out how to install software interrupts that can
be called from user mode. I have looked at the documentation and it seems
that the only functions that are used for setting up interrupt service
routines are those that are used for hardware devices. Such as
IoConnectInterrupt. I am trying to learn how one could hook interrupts and
set others up. Is there any good resources on doing this?

Thanks for your help,

Paul Beaulieu


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

> I am interested in finding out how to install software interrupts that can

be called from user mode.

For what? Are IOCTL calls bad?

Max

Hi,

Mainly for the purpose of knowing how to do it. To see if it is possible
and could be used just like the Native Windows API uses them to call kernel
code.

Thanks,

Paul Beaulieu

-----Original Message-----
From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
Sent: Tuesday, March 05, 2002 10:56 PM
To: NT Developers Interest List
Subject: [ntdev] Re: software interrupts

I am interested in finding out how to install software interrupts that can
be called from user mode.

For what? Are IOCTL calls bad?

Max


You are currently subscribed to ntdev as: xxxxx@rational.com
To unsubscribe send a blank email to %%email.unsub%%

At 04.56 06/03/2002, you wrote:

> I am interested in finding out how to install software interrupts that can
> be called from user mode.
For what? Are IOCTL calls bad?

maybe to avoid the overhead of the I/O manager, maybe just for curiosity.
There’s a good discussion about this in the book “Undocumented Windows NT”,
which is freely available online, at http://www.windowsitlibrary.com/

This is one of those don’t go there, but if you must questions. Not
exactly the answer to the question, but you might look at
http://www.cmkrnl.com/arc-newint2e.html

Don Burn
Windows 2000/XP Filesystem and Driver consulting

Good discution about interrupts there ? maybe … But I dont think so :stuck_out_tongue: .
Those guys really missinterpret a lot about NT.

Regards , Dan

----- Original Message -----
From: “KJK::Hyperion”
To: “NT Developers Interest List”
Sent: Wednesday, March 06, 2002 7:07 PM
Subject: [ntdev] Re: software interrupts

> At 04.56 06/03/2002, you wrote:
> > > I am interested in finding out how to install software interrupts that
can
> > > be called from user mode.
> >For what? Are IOCTL calls bad?
>
> maybe to avoid the overhead of the I/O manager, maybe just for curiosity.
> There’s a good discussion about this in the book “Undocumented Windows
NT”,
> which is freely available online, at http://www.windowsitlibrary.com/
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@rdsor.ro
> To unsubscribe send a blank email to %%email.unsub%%
>

Hook the IDT , watch out for SMP issues, it’s tricky. Define your own
service interface , read IA32 Manuals regarding IOAPIC and Interrupt
priority & assignemnt to avoid conflicts on SMP systems .

Regards , Dan

----- Original Message -----
From: “Beaulieu, Paul”
To: “NT Developers Interest List”
Sent: Wednesday, March 06, 2002 7:08 PM
Subject: [ntdev] Re: software interrupts

> Hi,
>
> Mainly for the purpose of knowing how to do it. To see if it is possible
> and could be used just like the Native Windows API uses them to call
kernel
> code.
>
> Thanks,
>
> Paul Beaulieu
>
> -----Original Message-----
> From: Maxim S. Shatskih [mailto:xxxxx@storagecraft.com]
> Sent: Tuesday, March 05, 2002 10:56 PM
> To: NT Developers Interest List
> Subject: [ntdev] Re: software interrupts
>
>
> > I am interested in finding out how to install software interrupts that
can
> > be called from user mode.
>
> For what? Are IOCTL calls bad?
>
> Max
>
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@rational.com
> To unsubscribe send a blank email to %%email.unsub%%
>
> —
> You are currently subscribed to ntdev as: xxxxx@rdsor.ro
> To unsubscribe send a blank email to %%email.unsub%%
>