Specifications

©
2008 Advanced Micro Devices Inc.
Sample Programs
AMD SB600 BIOS Developer’s Guide (Public Version) Proprietary
Page 86
14.8.3 SMI Programming to Shut Down the System
The SMI programming should shut down the system when the line connected to Super I/O for
temperature over run is set.
; Check ExtEvent1 status. The ExtEvent1 status is on the PMIO register 07h, bit 1
mov dx,0cd6h
mov al,07h
out dx,al
mov dx,0cd7h
in al,dx
test al,02h ; Bit 1 for ExtEvent1
jnz ShutDownFromTalert ; ExtEvent1 is set, shut down
; Check alternate ExtEvent 1 status
mov dx,0cd6h
mov dl,3ah
out dx,al
mov dx,0cd7h
in al,dx
test al,02h
jz NoShutDown
ShutDownFromTalert:
mov dx,PM1a_CNT_BLK+1
mov al,34h ; Set S5 status
out dx,al
jmp $
NoShutDown:
; Continue with rest of the SMI routine.