2011年12月4日 星期日
Do not clear the Intruder Detect bit
SBSECInit.asm
SECSB_EarlyInit PROC PUBLIC
; Disable Auto-Reset Function
mov dx, MKF_TCO_BASE_ADDRESS + TCO_IOREG_CNT1
in ax, dx
out 0edh, al ; I/O delay
or ah, 08t ; Set Bit[11] to disable TCO timer
out dx, ax
out 0edh, al ; I/O delay
mov dx, MKF_TCO_BASE_ADDRESS + TCO_IOREG_STS2
in ax, dx
out 0edh, al ; I/O delay
or al, 02t ; Set Bit[1] to clear SECOND_TO_STS
and al, 0FEh ; Do not clear the Intruder Detect bit ;CN_20110808_JC_02A_01+
out dx, ax
out 0edh, al ; I/O delay
mov esi, MKF_SB_RCRB_BASE_ADDRESS + RCRB_RTC_CONF ; Enable Upper CMOS
mov byte ptr [esi], 04h
mov esi, MKF_SB_RCRB_BASE_ADDRESS + RCRB_MMIO_GCS
mov byte ptr [esi], 60h or (MKF_RESERVED_PAGE_ROUTE shl 2)
訂閱:
文章 (Atom)