摘要 |
<p>A system and method securely transfer control to a system management mode (SMM) in response to an SMI by referencing the address of a calling instruction that generated the SMI with a dispatch table only visible in SMM. The entries in the dispatch table provide links between the calling instruction and its target function. To create the dispatch table, a macro can be inserted in the source code of a software product being built that designates a target function. During compilation, the inserted macro is located, and an entry is created linking the calling instruction and the target function. The calling instruction in the final software product provides no indication of the address of the target function.</p> |