How to generate a #SMI?



How to generate a #SMI?

As we know, beginning with 80386, IA-32 processors provide three modes
of operation: 1, Real-address mode; 2, Protected mode; 3, System
management mode (SMM for short). According to the manuals of Intel,
there is only one way to enter SMM, which is through #SMI. But, I
wonder how the current process generates a SMI, because #SMI is an
external interrupt, and it cannot be generated by the instruction int
n.

To my thinking, the current process can use I/O instructions to do
this. Say, the system provides a special I/O port; This port is an
interface of an actual device. Upon the device detectes signal at the
given port, it generates a #SMI.

Am I right?

Many thanks in advance to those who can explain this for me.

.



Relevant Pages

  • Re: How to generate a #SMI?
    ... management mode (SMM for short). ... there is only one way to enter SMM, which is through #SMI. ... the system provides a special I/O port; ... only occurs on read or writes for the I/O port. ...
    (comp.lang.asm.x86)
  • Re: How to generate a #SMI?
    ... management mode (SMM for short). ... there is only one way to enter SMM, which is through #SMI. ... the system provides a special I/O port; ... If there's some process for which the hardware needs a few CPU cycles, no matter in what mode the CPU is running now, then it generates an SMI and the SMI handler does the necessary processing. ...
    (comp.lang.asm.x86)
  • How to generate a #SMI?
    ... How to generate a #SMI? ... management mode (SMM for short). ... the system provides a special I/O port; ...
    (microsoft.public.win32.programmer.kernel)
  • How to generate a #SMI?
    ... How to generate a #SMI? ... management mode (SMM for short). ... the system provides a special I/O port; ...
    (microsoft.public.development.device.drivers)
  • Re: How to generate a #SMI?
    ... areas that are otherwise protected and the System BIOS would ... to generate an SMI. ... the system provides a special I/O port; ... SMI on any system that supports ACPI. ...
    (comp.lang.asm.x86)