SMI Support

Does 6.0/6.1 kernel hook the System Management Interrupt (SMI)?
If not, how can I hook that interrupt?

Thank you
Jamal

In article <9m6d8l$9qo$1@inn.qnx.com>, jamal.benbrahim@igt.com says…

Does 6.0/6.1 kernel hook the System Management Interrupt (SMI)?
If not, how can I hook that interrupt?

Ya cain’t! (English: Normally, you cannot!)
That stupid (in some circumstances) interrupt is usually handled by the
BIOS (only). In fact Intel intended that the OS should never see, nor be
concerned with it. (Not a problem until you run tight RealTime and have
no way to turn off the ^%$%$# thing!)


Thank you
Jamal
\


Stephen Munnings
Software Developer
Corman Technologies Inc.

Jamal Benbrahim <jamal.benbrahim@igt.com> wrote:

Does 6.0/6.1 kernel hook the System Management Interrupt (SMI)?
If not, how can I hook that interrupt?

The SMI sit below the OS down at the hardware level. The OS does not “hook”
any SMI services, but a lot (if not all) the SMI services code is 16bit, thus
you may have a problem gaining access to it from a 32-bit protected OS.

Most BIOS’s setup the SMI w/ handlers (when the CPU is in real mode), and RTP
doesn’t support thunking 32-bit → 16bit for SMI.

-Adam
amallory@qnx.com

What about SMI in PPC ? I dont’t think there are supported becouse there is
not declaration in the file cpu.h. And, how to do if I’ve got a RTC
connected to SMI ?