1. SMM OVERVIEW Pages 9
1.1 Introduction . . ............................................ 9
1.2 SGSThomson SMM Features . . . . . . . . . . . . . . . . . . . . . . . . ............ 9
1.3 ATypical SMM Routine . . . . . . . . . . . . . . . . . . . . . . . . . ..............10
2. SGS THOMSONSMM IMPLEMENTATION 13
2.1 HardwareBackground . . . . . . . . . . . . . . . . . . . . . . . . . . .............. 13
2.2 Configuration Control Registers . . . . . . . . . .......................... 14
2.3 SMMInstruction Summary . . . . . . . . . . . . . . . . ......................18
3. SMM SOFTWARECONSIDERATIONS 23
3.1 EnablingSMM . . ....................................... ... 23
3.2 SMM Handler Entry State . . . . . . . . . . . . . . . . . . . . . . ................ 24
3.3 Maintainingthe CPU State . . . . . . . . . . . . .......................... 28
3.4 Initializingthe SMM Environment . . . . . . . . . . . . . . . . . . . . . . . . ..........31
3.5 AccessingMain Memory Overlappedby SMM Memory . . . . .................. 32
3.6 I/ORestart . . . . . . . . . . . . . . . . . . . . . . ........................ 33
3.7 I/OPort Shadowing and Emulation . . . . . . . . . . . . . . . . . . . . . . . . . ........ 34
3.8 Returnto HLT Instruction . . . . . . . . . . . . . . . . . . . . . . ................ 35
3.9 Exitingthe SMI Handler . . . .................................... 37
3.10 Testing and DebuggingSMM Code . . . ..............................38
4. POWER MANAGEMENT FEATURES 41
4.1 Reducingthe Clock Frequency . . . . . . . . . . .......................... 41
4.2 Loweringthe CPU Supply Voltage . . . . . . . . . . . . . . . . . . . . .............. 41
4.3 SuspendMode . . . . ........................................ 42
Appendix A Assembler Macros for SGS Thomson Instructions 45
GENERAL INDEX
5