Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

ST486SMM View Datasheet(PDF) - STMicroelectronics

Part Name
Description
MFG CO.
ST486SMM
ST-Microelectronics
STMicroelectronics ST-Microelectronics
'ST486SMM' PDF : 34 Pages View PDF
ST486DX - SMM SOFTWARE CONSIDERATIONS
svts cs:,save_tsr
;str is not valid in real mode
db
66h
;32bit version saves everything
sgdt fword ptr cs:[save_gdt]
db
66h
;32bit version saves everything
sidt fword ptr cs:[save_idt]
; at the end of the SMM routine the following code
; sequence will reload the entire CPU state
mov eax,cs:save_eax
mov ebx,cs:save_ebx
mov ecx,cs:save_ecx
mov edx,cs:save_edx
mov esi,cs:save_esi
mov edi,cs:save_edi
mov ebp,cs:save_ebp
mov esp,cs:save_esp
rsdc ds,cs:,save_ds
rsdc es,cs:,save_es
rsdc fs,cs:,save_fs
rsdc gs,cs:,save_gs
rsdc ss,cs:,save_ss
rsldt cs:,save_ldt
rsts cs:,save_tsr
db
66h
sgdt fword ptr cs:[save_gdt]
db
66h
sidt fword ptr cs:[save_idt]
; the data space to save the CPU state is in
; the Code Segment for this example
save_ds
dt ?
save_es
dt ?
save_fs
dt ?
save_gs
dt ?
save_ss
dt ?
save_ldt dt ?
save_tsr dt ?
save_eax dd ?
save_ebx dd ?
save_ecx dd ?
save_edx dd ?
save_esi dd ?
save_edi dd ?
save_ebp dd ?
save_esp dd ?
save_gdt df ?
save_idt df ?
29
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]