| Electronic Components Datasheet Search |
|
AM486DE2 Datasheet(PDF) 22 Page - Advanced Micro Devices |
|
|
|||||||||||||||||||||||||||||
AM486DE2 Datasheet(HTML) 22 Page - Advanced Micro Devices |
|
22 / 52 page ![]() 22 Am486DE2 Microprocessor SYSTEM MANAGEMENT MODE Overview The Am486DE2 microprocessor supports four modes: Real, Virtual, Protected, and System Management Mode (SMM). As an operating mode, SMM has a distinct processor environment, interface, and hardware/soft- ware features. SMM lets the system designer add new software-controlled features to the computer products that always operate transparent to the operating system (OS) and software applications. SMM is intended for use only by system firmware, not by applications software or general-purpose systems software. The SMM architectural extension consists of the follow- ing elements: 1. System Management Interrupt (SMI) hardware interface 2. 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 3. Resume (RSM) instruction, for exiting SMM 4. Special features, such as I/O Restart and I/O instruction information, for transparent power management of I/O peripherals, and Auto Halt Restart Terminology The following terms are used throughout the discussion of System Management Mode. s SMM: System Management Mode. This is the operating environment that the processor (system) enters when servicing a System Management Interrupt. s SMI: System Management Interrupt. This is the trigger mechanism for the SMM interface. When SMI is asserted (SMI pin asserted Low), it causes the processor 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. An example application that this code might implement is 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 memory to store its context before executing the SMI handler. 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 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 discussion 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. 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 4). 1. The CPU asserts the SMIACT signal, instructing the system to enable the SMRAM. 2. The CPU saves its state (internal register) to SMRAM. It starts at the SMBASE relative address location (see “SMRAM” on page 24), and proceeds downward in a stack-like fashion. 3. The CPU switches to the SMM processor environment (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 preserved 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 control to the previously interrupted program execution. |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List 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 |