Specifications

©
2008 Advanced Micro Devices Inc.
Common Interface Module – CIM-SB600
AMD SB600 BIOS Developer’s Guide (Public Version) Proprietary
Page 53
13.6 CIM-SB600 SB Runtime Interface Sub-Module
SB Runtime Initialization module is consistent of two parts.
1) Normal boot.
2) S3 resume
All the PCI configuration accesses are done using the memory mapped PCI configuration space.
Module files: ATISBRT.INC, AM97RT.INC, AZALIAR.INC, SATART.INC, USBRT.INC
Support files: ATISBCFG.INC, SB_CMN.INC, SB_CMNPT.INC
The entire runtime initialization module is needed during POST and S3 resume and so it should not be
discarded at end of BIOS POST. The input data structure ATI_SB_CFG_STRUCT is defined in this
module.
13.6.1 Requirements
The following requirements should be met before calling any interface in the SB POST initialization
module:
1. Module stack should be available..
2. Input Data Structure (ATI_SB_CFG_SETUP_SETTING) should be initialized before doing any
interface to this module.
3. System should be in 4GB flat mode (also called as Big Real Mode).
4. PCIE BAR should be initialized before calling any interface module.
13.6.2 SB Runtime Interface
During normal boot, most of the SBCIM runtime interfaces are called by SBCIM POST interface. There
is no interface between the BIOS code base and SBCIM runtime sub module during the normal POST.
There are following interfaces between the BIOS code base and SBCIM runtime sub module during the
S3 resume.
AtiSbBfPciRestore - This interface should be called during S3 resume after memory is restored and
before PCI devices are restored. This interface:
1. Routes SATA controllers to different AB-ports depending on input parameters
2. Programs prefetch for IDE, USB and PCIB.
3. Programs SATA class code
4. Restores Subsystem IDs for all the SB devices
AtiSBAfRestore – This interface should be called during S3 resume after PCI devices are
restored. This interface:
1. Initializes SATA PHY and reset SATA channels.