In one embodiment of the invention, an embedded controller receives an
interrupt command and a query number from a system management interrupt
(SMI) handler. The embedded controller generates a system control
interrupt (SCI) in response to the interrupt command. A driver that
receives the SCI issues a query command to the embedded controller. A
routine associated with the query number is invoked in response to the
query command.