数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

ST486DX 数据表(PDF) 13 Page - STMicroelectronics

部件名 ST486DX
功能描述  PROGRAMMING MANUAL
PDF  34 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

ST486DX 数据表(HTML) 13 Page - STMicroelectronics

Back Button ST486DX Datasheet HTML 9Page - STMicroelectronics ST486DX Datasheet HTML 10Page - STMicroelectronics ST486DX Datasheet HTML 11Page - STMicroelectronics ST486DX Datasheet HTML 12Page - STMicroelectronics ST486DX Datasheet HTML 13Page - STMicroelectronics ST486DX Datasheet HTML 14Page - STMicroelectronics ST486DX Datasheet HTML 15Page - STMicroelectronics ST486DX Datasheet HTML 16Page - STMicroelectronics ST486DX Datasheet HTML 17Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 34 page
background image
ST486DX - SMM SOFTWARE CONSIDERATIONS
23
3.
SMM SOFTWARE CONSIDERATIONS
This section provides an overview of SGS-Thomson SMM coding and information helpful in devel-
oping SMM code.
3.1
Enabling SMM
Many systems have memory controllers that aid in the initialization of SMM memory. SGS-Thom-
son SMM features allow the initialization of SMM memory without external hardware memory re-
mapping.
When loading SMM memory with an SMI interrupt handler it is important that the SMI# does not
occur before the handler is loaded. This can be done by not setting SMAC=0 and SMI=1 before
the SMI handler is installed. It is necessary to load SMAR with appropriate values before the
SMM memory is accessible. To load SMM memory with a program it is first necessary to enable
SMM memory without enabling the SMI pins by setting SMAC. Setting SMI=1 will then map the
SMM memory region over main memory. The SMM region is physically mapped by the assertion
of SMADS# to allow memory access within the SMM region. A REP MOV instruction can then
be used to transfer the program to SMM memory. After initializing SMM memory, negate SMAC
to activate potential SMI#s.
SMM space can be located anywhere in the 4-GByte address range. However, if the location of
SMM space is beyond 1 Mbyte, the value in CS will truncate the segment above 16-bits when
stored to the stack. This would prohibit doing calls or interrupts from real mode without restoring
the 32-bit features of the 486 because of the incorrect return address on the stack.
; load SMM memory from system memory
include SMIMAC.INC
SMMBASE = 68000h
SMMSIZE = 4000h
;SMM SIZE is 16K
SMI
= 1 shl 1
SMAC
= 1 shl 2
MMAC
= 1 shl 3
mov
al, 0cdh
;index SMAR, SMM baseA31-A24
out
22h, al
;select
mov
al, 00h
;set high SMM address to 00
out
23h, al
;write value
mov
al, 0ceh
;index SMAR,SMM baseA23-A16
out
22h, al
;select
mov
al, 06h
;set mid SMM address to 06h
out
23h, al
;write value
mov
al, 0cfh
;SMAR,SMM baseA15-A12 & SIZE



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34


数据表 下载

Go To PDF Page


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
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