参数资料
型号: Enhanced Am486 dx4
厂商: Advanced Micro Devices, Inc.
英文描述: High-Performance Design On-Chip Integration Complete 32-Bit Architecture Micrprocessor(高性能设计片上集成完全32位体系微处理器)
中文描述: 高性能设计的片上集成完整的32位架构Micrprocessor(高性能设计片上集成完全32位体系微处理器)
文件页数: 52/69页
文件大小: 1068K
代理商: ENHANCED AM486 DX4
Enhanced Am486 Microprocessor
AMD
52
PRELIMINARY
7.8.4
The system designer should take into account the fol-
lowing restrictions while implementing the CPU Reset
logic:
CPU Reset During SMM
1)
When running software written for the 80286 CPU, a
CPU RESET switches the CPU from Protected mode
to Real mode. RESET and SRESET have a higher pri-
ority than SMI. When the CPU is in SMM, the SRESET
to the CPU during SMM should be blocked until the
CPU exits SMM. SRESET must be blocked beginning
from the time when SMI is driven active. Care should
be taken not to block the global system RESET, which
may be necessary to recover from a system crash.
During execution of the RSM instruction to exit SMM,
there is a small time window between the deassertion
of SMIACT and the completion of the RSM micro code.
If a Protected mode to Real mode SRESET is asserted
during this window, it is possible that the SMRAM
space will be violated. The system designer must guar-
antee that SRESET is blocked until at least 20 CPU
clock cycles after SMIACT has been driven inactive or
until the start of a bus cycle.
Any request for a CPU RESET for the purpose of
switching the CPU from Protected mode to Real mode
must be acknowledged after the CPU has exited SMM.
To maintain software transparency, the system logic
must latch any SRESET signals that are blocked dur-
ing SMM.
For these reasons, the SRESET signal should be used
for any soft resets, and the RESET signal should be used
for all
hard resets.
2)
3)
7.8.5
Before the processor enters SMM, it empties its internal
write buffers. This is to ensure that the data in the write
buffers is written to normal memory space, not SMM
space. When the CPU is ready to begin writing an SMM
state save to SMRAM, it asserts SMIACT. SMIACT may
be driven active by the CPU before the system memory
controller has had an opportunity to empty the second level
write buffers.
SMM and Second Level Write Buffers
To prevent the data from these second level write buffers
from being written to the wrong location, the system
memory controller needs to direct the memory write cy-
cles to either SMM space or normal memory space. This
can be accomplished by saving the status of SMIACT
with the address for each word in the write buffers.
7.8.6
Special care must be taken when executing an SMI han-
dler for the purpose of restarting an l/O instruction.
When the CPU executes a Resume (RSM) instruction
with thel/O restart slot set, the restored EIP is modified
to point to the instruction immediately preceding the SMI
request, so that the l/O instruction can be re-executed. If a
Nested SMI and I/O Restart
new SMI request is received while the CPU is executing
an SMI handler, the CPU services this SMI request before
restarting the original I/O instruction. If the I/O restart slot is
set when the CPU executes the RSM instruction for the
second SMI handler, the RSM micro code decrements the
restored EIP again. EIP then points to an address different
from the originally interrupted instruction, and the CPU be-
gins execution at an incorrect entry point. To prevent this
from occurring, the SMI handler routine must not set the
I/O restart slot during the second of two consecutive
SMI handlers.
7.9
7.9.1
The default operand size and the default address size
are 16 bits; however, operand-size override and ad-
dress-size override prefixes can be used as needed to
directly access data anywhere within the 4-Gbyte logical
address space.
SMM Software Considerations
SMM Code Considerations
With operand-size override prefixes, the SMI handler
can use jumps, calls, and returns, to transfer a control
to any location within the 4-Gbyte space. Note, however,
the following restrictions:
1)
Any control transfer that does not have an operand-
size override prefix truncates EIP to 16 Low-order bits.
Due to the Real mode style of base-address formation,
a long jump or call cannot transfer control segment with
a base address of more than 20 bits (1 Mbyte).
7.9.2
Exception Handling
Upon entry into SMM, external interrupts that require
handlers are disabled (the IF in EFLAGS is cleared).
This is necessary because, while the processor is in
SMM, it is running in a separate memory space. Con-
sequently, the vectors stored in the interrupt descriptor
table (IDT) for the prior mode are not applicable. Before
allowing exception handling (or software interrupts), the
SMM program must initialize new interrupt and excep-
tion vectors. The interrupt vector table for SMM has the
same format as for Real mode. Until the interrupt vector
table is correctly initialized, the SMI handler must not
generate an exception (or software interrupt). Even
though hardware interrupts are disabled, exceptions
and software interrupts can still occur. Only a correctly
written SMI handler can prevent internal exceptions.
When new exception vectors are initialized, internal ex-
ceptions can be serviced. The restrictions follow:
2)
1)
Due to the Real mode style of base address formation,
an interrupt or exception cannot transfer control to a seg-
ment with a base address of more than 20 bits.
An interrupt or exception cannot transfer control to a
segment offset of more than 16 bits.
If exceptions or interrupts are allowed to occur, only the
Low order 16 bits of the return address are pushed
2)
3)
相关PDF资料
PDF描述
EO12 IRDA INFRARED TRANSCEIVER
EOL-62L256 HT62L256 EOL Notification
EP05FA20 FRD
EP05Q03L SBD
EP05Q06 SBD Type : EP05Q06
相关代理商/技术参数
参数描述
ENHSAURR8 制造商:Molex 功能描述:8 PORT MACHINE MOUNT SWITCH 制造商:Molex 功能描述:COMPUTERS, NETWORK SWITCHES CONNECTIVITY, No. of Ports:8, Data Rate Max:100Mbps,
ENHSDURR5 制造商:Molex 功能描述:COMPUTERS, NETWORK SWITCHES CONNECTIVITY, No. of Ports:5, Switch Mounting:DIN Ra 制造商:Molex 功能描述:ETHERNET DIN RAIL SWITCH 5PORT
ENHSDURR9 制造商:MOLEX/WOODHEAD 功能描述:Ethernet Network Switch 制造商:Molex 功能描述:ETHERNET NETWORK SWITCH, No. of Ports:9, Data Rate Max:100Mbps, Switch Mounting:
ENI-110 功能描述:冲压机与冲模 NON-IMPACT PUNCHDOWN TOOL RoHS:否 制造商:Souriau 大小: 产品:Dies 类型:Crimping 描述/功能:
ENICSF2811PBKA 制造商:Texas Instruments 功能描述: