1. A method comprising: receiving an interrupt command and a query number from a system management interrupt (SMI) handler by an embedded controller; generating a system control interrupt (SCI) in response to the interrupt command; and invoking a routine associated with the query number in response to a query command issued by a driver that receives the SCI.