| 数据搜索系统,热门电子元器件搜索 |
|
AM486DX2 数据表(PDF) 40 Page - Advanced Micro Devices |
|
|
|||||||||||||||||||||||||||||
AM486DX2 数据表(HTML) 40 Page - Advanced Micro Devices |
|
40 / 67 page ![]() 40 Am5X86 Microprocessor AMD context normally consists of the CPU registers that fully represent the processor state. s Context Switch: A context switch is the process of either saving or restoring the context. The SMM dis- cussion refers to the context switch as the process of saving/restoring the context while invoking/exiting SMM, respectively. s SMSAVE: A mechanism that saves and restores all internal registers to and from SMRAM. 7.3 System Management Interrupt Processing The system interrupts the normal program execution and invokes SMM by generating a System Management Interrupt (SMI) to the CPU. The CPU services the SMI by executing the following sequence (see Figure 22). 1. The CPU asserts the SMIACT signal, instructing the system to enable the SMRAM. 2. The CPU saves its state (internal register) to SM- RAM. It starts at the SMBASE relative address lo- cation (see Section 7.3.3), and proceeds downward in a stack-like fashion. 3. The CPU switches to the SMM processor environ- ment (an external pseudo-real mode). 4. The CPU then jumps to the absolute address of SMBASE + 8000h in SMRAM to execute the SMI handler. This SMI handler performs the system management activities. Note: If the SMRAM shares the same physical address location with part of the system RAM, it is “overlaid” SMRAM. To preserve cache consistency and correct SMM operation in systems using overlaid SMRAM, the cache must be flushed via the FLUSH pin when entering SMM. 5. The SMI handler then executes the RSM instruction which restores the CPU’s context from SMRAM, deasserts the SMIACT signal, and then returns con- trol to the previously interrupted program execution. SMI #1 #2 #3 Instr Instr Instr State Save SMI Handler State Restore #4 #5 Instr Instr SMI SMIACT Figure 22. Basic SMI Interrupt Service RSM s Dedicated and secure memory space (SMRAM) for SMI handler code and CPU state (context) data with a status signal for the system to decode access to that memory space, SMIACT s Resume (RSM) instruction, for exiting SMM s Special features, such as I/O Restart and I/O instruc- tion information, for transparent power management of I/O peripherals, and Auto HALT Restart 7.2 Terminology The following terms are used throughout the discussion of System Management mode. s SMM: System Management mode. The operating environment that the processor (system) enters when servicing a System Management Interrupt. s SMI: System Management Interrupt. This is the trig- ger mechanism for the SMM interface. When SMI is asserted (SMI pin asserted Low) it causes the pro- cessor to invoke SMM. The SMI pin is the only means of entering SMM. s SMI handler: System Management mode handler. This is the code that is executed when the processor is in SMM. Example applications that this code might implement are a power management control or a system control function. s RSM: Resume instruction. This instruction is used by the SMI handler to exit the SMM and return to the interrupted OS or application process. s SMRAM: This is the physical memory dedicated to SMM. The SMI handler code and related data reside in this memory. The processor also uses this mem- ory to store its context before executing the SMI han- dler. The operating system and applications should not have access to this memory space. s SMBASE: This is a control register that contains the base address that defines the SMRAM space. s Context: This term refers to the processor state. The SMM discussion refers to the context, or processor state, just before the processor invokes SMM. The |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |