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

X  

ST486DX 数据表(PDF) 14 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) 14 Page - STMicroelectronics

Back Button 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 ST486DX Datasheet HTML 18Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 14 / 34 page
background image
ST486DX - SMM SOFTWARE CONSIDERATIONS
24
out
22h, al
;select
mov
al, 083h
;set SMM lower addr. 80h, 16K
out
23h, al
;write value
mov
al, 0c1h
;index to CCR1
out
22h, al
;select CCR1 register
in
al, 23h
;read current CCR1 value
mov
ah,
al
;save it
mov
al, 0c1h
;index to CCR1
out
22h, al
;select CCR1 register
mov
al, ah
or
al, SMI or SMAC; set SMI and SMAC
out
23h, al
;new value now in CCR1, SMM now
;mapped in
mov
ax, SMMBASE shr 4
mov
es, ax
mov
edi, 0
;es:di = start of the SMM area
mov
esi, offset SMI_ROUTINE
;start of copy of SMM
mov
ax, seg SMI_ROUTINE
;routine in main memory
mov
ds, ax
mov
ecx, (SMI_ROUTINE_LENGTH+3)/4
;calc. length
; this line copies the SMM routine from DS:ESI to ES:EDI
rep
movs dword ptr es:[edi],dword ptr ds:[esi]
; now disable SMI by clearing SMAC and SMI
mov
al, 0c1h
;index to CCR1
out
22h, al
;select CCR1 register
mov
al, ah
;AH is still old value
and
al, NOT SMAC
;disable SMAC, enable SMI#
out
23h, al
;write new value to CCR
3.2
SMM Handler Entry State
At the beginning of the SMM routine, before control is transferred to code executing at the SMM
base, certain portions of the CPU state are saved at the top of SMM memory. To optimize the
speed of SMM entry and exit, the CPU saves the minimum CPU state information necessary for an
SMI interrupt handler to execute and return to the interrupted context. The information is saved to
the SMM header at the top of the defined SMM region (starting at SMM base + size - 30h) as
shown in Figure-3-1. Of the typically used program registers only the CS, IP, EFLAGS, CR0, and
DR7 are saved upon entry to SMM. This requires that data accesses use a CS segment override to



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