We are sorry, This PDF is available in download format only

® Intel Platform Innovation Framework for EFI System Management Mode Core Interface Specification (SMM CIS)

Version 0.9a November 19, 2003 System Management Mode Core Interface Specification (SMM CIS) THIS SPECIFICATION IS PROVIDED "AS IS" WITH NO WARRANTIES WHATSOEVER, INCLUDING ANY WARRANTY OF MERCHANTABILITY, NONINFRINGEMENT, FITNESS FOR ANY PARTICULAR PURPOSE, OR ANY WARRANTY OTHERWISE ARISING OUT OF ANY PROPOSAL, SPECIFICATION OR SAMPLE. Except for a limited copyright license to copy this specification for internal use only, no license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted herein. Intel disclaims all liability, including liability for infringement of any proprietary rights, relating to implementation of information in this specification. Intel does not warrant or represent that such implementation(s) will not infringe such rights. Designers must not rely on the absence or characteristics of any features or instructions marked "reserved" or "undefined." Intel reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. This document is an intermediate draft for comment only and is subject to change without notice. Readers should not design products based on this document. Intel, the Intel logo, Itanium, Pentium, and MMX are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries. * Other names and brands may be claimed as the property of others. Copyright  2000–2003, Intel Corporation. Intel order number xxxxxx-001 ii September 2003 Version 0.9 Revision 0.9 0.9a Revision History Revision History First public release. Add additional bit fields to the RegionState in the SMRAM Descriptor data structure Date 9/16/03 11/19/03 Version 0.9 September 2003 iii System Management Mode Core Interface Specification (SMM CIS) iv September 2003 Version 0.9 Contents 1 Introduction .......................................................................................................9 Overview...............................................................................................................................9 Rationale...............................................................................................................................9 Organization of the SMM CIS................................................................................................9 !Unexpected End of Formula Data Structure Descriptions........................................................................................10 Protocol Descriptions..................................................................................................11 Procedure Descriptions ..............................................................................................12 Pseudo-Code Conventions.........................................................................................12 Typographic Conventions ...........................................................................................13 2 Overview ......................................................................................................... 15 Definition of Terms ..............................................................................................................15 System Management Mode (SMM) .....................................................................................16 SMM on the Itanium® Processor Family .............................................................................17 System Management System Table (SMST).......................................................................17 SMM Services.....................................................................................................................18 SMM and Available Services ......................................................................................18 SMM Services ............................................................................................................18 SMM Library (SMLib) Services ...................................................................................18 SMM Drivers .......................................................................................................................19 Loading Drivers into SMM ..........................................................................................19 IA-32 SMM Drivers .....................................................................................................19 Itanium® Processor Family SMM Drivers ...................................................................19 SMM Protocols....................................................................................................................20 SMM Protocols ...........................................................................................................20 SMM Protocols for IA-32.............................................................................................20 SMM Protocols for Itanium®-Based Systems .............................................................21 SMM Infrastructure Code and Dispatcher............................................................................21 SMM Infrastructure Code and Dispatcher...................................................................21 Initializing the SMM Phase ..................................................................................................21 Initializing the SMM Phase .........................................................................................21 Processor Execution Mode.........................................................................................22 Access to Platform Resources....................................................................................23 3 System Management System Table (SMST)................................................ 25 Introduction .........................................................................................................................25 SMM Handler Entry Point....................................................................................................26 EFI_SMM_HANDLER_ENTRY_POINT......................................................................26 EFI Table Header................................................................................................................28 EFI_TABLE_HEADER................................................................................................28 System Management System Table (SMST).......................................................................29 EFI_SMM_SYSTEM_TABLE......................................................................................29 SMM Configuration Table....................................................................................................33 EFI_CONFIGURATION_TABLE.................................................................................33 Version 0.9 September 2003 v System Management Mode Core Interface Specification (SMM CIS) 4 Services - SMM............................................................................................... 35 Introduction .........................................................................................................................35 SMM Install Configuration Table .........................................................................................36 SmmInstallConfigurationTable() .................................................................................36 SMM I/O Services ...............................................................................................................38 SMM CPU I/O Overview.............................................................................................38 SmmIo() .....................................................................................................................39 EFI_SMM_CPU_IO_INTERFACE.Mem() ...................................................................40 EFI_SMM_CPU_IO_INTERFACE.Io() ........................................................................42 SMM Runtime Memory Services .........................................................................................44 SmmAllocatePool().....................................................................................................44 SmmFreePool() ..........................................................................................................46 SmmAllocatePages()..................................................................................................47 SmmFreePages() .......................................................................................................49 SMM CPU Information Records ..........................................................................................50 SMM CPU Information Records Introduction ..............................................................50 EFI_SMM_CPU_SAVE_STATE .................................................................................51 EFI_SMU_CPU_SAVE_STATE ...................................................................51 IA-32 ...................................................................................................52 Itanium® Processor Family ..........................................................................54 EFI_SMM_OPTIONAL_FP_SAVE_STATE ................................................................57 Read the full ® Intel Platform Innovation Framework for EFI System Management Mode Core Interface Specification (SMM CIS).