Specifications
©
2008 Advanced Micro Devices Inc.
Sample Programs
AMD SB600 BIOS Developer’s Guide (Public Version) Proprietary
Page 83
out dx,al
mov dx,Sensor_Port+1 ; The temperature value is written through 22Eh
mov al,ah ; Get temperature upper limit
out dx,al
mov dx,Sensor_Port ; The register is written through index at 22Dh
mov al,54h ; Thermal limit for thermistor 3
out dx,al
mov dx,Sensor_Port+1 ; The temperature value is written through 22Eh
mov al,ah ; Get temperature upper limit
out dx,al
; Read status from register 03 to clear the status
mov dx,Sensor_Port ; The register is read through index at 22Dh
mov al,03h
out dx,al
mov dx,Sensor_Port+1 ; The register is read through data at 22Eh
in al,dx
; Enable Interrupt/SMI# register at 00.
mov dx,Sensor_Port ; The register is written through index at 22Dh
mov al,00h
out dx,al
mov dx,Sensor_Port+1 ; The register is written through data at 22Eh
in al,dx
or al,07h ; Enable IRQ, SMI# and enable monitoring
out dx,al
; In logical device 7, set SMI registers, thermal out register,
; and enable the SMI.
; 1. Set logical device to 7
mov al,07h
mov dx,SuperIo_Config_Port
out dx,al
mov al,07h
inc dx
out dx,al
; 2. Set SMI pin to GP47 ( 00 100 111 = 27h) in reg 0f4h










