R Intel(R) 815EM Chipset: 82815EM Graphics and Memory Controller Hub (GMCH2-M) Datasheet April 2003 Document Reference Number: 290689-002 Intel(R) 82815EM GMCH R Information in this document is provided in connection with Intel products. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted by this document. Except as provided in Intel's Terms and Conditions of Sale for such products, Intel assumes no liability whatsoever, and Intel disclaims any express or implied warranty, relating to sale and/or use of Intel products including liability or warranties relating to fitness for a particular purpose, merchantability, or infringement of any patent, copyright or other intellectual property right. Intel products are not intended for use in medical, life saving, or life sustaining applications. Intel may make changes to specifications and product descriptions at any time, without notice. Designers must not rely on the absence or characteristics of any features or instructions marked "reserved" or "undefined." Intel reserves these for future definition and shall have no responsibility whatsoever for conflicts or incompatibilities arising from future changes to them. The Intel(R) 815EM chipset may contain design defects or errors known as errata which may cause the product to deviate from published specifications. Current characterized errata are available on request. Contact your local Intel sales office or your distributor to obtain the latest specifications and before placing your product order. I2C is a 2-wire communications bus/protocol developed by Philips. SMBus is a subset of the I2C bus/protocol and was developed by Intel. Implementations of the I2C bus/protocol may require licenses from various entities, including Philips Electronics N.V. and North American Philips Corporation. Alert on LAN is a result of the Intel-IBM Advanced Manageability Alliance and a trademark of IBM Copies of documents which have an ordering number and are referenced in this document, or other Intel literature, may be obtained from: Intel Corporation www.intel.com or call 1-800-548-4725 *Third-party brands and names are the property of their respective owners. Copyright (c) Intel Corporation 2000 2 Datasheet Intel(R) 82815EM GMCH R Contents 1. Overview.....................................................................................................................................13 1.1. 1.2. 1.3. 1.4. 1.5. 1.6. 1.7. 1.8. 1.9. 1.10. 1.11. 1.12. 1.13. 2. Signal Description.......................................................................................................................20 2.1. 2.2. 2.3. 2.4. 2.5. 2.6. 2.7. 2.8. 2.9. 2.10. 2.11. 2.12. 3. Host Interface Signals....................................................................................................21 System Memory Interface Signals .................................................................................23 AGP Interface Signals ...................................................................................................23 2.3.1. AGP Addressing Signals .............................................................................23 2.3.2. AGP Flow Control Signals ...........................................................................25 2.3.3. AGP Status Signals .....................................................................................25 2.3.4. AGP Clocking Signals - Strobes..................................................................26 2.3.5. AGP FRAME# Signals.................................................................................27 2.3.6. AGP C3 support Signals..............................................................................29 Display Cache Interface Signals....................................................................................30 Hub Interface Signals ....................................................................................................31 Display Interface Signals ...............................................................................................31 Digital Video Output Signals/TV-Out Pins .....................................................................32 Power Signals ................................................................................................................33 Clock Signals .................................................................................................................33 Miscellaneous Interface Signals ....................................................................................34 GMCH2-M Power-Up/Reset Strap Options ...................................................................34 Multiplexed Display Cache and AGP Signal Mapping...................................................35 PCI Configuration Registers.......................................................................................................36 3.1. 3.2. 3.3. Datasheet Component Identification via Programming Interface ...................................................13 Component Marking Information ...................................................................................13 The Intel(R) 815EM Chipset System ................................................................................14 Intel(R) 815EM Chipset GMCH2-M Overview ..................................................................15 Host Interface.................................................................................................................16 System Memory Interface..............................................................................................17 Multiplexed AGP and Display Cache Interface..............................................................17 AGP Interface ................................................................................................................17 1.8.1. Display Cache Interface...............................................................................18 Hub Interface .................................................................................................................18 GMCH2-M Integrated Graphics (GFX) Support ............................................................18 1.10.1. Intel Dynamic Video Memory Technology (D.V.M.T.) ...............................19 1.10.2. Display 19 1.10.3. Digital Video Out Port (DVO) .......................................................................19 System Clocking ............................................................................................................19 GMCH2-M Power Delivery ............................................................................................19 References.....................................................................................................................19 Register Nomenclature and Access Attributes ..............................................................36 GMCH2-M Register Introduction ...................................................................................37 I/O Mapped Registers....................................................................................................37 3.3.1. CONFIG_ADDRESSConfiguration Address Register .............................38 3 Intel(R) 82815EM GMCH R 3.4. 3.5. 3.6. 3.7. 4 CONFIG_DATAConfiguration Data Register .......................................... 39 3.3.2. PCI Bus Configuration Mechanism ............................................................................... 40 PCI Configuration Space Access .................................................................................. 40 3.5.1. Logical PCI Bus #0 Configuration Mechanism............................................ 41 3.5.2. Primary PCI (PCI0) and Downstream Configuration Mechanism ............... 41 3.5.3. Internal Graphics Device (GFX) Configuration Mechanism........................ 41 Host-Hub Interface Bridge/DRAM Controller Device Registers (Device #0) ................ 41 3.6.1. VID--Vendor Identification Register (Device 0).......................................... 44 3.6.2. DID--Device Identification Register (Device 0) .......................................... 44 3.6.3. PCICMD--PCI Command Register (Device 0)........................................... 45 3.6.4. PCISTS--PCI Status Register (Device 0) .................................................. 46 3.6.5. RID--Revision Identification Register (Device 0) ....................................... 46 3.6.6. SUBC--Sub-Class Code Register (Device 0) ............................................ 47 3.6.7. BCC--Base Class Code Register (Device 0) ............................................. 47 3.6.8. MLT--Master Latency Timer Register (Device 0) ...................................... 48 3.6.9. HDR--Header Type Register (Device 0) .................................................... 48 3.6.10. APBASE--Aperture Base Configuration Register (Device 0 - AGP MODE ONLY) 49 3.6.11. SVID--Subsystem Vendor Identification Register (Device 0) .................... 50 3.6.12. SID--Subsystem Identification Register (Device 0) ................................... 50 3.6.13. CAPPTR--Capabilities Pointer (Device 0) ................................................. 51 3.6.14. GMCHCFG--GMCH2-M Configuration Register (Device 0) ...................... 51 3.6.15. APCONT--Aperture Control (Device 0)...................................................... 53 3.6.16. DRP--DRAM Row Population Register (Device 0) .................................... 54 3.6.17. DRAMT--DRAM Timing Register (Device 0) ............................................. 55 3.6.18. DRP2--DRAM Row Population Register 2 (Device 0) ............................... 56 3.6.19. FDHC Fixed DRAM Hole Control Register (Device 0) ........................... 57 3.6.20. PAMProgrammable Attributes Map Registers (Device 0) ....................... 57 3.6.21. C3STATUS --C3 Control and Status Register (Device #0) ....................... 60 3.6.22. SMRAM - System Management RAM Control Register (Device 0)............ 61 3.6.23. MISCC--Miscellaneous Control Register (Device 0) ................................. 63 3.6.24. CAPID--Capability Identification (Device 0 - AGP MODE ONLY) ............. 64 3.6.25. BUFF_SC--System Memory Buffer Strength Control Register (Device 0) 66 3.6.26. BUFF_SC2-System Memory Buffer Strength Control Register 2 (Device 0)69 3.6.27. ACAPID--AGP Capability Identifier Register (Device 0)............................ 70 3.6.28. AGPSTAT--AGP Status Register (Device 0) ............................................. 71 3.6.29. AGPCMD--AGP Command Register (Device 0)........................................ 72 3.6.30. AGPCTRL--AGP Control Register (Device 0) ........................................... 73 3.6.31. APSIZE--Aperture Size (Device 0)............................................................. 74 3.6.32. ATTBASE-Aperture Translation Table Base Register (Device 0) .............. 75 3.6.33. AMTT--AGP Multi-Transaction Timer (Device 0)....................................... 76 3.6.34. LPTT--AGP Low Priority Transaction Timer Register (Device 0) .............. 77 3.6.35. GMCHCFG--GMCH2-M Configuration Register (Device 0) ...................... 78 3.6.36. ERRCMD--Error Command Register (Device 0) ....................................... 79 AGP/PCI Bridge Registers - (Device #1 - Visible in AGP Mode Only)......................... 80 3.7.1. VID1--Vendor Identification Register (Device 1)........................................ 81 3.7.2. DID1--Device Identification Register (Device 1) ........................................ 81 3.7.3. PCICMD1--PCI-PCI Command Register (Device 1) ................................. 82 3.7.4. PCISTS1--PCI-PCI Status Register (Device 1) ......................................... 83 3.7.5. RID1--Revision Identification Register (Device 1) ..................................... 84 3.7.6. SUBC1--Sub-Class Code Register (Device 1) .......................................... 84 3.7.7. BCC1--Base Class Code Register (Device 1) ........................................... 85 3.7.8. MLT1--Master Latency Timer Register (Device 1) .................................... 85 Datasheet Intel(R) 82815EM GMCH R 3.8. 4. Functional Description ..............................................................................................................112 4.1. 4.2. 4.3. Datasheet 3.7.9. HDR1--Header Type Register (Device 1) ..................................................85 3.7.10. PBUSN--Primary Bus Number Register (Device 1) ...................................86 3.7.11. SBUSN--Secondary Bus Number Register (Device 1) ..............................86 3.7.12. SUBUSN--Subordinate Bus Number Register (Device 1) .........................86 3.7.13. SMLT--Secondary Master Latency Timer Register (Device 1) ..................87 3.7.14. IOBASE--I/O Base Address Register (Device 1) .......................................88 3.7.15. IOLIMIT--I/O Limit Address Register (Device 1) ........................................89 3.7.16. SSTS--Secondary PCI-PCI Status Register (Device 1) ............................90 3.7.17. MBASE--Memory Base Address Register (Device 1) ................................91 3.7.18. MLIMIT--Memory Limit Address Register (Device 1) .................................92 3.7.19. PMBASE--Prefetchable Memory Base Address Register (Device 1) ........93 3.7.20. PMLIMIT--Prefetchable Memory Limit Address Register (Device 1) .........94 3.7.21. BCTRL--PCI-PCI Bridge Control Register (Device 1) ................................95 3.7.22. ERRCMD1--Error Command Register (Device 1)......................................97 Graphics Device Registers (Device 2 - VISIBLE IN GFX MODE ONLY)......................97 3.8.1. VID2--Vendor Identification Register (Device 2) ........................................98 3.8.2. DID2--Device Identification Register (Device 2).........................................99 3.8.3. PCICMD2--PCI Command Register (Device 2) .........................................99 3.8.4. PCISTS2--PCI Status Register (Device 2) ...............................................101 3.8.5. RID2--Revision Identification Register (Device 2)....................................102 3.8.6. PI--Programming Interface Register (Device 2) .......................................102 3.8.7. SUBC2--Sub-Class Code Register (Device 2).........................................102 3.8.8. BCC2--Base Class Code Register (Device 2)..........................................103 3.8.9. CLS--Cache Line Size Register (Device 2)..............................................103 3.8.10. MLT2--Master Latency Timer Register (Device 2) ...................................103 3.8.11. HDR2--Header Type Register (Device 2) ................................................104 3.8.12. BIST--BIST Register (Device 2) ...............................................................104 3.8.13. GMADR-Graphics Memory Range Address Register (Device 2) ............105 3.8.14. MMADR--Memory Mapped Range Address Register (Device 2) ............106 3.8.15. SVID--Subsystem Vendor Identification Register (Device 2)..................106 3.8.16. SID--Subsystem Identification Register (Device 2) ..................................107 3.8.17. ROMADR - Video BIOS ROM Base Address Registers (Device 2)..........107 3.8.18. CAPPOINT--Capabilities Pointer Register (Device 2)..............................107 3.8.19. INTRLINE--Interrupt Line Register (Device 2) .........................................108 3.8.20. INTRPIN--Interrupt Pin Register (Device 2) .............................................108 3.8.21. MINGNT--Minimum Grant Register (Device 2) ........................................108 3.8.22. MAXLAT--Maximum Latency Register (Device 2) ...................................108 3.8.23. PM_CAPID--Power Management Capabilities ID Register (Device 2) ....109 3.8.24. PM_CAP--Power Management Capabilities Register (Device 2) ............109 3.8.25. PM_CS - Power Management Control/Status Register (Device 2)...........110 System Memory and I/O Address Map........................................................................112 4.1.1. Memory Address Space ............................................................................112 DOS Compatibility Memory Space ..............................................................................115 4.2.1.1. DOS Area (00000h-9FFFh) ..........................................................116 4.2.1.2. Video Buffer Area (A0000h-BFFFFh) ...........................................116 4.2.1.3. Monochrome Adapter (MDA) Range (B0000h - B7FFFh) ............116 4.2.1.4. Expansion Area (C0000h-DFFFFh)..............................................117 4.2.1.5. Extended System BIOS Area (E0000h-EFFFFh) .........................117 4.2.1.6. System BIOS Area (F0000h-FFFFFh) ..........................................117 Extended Memory Area ...............................................................................................117 4.3.1. Main DRAM Address Range (0010_0000h to TOM).................................117 4.3.1.1. 15MB-16MB Hole Area .................................................................117 5 Intel(R) 82815EM GMCH R 4.3.1.2. 4.3.1.3. 4.4. 4.5. 4.6. 4.7. 4.8. 4.9. 4.10. 4.11. 4.12. 6 Extended SMRAM Address Range .............................................. 117 HSEG (High Segment) ................................................................. 118 4.3.1.3.1. TSEG (Top of Memory Segment)............................... 118 4.3.2. PCI Memory Address Range (Top of Main Memory to 4 GB) .................. 118 4.3.2.1. APIC Configuration Space (FEC0_0000h -FECF_FFFFh, FEE0_0000h- FEEF_FFFFh) ....................................................... 119 4.3.2.2. High BIOS Area (FFE0_0000h -FFFF_FFFFh)............................ 119 System Management Mode (SMM) Memory Range................................................... 119 4.4.1. SMM Space Definition............................................................................... 120 4.4.2. SMM Space Restrictions........................................................................... 120 4.4.3. SMM Space Combinations........................................................................ 121 4.4.4. Initialization and Usage of SMRAM and Graphics Local Memory ............ 121 Memory Shadowing..................................................................................................... 121 I/O Address Space ...................................................................................................... 121 4.6.1. AGP/PCI - I/O Address Mapping............................................................... 122 GMCH2-M Address Decode Rules and Cross-Bridge Address Mapping................... 122 4.7.1. Address Decode Rules ............................................................................. 122 4.7.2. The Hub Interface Accesses to GMCH2-M that Cross Device Boundaries123 4.7.3. AGP Interface Decode Rules .................................................................... 123 4.7.3.1. Cycles Initiated Using PCI Protocol.............................................. 123 4.7.3.2. Cycles Initiated Using AGP Protocol ............................................ 124 4.7.3.3. AGP Accesses to GMCH2-M that Cross Device Boundaries ...... 124 4.7.4. Legacy VGA Ranges................................................................................. 125 Host Interface .............................................................................................................. 126 4.8.1. Host Bus Device Support .......................................................................... 126 4.8.2. Special Cycles........................................................................................... 128 System Memory DRAM Interface................................................................................ 129 4.9.1. DRAM Organization and Configuration..................................................... 129 4.9.1.1. Configuration Mechanism SO-DIMMs.......................................... 130 4.9.1.2. DRAM Register Programming ...................................................... 130 4.9.2. DRAM Address Translation and Decoding ............................................... 131 4.9.3. SDRAMT Register Programming .............................................................. 132 4.9.4. SDRAM Paging Policy............................................................................... 132 Intel Dynamic Video Memory Technology (D.V.M.T.) ............................................... 132 Display Cache Interface .............................................................................................. 133 4.11.1. Supported DRAM Types for Display Cache Memory ............................... 133 4.11.2. Memory Configurations ............................................................................. 134 4.11.3. Address Translation .................................................................................. 134 4.11.4. Display Cache Interface Timing ................................................................ 135 Internal Graphics Device ............................................................................................. 135 4.12.1. 3D/2D Instruction Processing.................................................................... 135 4.12.2. 3D Engine.................................................................................................. 136 4.12.3. Buffers 136 4.12.4. Setup 137 4.12.5. Texturing ................................................................................................... 137 4.12.6. 2D Operation ............................................................................................. 139 4.12.7. Fixed Blitter (BLT) and Stretch Blitter (STRBLT) Engines ........................ 140 4.12.7.1. Fixed BLT Engine ......................................................................... 140 4.12.7.2. Arithmetic Stretch BLT Engine ..................................................... 140 4.12.8. Hardware Motion Compensation .............................................................. 141 4.12.9. Hardware Cursor and Popup Support....................................................... 141 4.12.10. Overlay Engine.......................................................................................... 141 4.12.11. Display 142 Datasheet Intel(R) 82815EM GMCH R 4.13. 4.14. 4.15. 4.16. 4.17. 4.18. 5. Pinout and Package Information ..............................................................................................154 5.1. 5.2. 6. GMCH2-M Pinout.........................................................................................................154 GMCH2-M Package Dimensions.................................................................................161 Testability..................................................................................................................................164 6.1. 6.2. Datasheet 4.12.12. Digital Video Out (DVO) Port .....................................................................143 4.12.12.1. VCH interface................................................................................143 4.12.12.2. DVO Port Data Format..................................................................144 4.12.12.3. DVO Port I2C Functionality............................................................146 4.12.13. DDC (Display Data Channel).....................................................................146 System Reset for the GMCH2-M .................................................................................146 System Clock Description............................................................................................147 4.14.1. External Clock Sources .............................................................................147 4.14.2. Internal Clock Sources...............................................................................147 Power Management.....................................................................................................147 4.15.1. Specifications Supported ...........................................................................148 General Description of ACPI Power States .................................................................148 Power State Transition Rules at Platform Level ..........................................................149 ACPI Support ...............................................................................................................150 4.18.1. Full on (C0 State).......................................................................................150 4.18.2. Stop Grant or Quick Start (C2 State).........................................................150 4.18.3. Stop Clock (C3 State) ................................................................................150 4.18.4. C3 Support AGP Port Signal .....................................................................151 4.18.5. Power-on-suspend (POS) (S1 State) ........................................................151 4.18.6. Suspend-to-RAM (STR) (S3 State) ...........................................................152 4.18.7. Suspend to DISK (STD) S4 State..............................................................152 4.18.8. Graphics Controller Requirements ............................................................152 4.18.8.1. The D0 State .................................................................................152 4.18.8.2. The D3 State .................................................................................152 XOR Chain...................................................................................................................164 All Z ..............................................................................................................................164 7 Intel(R) 82815EM GMCH R Figures Figure 1. Intel(R) 815EM Chipset System Block Diagram .......................................................... 15 Figure 2. Intel(R) 815EM Chipset GMCH2-M Block Diagram..................................................... 16 Figure 3. PAM Registers......................................................................................................... 59 Figure 4. System Memory Address Map ............................................................................... 113 Figure 5. Detailed Memory System Address Map ................................................................. 114 Figure 6. MCH2-M Display Cache Interface to 4MB ............................................................. 134 Figure 7. 3D/2D Pipeline Preprocessor ................................................................................. 136 Figure 8. Data Flow for the 3D Pipeline ................................................................................. 137 Figure 9. Digital Video Out Port Mobile Application Block Diagram With VCH ..................... 144 Figure 10. Digital Video Out Port Block Diagram Without VCH............................................. 144 Figure 11. GMCH2-M Pinout (Top View-Left Side) ............................................................... 155 Figure 12. GMCH2-M Pinout (Top View-Right Side) ............................................................. 156 Figure 13. GMCH2-M GMCH BGA Package Dimensions (Top and Side Views) ................. 161 Figure 14. Intel(R) 815EM Chipset GMCH2-M BGA Package Dimensions (Bottom View)...... 162 Tables Table 1. AGP Data Rate and Signaling Levels........................................................................ 17 Table 2. Voltage Levels for Each Interface.............................................................................. 21 Table 3. Display Cache and AGP signal Mapping................................................................... 35 Table 4. GMCH2-M PCI Configuration Space (Device #0) ..................................................... 42 Table 5. Supported System Memory DIMM Configurations .................................................... 54 Table 6. Attribute Bit Assignments........................................................................................... 58 Table 7. PAM Registers and Associated Memory Segments.................................................. 59 Table 8. GMCH2-M Configuration Space (Device #1) ............................................................ 80 Table 9. Device 2 Configuration Space Address Map (Internal Graphics).............................. 97 Table 10. Memory Segments and Their Attributes ................................................................ 115 Table 11. SMM Space Abbreviations..................................................................................... 120 Table 12. Summay of Transactions Supported By GMCH2-M.............................................. 126 Table 13. Host Responses Supported by the GMCH2-M...................................................... 127 Table 14. Special Cycles .......................................................................................................128 Table 15. Data Bytes on DIMM Used for Programming DRAM Registers ............................ 130 Table 16. GMCH2-M DRAM Address Mux Function ............................................................. 131 Table 17. Programmable SDRAM Timing Parameters.......................................................... 132 Table 18. Memory Size for each configuration: ..................................................................... 134 Table 19, GMCH2-M Local Memory Address Mapping......................................................... 135 Table 20. Partial List of Display Modes Supported................................................................ 142 Table 21. Partial List of Flat Panel Modes Supported ........................................................... 145 Table 22. Partial List of TV-Out Modes Supported ................................................................ 145 Table 23. Supported Frequencies and Corresponding Phase Alignments ........................... 147 Table 24. General Description of ACPI Power States ........................................................... 148 Table 25. State Transition Rules at Platform Level ............................................................... 149 Table 26. Ballout differences between Intel(R) 815 Chipset GMCH and Intel(R) 815EM Chipset GMCH2-M....................................................................................................................... 154 Table 27. Alphabetical Pin Assignment (by Signal Name) .................................................... 157 8 Datasheet Intel(R) 82815EM GMCH R Revision History Rev. Description Date -001 Initial Release January 2000 -002 Updates include: April 2003 * Removed XOR chain testing information * Added component ID information Datasheet 9 Intel(R) 82815EM GMCH R Intel(R) 82815EM GMCH2-M Features Processor/Host Bus Support Optimized for the mobile Intel Pentium III processor and mobile Intel(R) CeleronTM processors. Supports 32-Bit System Bus Addressing 4 deep in-order queue; 4 or 1 deep request queue Supports Uni-processor systems only In-order and Dynamic Deferred Transaction Support 100MHz System Bus Frequency GTL+ I/O Buffer Integrated SDRAM Controller 32 to 512MB using 16/64/128/256 Mbit technology Supports up to 3 double sided SO-DIMMs @ 100Mhz 64-bit data interface 100MHz system memory bus frequency Support for Asymmetrical SDRAM addressing only Support for x8 and x16 SDRAM device width Unbuffered, Non-ECC SDRAM only supported Refresh Mechanism: CBR supported Enhanced Open page Arbitration SDRAM paging scheme Suspend to RAM support Accelerated Graphics Port (AGP) Interface Multiplexed with Internal Graphics Supports a single AGP device Supports AGP 2.0 including 4x AGP data transfers AGP 2.0 support via dual mode buffers to allow 3.3v or 1.5v signaling AGP PIPE# or SBA initiated accesses to SDRAM are not snooped AGP FRAME# initiated accesses to SDRAM are snooped High priority access support Hierarchical PCI configuration mechanism Delayed transaction support for AGP-to-SDRAM reads that can not be serviced immediately Arbitration Scheme and Concurrency Intelligent Centralized Arbitration Model for Optimum Concurrency Support Concurrent operations of processor and System busses supported via dedicated arbitration and data buffering Data Buffering Distributed Data Buffering Model for optimum concurrency SDRAM Write Buffer with read-around-write capability Dedicated processor-SDRAM, hub interface-SDRAM and Graphics-SDRAM Read Buffers Power Management Functions SMRAM space remapping to A0000h (128 KB) Optional Extended SMRAM space above 256 MB, additional 512K/1MB TSEG from Top of Memory, cacheable Stop Clock Grant and Halt special cycle translation from the host to the hub interface ACPI Compliant power management Dynamic (independent) SCKE support AGPBUSY# support Integrated Graphics Controller Multiplexed with AGP Controller 3D Hyper Pipelined Architecture Parallel Data Processing (PDP) Precise Pixel Interpolation (PPI) Full 2D H/W Acceleration Motion Video Acceleration 3D Graphics Visual Enhancements Flat & Gouraud Shading Mip Maps with Trilinear and Anisotropic Filtering Full Color Specular Fogging Atmospheric Effects Z Buffering 3D Pipe 2D Clipping Backface Culling 3D Graphics Texturing Enhancements Per Pixel Perspective Correction Texture Mapping Texture Compositing Texture Color Keying/Chroma Keying Digital Video Output Port (DVO) Support for an external TV encoder Video Controller Hub (VCH) Interface 196 Pin mini-BGA package Display Integrated 24-bit 230MHz RAMDAC Gamma Corrected Video DDC2B Compliant 2D Graphics Up to 1600x1200 in 8-bit Color at 75 Hz Refresh Hardware Accelerated Functions 3 Operand Raster BitBLTs 64x64x3 Color Transparent Cursor H/W Assisted Motion Compensation for MPEG2 Decode H/W assisted DVD playback at 30fps H/W Overlay Engine with Bilinear Filtering Independent gamma correction, saturation, brightness & contrast for overlay Hardware Cursor and Popup window support Arithmetic Stretch Blitter Video Graphics Memory Controller Integrated Intel D.V.M. Technology Display Cache Interface 32-bit data interface 100/133MHz SDRAM interface Support for 2 1Mx16, or 1 2Mx32 SDRAM 4MB max addressable Supporting I/O Bridge 360 Pin eBGA I/O Controller Hub (ICH2-M) Packaging/Power 544 BGA 1.8V core with 3.3V CMOS I/O APIC Buffer Management 10 Datasheet Intel(R) 82815EM GMCH R Intel(R) 815EM Chipset GMCH2-M Simplified Block Diagram HA[31:3]# HD[63:0]# ADS# BNR# BPRI# DBSY# DEFER# DRDY# HIT# HITM# HLOCK# HREQ[4:0]# HTRDY# RS[2:0]# CPURST# SMAA[12:0] SMAB[7:4]# SMAC[7:4]# SBS[1:0] SMD[63:0] SDQM[7:0] SCSA[5:0]# SCSB[5:0]# SRAS# SCAS# SWE# SCKE[5:0] HCLK SCLK LTCLK[1:0] LOCLK LRCLK DCLKREF HLCLK GTLREF0 GTLREF1 RESET# HUBREF HL[10:0] HLSTRB HLSTRB# HLZCOMP HCOMP Datasheet Analog Display Interface System Bus Interface Digital Video Output Port System Memory Interface *(Display Cache Interface) Clock Signals Misc. Interface Signals Hub Interface AGP Interface VSYNC HSYNC IREF RED GREEN BLUE DDCK DDDA LTVCL LTVCK LTVDA LTVCLKIN/STAL LTVCLKOUT[1:0 LTVBLANK# LTVDATA[11:0] LTVSYNC LTVHSYNC INTRPT# LCS# LDQM[3:0] LRAS# LCAS# LMA[11:0] LWE# LMD[31:0] PIPE# SBA[7:0] RBF# WBF# ST[2:0] ADSTB[1:0] ADSTB[1:0]# SBSTB SBSTB# GFRAME# GIRDY# GTRDY# GSTOP# GDEVSEL# GREQ# GGNT# GAD[31:0] GC/BE[3:0] GPAR GRCOMP AGPREF AGPBUSY# 11 Intel(R) 82815EM GMCH R This page left intentionally blank. 12 Datasheet Intel(R) 82815EM GMCH R 1. Overview The Intel(R) 815EM chipset is a high-flexibility chipset designed to extend from the basic graphics / multimedia mobile PC platform up to the mainstream performance mobile PC platform. The Intel(R) 815EM chipset consists of a Graphics and Memory Controller Hub (GMCH2-M) Bridge and an I/O Controller Hub (ICH2-M) Bridge for the I/O subsystem. The GMCH2-M integrates a Display Cache SDRAM controller that supports a 32-bit 100MHz SDRAM array for enhanced integrated 3D graphics performance. Multiplexed with the display cache interface is an AGP controller interface to enable graphics configuration and upgrade flexibility with the Intel(R) 815EM chipset. The AGP interface and the internal graphics device are mutually exclusive. When the AGP port is populated with an AGP graphics device, the integrated graphics is disabled and thus the display cache interface is not needed. In this document the terms "GMCH2-M" and "Intel(R) 815EM chipset" refer to the Intel(R) 815EM chipset Graphics and Memory Controller Hub interchangeably, unless otherwise specified. Also the term GFX and internal graphics device refers to the Intel(R) 815EM chipset internal graphics device, unless otherwise specified. The Intel(R) 815EM chipset may contain design defects or errors known as errata that may cause the product to deviate from published specifications. Current characterized errata are available on request. 1.1. Component Identification via Programming Interface The Intel 815EM Chipset may be identified by the following register contents: 1 2 Stepping Vendor ID Device ID Revision Number A0 8086h 1130h 10h A1 8086h 1130h 11h 3 NOTES: 1. The Vendor ID corresponds to bits 15-0 of the Vendor ID Register located at offset 00-01h in the PCI function 0 configuration space. 2. The Device ID corresponds to bits 15-0 of the Device ID Register located at offset 02-03h in the PCI function 0 configuration space. 3. The Revision Number correspond to bits 7-0 of the Revision ID Register located at offset 08h in the PCI function 0 configuration space. 1.2. Component Marking Information The Intel 815EM Chipset may be identified by the following component markings: Datasheet Stepping Q-Spec S-Spec Top Marking A0 QA38 N/A FW82815EM A1 QA75 SL4MP FW82815EM Notes 13 Intel(R) 82815EM GMCH R 1.3. The Intel(R) 815EM Chipset System The Intel(R) 815EM chipset uses a hub architecture with the GMCH2-M as the host bridge hub and the I/O Controller Hub (ICH2-M) as the I/O hub. The ICH2-M is a highly integrated multifunctional I/O Controller Hub that provides the interface to the PCI Bus and integrates many of the functions needed in today's PC platforms. The Intel(R) 815EM chipset GMCH2-M and ICH2-M communicate over a dedicated hub interface. ICH2-M functions and capabilities include: * PCI Rev 2.2 compliant with support for 33 MHz PCI operations * ICH2-M supports up to 6 Req/Gnt pairs (PCI bus) * Power Management Logic Support * Enhanced DMA Controller, Interrupt Controller & Timer Functions * Integrated IDE controller; ICH2-M supports Ultra ATA/66/100 * USB host interface with support for four USB ports * System Management Bus (SMBus) compatible with most I2C devices * AC'97 2.1 Compliant Link for Audio and Telephony CODECs * Low Pin Count (LPC) interface * Firmware Hub (FWH) interface support * Alert On LAN* The following figure shows a block diagram of the typical mobile platform based on the Intel(R) 815EM chipset. The GMCH2-M supports processor bus frequencies of 100MHz. The ICH2-M provides extensive I/O support. The ICH2-M provides support for 6 PCI bus Req/Gnt pairs, increased IDE capability from Ultra ATA/33 to Ultra ATA/100, and Alert On LAN*. 14 Datasheet Intel(R) 82815EM GMCH R Figure 1. Intel(R) 815EM Chipset System Block Diagram Processor Flat Panel TV Encoder 100 MHz PSB VCH DVO CRT AGP4X External GFX 4 x USB 2 x IDE ICH2-m ICH2-M LAN SMBus Datasheet PCI Bus 360 360 BGA BGA AC97 LPC FWH Flash BIOS 1.4. 100 MHz SDRAM HUB I/F Display Cache Audio Codec Modem Codec Intel(R) 815EM Chipset GMCH2-M 544 BGA LPC Super I/O 8214EM Sys Blk Intel(R) 815EM Chipset GMCH2-M Overview 15 Intel(R) 82815EM GMCH R Figure 1 is a block diagram of the Intel(R) 815EM chipset. The Intel(R) 815EM chipset GMCH2-M functions and capabilities include: Support for a single processor configuration * 64-bit GTL+ based Processor Side Bus Interface at 100 MHz * 32-bit Host Address Support * 64-bit System Memory Interface with optimized support for SDRAM at 100 MHz * Integrated 2D & 3D Graphics Engines * Integrated H/W Assisted Motion Compensation Engine * Integrated 230 MHz DAC * Digital Video Out (DVO) Interface Port to communicate to VCH for mobile LVDS flat panel interface support and TV encoder support * Communicates to ICH2-M via Hub interface * Local memory Display Cache at 100/133 MHz * 2X/4X AGP Controller Port * ACPI 1.0 power management Figure 2. Intel(R) 815EM Chipset GMCH2-M Block Diagram Processor Side Bus (100 Mhz) Processor Interface System Memory Interface SDRAM 100 MHz 64 bit Primary Display Display Cache or AGP 2X/4X card AGP Interface Local Memory Interface Overlay Data Stream Control & Dispatch Popup + Cursor RAMDAC Monitor DVO port Digital Video Out Port 3D Pipeline 2D (Blit Engine) Internal Graphics C3/C2/S1/S3 Support Hub Interface Intel(R) 815EM Chipset 815EM CS Blk Diag 16 Datasheet Intel(R) 82815EM GMCH R 1.5. Host Interface The host interface of the Intel(R) 815EM chipset GMCH2-M is optimized to support the mobile Intel(R) Pentium(R) III processor, and the mobile Intel(R) Celeron processor in uBGA and uPGA packages. The GMCH2-M implements the host address, control, and data bus interfaces within a single device. The GMCH2-M supports a 4-deep in-order queue (i.e., supports pipelining of up to four outstanding transaction requests on the host bus). Host bus addresses are decoded by the GMCH2-M for access to system memory, PCI memory, I/O (via hub interface), PCI configuration space and Graphics memory. The GMCH2-M takes advantage of the pipelined addressing capability of the processor to improve the overall system performance. Datasheet 17 Intel(R) 82815EM GMCH R 1.6. System Memory Interface The Intel(R) 815EM chipset GMCH2-M integrates a system memory controller that supports a 64-bit, 100-MHz SDRAM array. The only DRAM type supported is industry standard Synchronous DRAM (SDRAM). The SDRAM controller interface is fully configurable through a set of control registers. Complete descriptions of these registers will be available in a future revision of this document. The GMCH2-M supports industry standard 64-bit wide DIMMs for desktop platforms and SO-DIMMs for mobile platforms with SDRAM devices. The twelve multiplexed address lines, SMAA[12:0], along with the two bank select lines, SBS[1:0], allow the GMCH2-M to support 2M, 4M, 8M, and 16M x64 DIMMs. Only asymmetric addressing is supported. The GMCH2-M has 12 SCS# lines enabling the support of up to six 64-bit rows of SDRAM. The GMCH2-M targets SDRAM with CL2 and CL3 and supports both single and double-sided DIMMs for desktop and SO-DIMMs for mobile platforms. Additionally, the GMCH2-M also provides a seven deep refresh queue. The GMCH2-M can be configured to keep multiple pages open within the memory array. Pages can be kept open in any one bank of memory. SCKE[5:0] is used in configurations requiring powerdown mode for the SDRAM. Each SCKE can be dynamically powerdown if not in use. This scheme will save significant amount of power since only one SO-DIMM at any given time will be functional and all the rest will be powered down. 1.7. Multiplexed AGP and Display Cache Interface The Intel(R) 815EM chipset GMCH2-M multiplexes a display cache interface for internal graphics 3D performance improvement with an AGP controller interface. The Display Cache is used only in the internal graphics. When an AGP card is populated in the system, the Intel(R) 815EM chipset GMCH2-M internal graphics will be disabled and the AGP controller enabled. 1.8. AGP Interface A single AGP port is supported by the GMCH2-M AGP interface. The AGP buffers operate in one of two selectable modes: * 3.3V drive, not 5 volt safe - This mode is compliant to the AGP 1.0 and 2.0 specs. * 1.5V drive, not 3.3 volt safe - This mode is compliant with the AGP 2.0 spec. The following table shows the AGP Data Rate and the Signaling Levels supported by the GMCH2-M: Table 1. AGP Data Rate and Signaling Levels Signaling Level 18 Data Rate 1.5v 3.3v 1x AGP Yes Yes 2x AGP Yes Yes 4x AGP Yes No Datasheet Intel(R) 82815EM GMCH R The AGP interface supports 4x AGP signaling. AGP semantic (PIPE# or SBA[7:0]) cycles to SDRAM are not snooped on the host bus. AGP FRAME# cycles to SDRAM are snooped on the host bus. The GMCH2-M supports PIPE# or SBA[7:0] AGP address mechanisms, but not both simultaneously. Either the PIPE# or the SBA[7:0] mechanism must be selected during system initialization. High priority accesses are supported. Only memory writes from the hub interface to AGP are allowed. No transactions from AGP to the hub interface are allowed. 1.8.1. Display Cache Interface The Intel(R) 815EM chipset integrates a Display Cache SDRAM controller for enhanced 3D performance. The maximum memory support is 4 MB. The Display Cache Interface is multiplexed with the AGP controller interface to provide options for both the value mobile segment and main stream performance platforms configuration with the Intel(R) 815EM chipset. When the AGP port is populated with an AGP graphics device the integrated graphics is disabled and thus the display cache interface is not needed. The Intel(R) 815EM chipset GMCH2-M supports a Display Cache SDRAM controller with a 32-bit 133MHz SDRAM array. The DRAM type supported is industry standard Synchronous DRAM (SDRAM) like that of the system memory. The local memory SDRAM controller interface is fully configurable through a set of control registers. For more details on the registers, consult the Extensions to the Pentium(R) Pro Processor BIOS Writer's Guide Revision 3.6 and higher. 1.9. Hub Interface The hub interface is a private interconnect between the GMCH2-M and the ICH2-M. 1.10. GMCH2-M Integrated Graphics (GFX) Support The GMCH2-M includes a highly integrated 2D/3D graphics accelerator (GFX) and is PC99a compliant. Its architecture consists of dedicated multi-media engines executing in parallel to deliver high performance graphics and video capabilities which includes integrated 3D graphics engine, 2D graphics engine, video engine, display pipeline, and motion compensation HW accelerator. The 3D and 2D engines are managed by a 3D/2D pipeline preprocessor allowing a sustained flow of graphics data to be rendered and displayed. The deeply pipelined 3D accelerator engine provides 3D graphics quality and performance via per-pixel 3D rendering and parallel data paths which allow each pipeline stage to simultaneously operate on different primitives or portions of the same primitive. The GMCH2-M graphics accelerator engine supports perspective-correct texture mapping, trilinear and anisotropic filtering, Mip-Mapping, Gouraud shading, alpha-blending, fogging and Z-buffering. A rich set of 3D instructions permit these features to be independently enabled or disabled. The GMCH2-M integrated graphics accelerator's 2D capabilities include BLT and arithmetic STRBLT engines, a hardware cursor, a popup window and an extensive set of 2D registers and instructions. The high performance 64-bit BitBLT engine provides hardware acceleration for many common Windows operations. In addition to its 2D/3D capabilities, the GMCH2-M integrated graphics accelerator also supports full MPEG-2 motion compensation for software-assisted DVD video playback, a VESA DDC2B compliant display interface and a digital video out port to interface to the VCH for panel support. Datasheet 19 Intel(R) 82815EM GMCH R 1.10.1. Intel Dynamic Video Memory Technology (D.V.M.T.) The internal graphics device on the GMCH2-M supports Intel Dynamic Video Memory Technology. Intel(R) D.V.M.T. dynamically responds to application requirements by allocating the proper amount of display and texturing memory taken from system memory. For the GMCH2-M, a Display Cache (DC) can be used for Z-buffers (Textures and display buffer are located in system memory). If the display cache is not used, the Z-buffer is located in system memory. 1.10.2. Display The GMCH2-M provides interfaces to a standard progressive scan monitor. This interface is only active when running in internal graphics mode. The Intel(R) 815EM chipset GMCH2-M directly drives a standard progressive scan monitor up to a resolution of 1600x1200 pixels. 1.10.3. Digital Video Out Port (DVO) The GMCH2-M provides a Digital Video Out port to connect to the Video Controller Hub (VCH) to connect to CMOS or LVDS flat panel interfaces. The interface has 1.8V signaling to allow it to operate at higher frequencies. The VCH also has an interface to connect to a TV encoder. The TV encoder must support the DVO interface. 1.11. System Clocking The GMCH2-M has a new type of clocking architecture. It has integrated SDRAM buffers that runs at 100 MHz, regardless of processor side bus frequency. The GMCH2-M uses a 48-MHz clock as the reference clock (DCLKREF) input for the graphics pixel clock PLL. 1.12. GMCH2-M Power Delivery The GMCH2-M core voltage is 1.8V. System Memory runs off of a 3.3V supply. Display cache memory runs off of the AGP 3.3V supply. AGP 1X/2X I/O can run off of either a 3.3V or a 1.5V supply. AGP 4X I/O requires a 1.5V supply. The AGP interface voltage is determined by the VDDQ generation on the motherboard. 1.13. References * GTL+ I/O Specification: Contained in the Pentium(R) II Processor Databook * PCI Local bus Specification 2.2: Contact www.pcisig.com 20 Datasheet Intel(R) 82815EM GMCH R 2. Signal Description This section provides a detailed description of the Intel(R) 815EM chipset GMCH2-M signals. The signals are arranged in functional groups according to their associated interface. The states of all of the signals during reset are provided in the System Reset section. The "#" symbol at the end of a signal name indicates that the active, or asserted state occurs when the signal is at a low voltage level. When "#" is not present after the signal name the signal is asserted when at the high voltage level. The following notations are used to describe the signal type: I Input pin O Output pin I/OD Input / Open Drain Output pin. This pin requires a pullup 3.3V. I/O Bi-directional Input/Output pin s/t/s Sustained Tristate. This pin is driven to its inactive state prior to tri-stating. as/t/s Active Sustained Tristate. This applies to some of the hub interface signals. This pin is weakly driven to its last driven value. The signal description also includes the type of buffer used for the particular signal: GTL+ Open Drain GTL+ interface signal. Refer to the GTL+ I/O Specification for complete details. These signals will be actively driven high for a short period of time to assist timing when the Intel(R) 815EM chipset is configured for 100-MHz Host interface. GTL+ signals are inverted bus signals where a low voltage represents a logical "1". AGP AGP interface signals. These signals can be programmed to be compatible with AGP 2.0 3.3V or 1.5V Signaling Environment DC and AC Specifications. In 3.3V mode the buffers are not 5V tolerant. In 1.5V mode the buffers are not 3.3V tolerant. CMOS The CMOS buffers are Low Voltage TTL compatible signals. These are 3.3V only. LVTTL Low Voltage TTL compatible signals. There are 3.3V only. 1.8V 1.8V signals for the digital video interface Analog Analog CRT Signals Note: That the processor address and data bus signals (Host Interface) are logically inverted signals (i.e., the actual values are inverted of what appears on the processor bus). This must be taken into account and the addresses and data bus signals must be inverted inside the Intel(R) 815EM chipset GMCH2-M. All processor control signals follow normal convention. A 0 indicates an active level (low voltage) if the Datasheet 21 Intel(R) 82815EM GMCH R signal is followed by # symbol and a 1 indicates an active level (high voltage) if the signal has no # suffix. The following table shows the Vtt/Vdd and Vref levels for the various interfaces: Table 2. Voltage Levels for Each Interface 2.1. Interface Vtt/Vdd (nominal) Vref GTL+ 1.5v 2/3 * Vtt AGP 1.5v 3.3v 1.5v: 0.5 * Vagpdd 3.3v: 0.4 * Vagpdd Hub Interface 1.8v 0.5 * Vdd Host Interface Signals Signal Name Type Description CPURST# O GTL+ CPU Reset: The GMCH2-M asserts CPURST# while RESET# (PCIRST# from ICH2-M) is asserted and for approximately 1ms after RESET# is deasserted. The GMCH2-M also pulses CPURST# for approximately 1ms when requested via a hub interface special cycle. The CPURST# allows the processor to begin execution in a known state. HA [31:3]# I/O GTL+ Host Address Bus: HA[31:3]# connect to the processor address bus. During processor cycles, HA[31:3]# are inputs. The GMCH2-M drives HA[31:3]# during snoop cycles on behalf of Primary PCI. Note that the address bus is inverted on the processor bus. A low value on HA[15]# sampled at the rising edge of CPURST# informs the processor to support Quick-Start stop clock mode. If HA[15]# is sampled high at CPURST# rising edge, it informs the processor to support Stop-Grant mode. 22 HD [63:0]# I/O GTL+ Host Data: These signals are connected to the processor data bus. Note that the data signals are inverted on the processor bus. ADS# I/O GTL+ Address Strobe: The processor bus owner asserts ADS# to indicate the first of two cycles of a request phase. BNR# I/O GTL+ Block Next Request: Used to block the current request bus owner from issuing a new request. This signal is used to dynamically control the processor bus pipeline depth. BPRI# O GTL+ Priority Agent Bus Request: The GMCH2-M is the only Priority Agent on the processor bus. It asserts this signal to obtain the ownership of the address bus. This signal has priority over symmetric bus requests and will cause the current symmetric owner to stop issuing new transactions unless the HLOCK# signal was asserted. DBSY# I/O GTL+ Data Bus Busy: Used by the data bus owner to hold the data bus for transfers requiring more than one cycle. DEFER# O GTL+ Defer: The GMCH2-M will generate a deferred response as defined by the rules of the GMCH2-M dynamic defer policy. The GMCH2-M will also use the DEFER# signal to indicate a processor retry response. DRDY# I/O GTL+ Data Ready: Asserted for each cycle that data is transferred. HIT# I/O GTL+ Hit: Indicates that a caching agent holds an unmodified version of the requested line. Also driven in conjunction with HITM# by the target to extend the snoop window. Datasheet Intel(R) 82815EM GMCH R Signal Name Description HITM# I/O GTL+ Hit Modified: Indicates that a caching agent holds a modified version of the requested line and that this agent assumes responsibility for providing the line. HITM# is also driven in conjunction with HIT# to extend the snoop window. HLOCK# I GTL+ Host Lock: All processor bus cycles sampled with the assertion of HLOCK# and ADS#, until the negation of HLOCK# must be atomic (i.e. no Hub interface or GMCH2-M graphics snoopable access to SDRAM is allowed when HLOCK# is asserted by the processor). HREQ [4:0]# I/O GTL+ Host Request Command: Asserted during both clocks of request phase. In the first clock, the signals define the transaction type to a level of detail that is sufficient to begin a snoop request. In the second clock, the signals carry additional information to define the complete transaction type. The transactions supported by the GMCH2M are defined in the Host Interface section of this document. HTRDY# I/O GTL+ Host Target Ready: Indicates that the target of the processor transaction is able to enter the data transfer phase. RS [2:0]# I/O GTL+ Response Signals: Indicates type of response as shown below: GTLREF[1:0] Datasheet Type I RS[2:0] Response type 000 Idle state 001 Retry response 010 Deferred response 011 Reserved (not driven by the GMCH2-M) 100 Hard Failure (not driven by the GMCH2-M) 101 No data response 110 Implicit Writeback 111 Normal data response GTL Reference: Reference voltage input for the Host GTL+ interface. GTLREF is 2/3* VTT. VTT is nominally 1.5v. 23 Intel(R) 82815EM GMCH R 2.2. System Memory Interface Signals Signal Name SMAA [12:0] SMAB [7:4]# SMAC [7:4]# Type O CMOS Description Memory Address: SMAA [12:0], SMAB [7:4]#, and SMAC [7:4]# are used to provide the multiplexed row and column address to SDRAM. SMAB[7:4]# and SMAC[7:4]# are inverted (180 degrees out of phase) versions of SMAA[7:4]. SMAC[5]# is default high when sampled for the 815EM to drive HA[15]# high at CPURST# deassertion time to indicate to the processor to support C2 Stop-Grant mode. When SMAC[5]# is sampled low, the 815EM will drive HA[15]# low at CPURST# deassertion time for the processor to support C2 Quick-Start mode. SBS[1:0] O CMOS Memory Bank Select: These signals define the banks that are selected within each DRAM row. The SMAn and SBS signals combine to address every possible location within a DRAM device. SBS[1:0] may be heavily loaded and require 2 SDRAM clock cycles for setup time to the SDRAM's. For this reason, all chip select signals (SCSA[5:0]# and SCSB[5:0]#) must be deasserted on any SDRAM clock cycle that one of these signals change. 2.3. SMD [63:0] I/O CMOS Memory Data: These signals are used to interface to the SDRAM data bus. SDQM [7:0] O CMOS Input/Output Data Mask: These pins act as synchronized output enables during read cycles and as a byte enables during write cycles. SCSA [5:0]# SCSB [5:0]# O CMOS Chip Select: For the memory row configured with SDRAM, these pins perform the function of selecting the particular SDRAM components during the active state. SRAS# O CMOS SDRAM Row Address Strobe: These signals drive the SDRAM array directly without any external buffers. SCAS# O CMOS SDRAM Column Address Strobe: These signals drive the SDRAM array directly without any external buffers. SWE# O CMOS Write Enable Signal: SWE# is asserted during writes to SDRAM. SCKE [5:0] O CMOS System Memory Clock Enable: SCKE SDRAM Clock Enable is used to signal a self-refresh or power-down command to an SDRAM array when entering system suspend. SCKE is also used to dynamically power down inactive SDRAM rows. SRCOMP I/O System Memory RCOMP: Used to calibrate the System memory I/O buffers. AGP Interface Signals For more details on the operation of these signals, refer to the AGP Interface Specification Revision 2.0. Some of the AGP interfaces are multiplexed with Display Cache interface signals. AGP interface signals only function as documented in this section when Intel(R) 815EM chipset AGP interface is enabled (Intel(R) 815EM chipset integrated graphics disabled). Refer to Section 2.12 for multiplexing map of AGP to Display Cache interface signals. 2.3.1. AGP Addressing Signals There are two mechanisms by which the AGP master can enqueue AGP requests: PIPE# and SBA (sideband addressing). Upon initialization, one of the methods is chosen. The master may not switch methods 24 Datasheet Intel(R) 82815EM GMCH R without a full reset of the system. When PIPE# is used to enqueue addresses, the master is not allowed to queue addresses using the SBA bus. For example, during configuration time, if the master indicates that it can use either mechanism, the configuration software will indicate which mechanism the master will use. Once this choice has been made, the master will continue to use the mechanism selected until the system is reset (and reprogrammed) to use the other mode. This change of modes is not a dynamic mechanism but rather a static decision when the device is first being configured after reset. Signal Name PIPE# Type I AGP Description Pipeline Read During PIPE# Operation: This signal is asserted by the AGP master to indicate a full-width address is to be enqueued on by the target using the AD bus. One address is placed in the AGP request queue on each rising clock edge while PIPE# is asserted. During SBA Operation: This signal is not used if SBA (Side Band Addressing) is selected. During FRAME# Operation: This signal is not used during AGP FRAME# operation. SBA[7:0] I AGP Side-band Addressing During PIPE# Operation: These signals are not used during PIPE# operation. During SBA Operation: These signals (the SBA, or side-band addressing, bus) are used by the AGP master (graphics component) to place addresses into the AGP request queue. The SBA bus and AD bus operate independently. That is, transactions can proceed on the SBA bus and the AD bus simultaneously. During FRAME# Operation: These signals are not used during AGP FRAME# operation. Datasheet 25 Intel(R) 82815EM GMCH R 2.3.2. AGP Flow Control Signals Signal Name RBF# Type I AGP Description Read Buffer Full During PIPE# and SBA Operation: Read buffer full indicates if the master is ready to accept previously requested low priority read data. When RBF# is asserted the GMCH2-M is not allowed to initiate the return low priority read data. That is, the GMCH2-M can finish returning the data for the request currently being serviced, however it cannot begin returning data for the next request. RBF# is only sampled at the beginning of a cycle. If the AGP master is always ready to accept return read data then it is not required to implement this signal. During FRAME# Operation: This signal is not used during FRAME# operation. WBF# I AGP Write-Buffer Full During PIPE# and SBA Operation: Write buffer full indicates if the master is ready to accept Fast Write data from the GMCH2-M. Intel 815EM chipset does not support the use of AGP Fast Writes. If the AGP master is always ready to accept fast write data then it is not required to implement this signal. During FRAME# Operation: This signal is not used during FRAME# operation. GMCK I/OD CMOS 2.3.3. GMBus: When configured by register GMBUS[2:0], GMCK becomes a bidirectional clock signal between master GMCH2-M and slave VCH. AGP Status Signals Signal Name ST[2:0] Type O AGP Description Status Bus During PIPE# and SBA Operation: Provides information from the arbiter to a AGP Master on what it may do. ST[2:0] only have meaning to the master when its GNT# is asserted. When GNT# is deasserted these signals have no meaning and must be ignored. Refer to the AGP Interface Specificaiton revision 2.0 for further explanation of the ST[2:0] values and their meanings. During FRAME# Operation: These signals are not used during FRAME# based operation; except that a `111' indicates that the master may begin a FRAME# transaction. 26 Datasheet Intel(R) 82815EM GMCH R 2.3.4. AGP Clocking Signals - Strobes Signal Name ADSTB0 Type I/O s/t/s AGP Description AD Bus Strobe-0 During 2X Operation: During 2X operation, this signal provides timing for the GAD[15:0] and GCBE[1:0]# signals. The agent that is providing the data will drive this signal. During 4X Operation: During 4X operation, this is one-half of a differential strobe pair that provides timing information for GAD[15:0] and GCBE[1:0]# signals. ADSTB0# I/O s/t/s AGP AD Bus Strobe-0 Compliment During 2X Operation: During 2X operation, this signal is not used. During 4X Operation: During 4X operation, this is one-half of a differential strobe pair that provides timing information for GAD[15:0] and GCBE[1:0]# signals. The agent that is providing the data will drive this signal. ADSTB1 I/O s/t/s AGP AD Bus Strobe-1 During 2X Operation: During 2X operation, this signal provides timing for AD[16:31] and C/BE[2:3]# signals. The agent that is providing the data will drive this signal. During 4X Operation: During 4X operation, this is one-half of a differential strobe pair that provides timing information for the GAD[16:31] and GCBE[2:3]# signals. The agent that is providing the data will drive this signal. ADSTB1# I/O s/t/s AGP AD Bus Strobe-1 Compliment During 2X Operation: During 2X operation, this signal is not used During 4X Operation: During 4X operation, this is one-half of a differential strobe pair that provides timing information for the GAD[16:31] and GCBE[2:3]# signals. The agent that is providing the data will drive this signal. SBSTB I AGP SBA Bus Strobe During 2X Operation: During 2X operation, this signal provides timing for the SBA bus signals. The agent that is driving the SBA bus will drive this signal. During 4X Operation: During 4X operation, this is one-half of a differential strobe pair that provides timing information for the SBA bus signals. The agent that is driving the SBA bus will drive this signal. SBSTB# I AGP SBA Bus Strobe Compliment During 2X Operation: During 2X operation, this signal is not used. During 4X Operation: During 4X operation, this is one-half of a differential strobe pair that provides timing information for the SBA bus signals. The agent that is driving the SBA bus will drive this signal. Datasheet GRCOMP I/O AGP RCOMP: Used to calibrate AGP I/O buffers. This signal pin must be connected to a PCB trace representative of the AGP bus data signal traces but sufficiently long to present a long shelf before signal reflection occurs. The AGP buffers are calibrated based on the measured shelf voltage. AGPREF I AGP Reference: Reference voltage input for the AGP interface. AGPREF should be 0.4*VDDAGP when VDD is 3.3V, or 0.5* VDDAGP when VDD is 1.5V. 27 Intel(R) 82815EM GMCH R 2.3.5. AGP FRAME# Signals Signal Name GFRAME# Type I/O s/t/s AGP Description FRAME: During PIPE# and SBA Operation: Not used by AGP SBA and PIPE# operation. During FRAME# Operation: GFRAME# is an output when the GMCH2-M acts as an initiator on the AGP Interface. GFRAME# is asserted by the GMCH2-M to indicate the beginning and duration of an access. GFRAME# is an input when the GMCH2-M acts as a FRAME# based AGP target. As a FRAME# based AGP target, the GMCH2-M latches the C/BE[3:0]# and the AD[31:0] signals on the first clock edge on which it samples FRAME# active. GIRDY# I/O s/t/s AGP Initiator Ready: During PIPE# and SBA Operation: Not used while enqueueing requests via AGP SBA and PIPE#, but used during the data phase of PIPE# and SBA transactions. GIRDY# indicates the AGP compliant master is ready to provide all write data for the current transaction. Once IRDY# is asserted for a write operation, the master is not allowed to insert wait states. The assertion of IRDY# for reads indicates that the master is ready to transfer to a subsequent block (32 bytes) of read data. The master is never allowed to insert a wait state during the initial data transfer (32 bytes) of a read transaction. However, it may insert wait states after each 32 byte block is transferred. (There is no relationship between GFRAME# and GIRDY# for AGP transactions.) GTRDY# I/O s/t/s AGP Target Ready: During PIPE# and SBA Operation: Not used while enqueueing requests via AGP SBA and PIPE#, but used during the data phase of PIPE# and SBA transactions. GTRDY# indicates the AGP compliant target is ready to provide read data for the entire transaction (when the transfer size is less than or equal to 32 bytes). In write case, it is ready to transfer the initial or subsequent block (32 bytes) of data when the transfer size is greater than 32 bytes. The target is allowed to insert wait states at the end of each block data transfer(32 bytes). Each 32-byte block is transferred on both read and write transactions. GSTOP# I/O s/t/s AGP Stop: During PIPE# and SBA Operation:This signal is not used for PIPE# or SBA operation. During FRAME# Operation: STOP# is an input when the GMCH2-M acts as a FRAME# based AGP initiator and an output when the GMCH2-M acts as a FRAME# based AGP target. STOP# is used for disconnect, retry, and abort sequences on the AGP interface. GDEVSEL# I/O s/t/s AGP Device Select: During PIPE# and SBA Operation:This signal is not used during PIPE# or SBA operation. During FRAME# Operation: GDEVSEL#, when asserted, indicates that a FRAME# based AGP target device has decoded its address as the target of the current access. The GMCH2-M asserts GDEVSEL# based on the SDRAM address range being accessed by a PCI initiator. As an input it indicates whether any device on the bus has been selected. GREQ# I AGP Request: During SBA Operation: This signal is not used during SBA operation. During PIPE# and FRAME# Operation: GREQ#, when asserted, indicates that a FRAME# or PIPE# based AGP master is requesting use of the AGP interface. 28 Datasheet Intel(R) 82815EM GMCH R Signal Name GGNT# GMDA Type Description O AGP Grant: I/OD GMBUS: When configured by register GMBUS[2:0], GMDA becomes a bidirectional I/O data signal between master GMCH2-M and slave VCH. During SBA, PIPE# and FRAME# Operation: GGNT# along with the information on the ST[2:0] signals (status bus) indicates how the AGP interface will be used next. Refer to the AGP Interface Specificaiton revision 2.0 for further explanation of the ST[2:0] values and their meanings. CMOS GAD [31:0] I/O AGP Address/Data Bus: During PIPE# and FRAME# Operation: GAD[31:0] are used to transfer both address and data information on the AGP inteface. During SBA Operation: GAD[31:0] are used to transfer data on the AGP interface. GCBE [3:0]# I/O AGP Command/Byte Enable: During FRAME# Operation: During the address phase of a transaction, GCBE[3:0]# define the bus command. During the data phase GCBE[3:0]# are used as byte enables. The byte enables determine which byte lanes carry meaningful data. The commands issued on the GCBE# signals during FRAME# based AGP are the same GCBE# command described in the PCI 2.1 and 2.2 specifications. During PIPE# Operation: When an address is enqueued using PIPE#, the C/BE# signals carry command information. Refer to the AGP 2.0 Interface Specification Revision 2.0 for the definition of these commands. The command encoding used during PIPE# based AGP is DIFFERENT than the command encoding used during FRAME# based AGP cycles (or standard PCI cycles on a PCI bus). During SBA Operation: These signals are not used during SBA operation. GPAR I/O AGP Parity: During FRAME# Operation: GPAR is driven by the GMCH2-M when it acts as a FRAME# based AGP initiator during address and data phases for a write cycle, and during the address phase for a read cycle. GPAR is driven by the GMCH2-M when it acts as a FRAME# based AGP target during each data phase of a FRAME# based AGP memory read cycle. Even parity is generated across GAD[31:0] and GCBE[3:0]#. During SBA and PIPE# Operation: This signal is not used during SBA and PIPE# operation. NOTES: 1. LOCK#, SERR#, and PERR# signals are not supported on the AGP Interface (even for PCI operations). 2. PCI signals described in this table behave according to PCI 2.1 specifications when used to perform PCI transactions on the AGP interface. Datasheet 29 Intel(R) 82815EM GMCH R 2.3.6. AGP C3 support Signals The following pin is associated with ACPI C3 support. Signal Name AGPBUSY# Type Description OD AGP Bus Busy: CMOS This signal is generated either by the AGP Graphics Chip in AGP mode or by the GMCH2-M in graphics mode, but not by both. This is an input to the ICH2-M. In AGP mode, Asserted (active low): When asserted, AGPBUSY# indicates that the AGP device is currently busy and requests that the system not transition to the C3 state. However, assertion of AGPBUSY# does not guarantee that the system will not enter the C3 state or perform an Intel SpeedStepTM technology transition. If system is in C3 state, then the assertion of AGPBUSY# is used to request that the system exit from the C3 state. The AGP GC must assert AGPBUSY# whenever the AGP GC has a pending request to use the AGP interface. The AGP GC must assert AGPBUSY# regardless of which protocol it intends to use on the AGP interface: SBA, PIPE#, or PCI. AGPBUSY# may only be asserted by the AGP GC when AGPBUSY# is in the D0 state and should not be asserted in the D1, D2, or D3 states. Deasserted (high): When deasserted, AGPBUSY# indicates that the AGP device is not busy and has no need to use the AGP interface. In Graphics mode, Asserted (active low): When asserted, AGPBUSY# indicates the internal graphics unit is requesting snoop or having interrupt request to be serviced. Therefore, it requests that the system not transition to the C3 state. However, assertion of AGPBUSY# does not guarantee that the system will not enter the C3 state or perform an Intel SpeedStepTM technology transition. If system is in C3 state, then the assertion of AGPBUSY# is used to request that the system exit from the C3 state. Deasserted (high): When deasserted, AGPBUSY# indicates the internal graphics unit has no pending snoop request nor graphics interrupt request. 30 Datasheet Intel(R) 82815EM GMCH R 2.4. Display Cache Interface Signals Some of the Display Cache interface signals are multiplexed with AGP interface signals. Display Cache interface signals only function as documented in this section when Intel(R) 815EM chipset integrated graphics is enabled (Intel(R) 815EM chipset AGP interface disabled). Refer to Section 2.12 for multiplexing map of AGP to Display Cache interface signals. Signal Name Type Description LCS# O CMOS Chip Select: For the memory row configured with SDRAM, this pin performs the function of selecting the particular SDRAM components during the active state. LDQM[3:0] O AGP Input/Output Data Mask: These pins control the memory array and act as synchronized output enables during read cycles and as a byte enables during write cycles. LRAS# O CMOS SDRAM Row Address Strobe: The LRAS# signal is used to generate SDRAM Command encoded on LRAS#/LCAS#/LWE# signals. When LRAS# is sampled active at the rising edge of the SDRAM clock, the row address is latched into the SDRAMs. LCAS# O CMOS SDRAM Column Address Strobe: The LSCAS# signal is used to generate SDRAM Command encoded on LSRAS#/LSCAS#/LWE# signals. When LSCAS# is sampled active at the rising edge of the SDRAM clock, the column address is latched into the SDRAMs. LMA[11:0] O AGP Memory Address: LMA[11:0] is used to provide the multiplexed row and column address to SDRAM. LWE# O CMOS Write Enable Signal: LWE# is asserted during writes to SDRAM. LMD[31:0] I/O AGP Memory Data: These signals are used to interface to the SDRAM data bus of SDRAM array. L_FSEL I CMOS Display Cache Frequency Select: This signal indicates whether the display cache is to run at 100MHz or 133MHz. The value of this pin is sampled at de-assertion of CPURST# to determine display cache frequency. HIGH = 133MHz (Default) LOW = 100MHz Note: L_FSEL has a weak internal pull-up enabled during reset. Note: 100MHz display cache is a non-validated feature and should be implemented only if OEM performs validation specifically on this feature. Datasheet 31 Intel(R) 82815EM GMCH R 2.5. Hub Interface Signals Signal Name 2.6. Description HL[10:0] I/O Hub Interface Signals: Signals used for the hub interface. HLSTRB I/O Packet Strobe: One of two differential strobe signals used to transmit or receive packet data. HLSTRB# I/O Packet Strobe Compliment: One of two differential strobe signals used to transmit or receive packet data. HLREF I Ref HUB reference: Sets the differential voltage reference for the hub interface. Display Interface Signals Signal Name 32 Type Type Description VSYNC O 3.3V CRT Vertical Synchronization: This signal is used as the vertical sync (polarity is programmable) or " Vsync Interval". HSYNC O 3.3V CRT Horizontal Synchronization: This signal is used as the horizontal sync (polarity is programmable) or " Hsync Interval". IWASTE I Ref Waste Reference: This signal must be tied to ground. IREF I Ref Set pointer resistor for the internal color palette DAC. A 174 ohm 1% resistor is recommended RED O Analog CRT Analog video output from the internal color palette DAC: The DAC is designed for a 37.5 ohms equivalent load on each pin (e.g. 75 ohms resistor on the board, in parallel with the 75 ohms CRT load) GREEN O Analog CRT Analog video output from the internal color palette DAC: The DAC is designed for a 37.5 ohms equivalent load on each pin (e.g. 75 ohms resistor on the board, in parallel with the 75 ohms CRT load) BLUE O Analog CRT Analog video output from the internal color palette DAC: The DAC is designed for a 37.5 ohms equivalent load on each pin (e.g., 75 ohms resistor on the board, in parallel with the 75 ohms CRT load) DDCK I/O CMOS CRT Monitor DDC Interface Clock: (Also referred to as VESATM "Display Data Channel", also referred to as the "Monitor Plug-n-Play" interface.) For DDC1, DDCK and DDDA provide a unidirectional channel for Extended Display ID. For DDC2, 2 DDCK and DDDA can be used to establish a bi-directional channel based on I C protocol. The host can request Extended Display ID or Video Display Interface information over the DDC2 channel. DDDA I/O CMOS CRT Monitor DDC Interface Data: See DDCK Description Datasheet Intel(R) 82815EM GMCH R 2.7. Digital Video Output Signals/TV-Out Pins Signal Name LTVCLKIN/STALL (DVOCLKIN) Type I 1.8V Description Low Voltage TV Clock In (TV-Out Mode): In 1.8V TV-Out usage, the TVCLKIN pin functions as a pixel clock input to the GMCH2-M from the TV encoder. The TVCLKIN frequency ranges from 20MHz to 40MHz depending on the mode (e.g., NTSC or PAL) and the overscan compensation values in the TV Encoder. CLKIN has a worse case duty cycle of 60%/40% coming in to the GMCH2-M. Flat Panel Interrupt (LCD Mode): STALL flow control: This signal comes from the external VCH chip. This signal is asserted when VCH is not ready (R) to take in display data from Intel 815EM chipset. LTVCLKOUT[1:0] (DVOCLKOUT[1:0]) O 1.8V LCD/TV Port Clock Out: These pins provide a differential pair reference clock that can run up to 85MHz. LTVBLANK# (DVOBLANK) O 1.8V Flicker Blank or Border Period Indication: BLANK# is a programmable output pin driven by the graphics control. When programmed as a blank period indication, this pin indicates active pixels excluding the border. When programmed as a border period indication, this pin indicates active pixel including the border pixels. LTVDATA[11:0] (DVODATA[11:0]) O 1.8V LCD/TV Data: These signals are used to interface to the LCD/TV-out data bus. LTVVSYNC (DVOVSYNC) O 1.8V Vertical Sync: VSYNC signal for the LTV interface. The active polarity of the signal is programmable. LTVHSYNC (DVOHSYNC) O 1.8V Horizontal Sync: HSYNC signal for the LTV interface. The active polarity of the signal is programmable. LTVCK (DVOI2CCLK) I/OD CMOS LCD/TV Clock: Clock pin for 2-wire interface. LTVDA (DVOI2CDATA) I/OD CMOS LCD/TV Data: Data pin for 2-wire interface. INTRPT# (DVOINT#) I INTRPT#: This dedicated pin indicates an interrupt when low. This is used to support display device hot plug. CMOS Datasheet 33 Intel(R) 82815EM GMCH R 2.8. Power Signals Signal Name 2.9. Description V_1.8 Power Core Power (1.8V) VDDQ Power AGP I/O and Display Cache Buffer Supply Power VSUS_3.3 Power System Memory Buffer Power (Separate 3.3V power plane for power down modes) VCCDA Power Display Power Signal (Connect to an isolated 1.8V plane with VCCDACA1 and VCCDACA2) VCCDACA1 Power Display Power Signal (Connect to an isolated 1.8V plane with VCCDA and VCCDACA2) VCCBA Power AGP/Hub I/F Power (1.8V) VCCDACA2 Power Display Power Signal (Connect to an isolated 1.8V plane with VCCDA and VCCDACA1) VCCDPLL Power System Memory PLL Power (1.8V) VSSDA Power Display Ground Signal VSSDACA Power Display Ground Signal VSS Power Core Ground VSSDPLL Power System Memory PLL Ground VSSBA Power AGP/Hub I/F Ground Clock Signals Signal Name 34 Type Type Description HCLK I CMOS Host Clock Input: Clock used on the host interface. This pin receives a buffered host clock from the external clock synthesizer. Externally generated 100MHz clock. (R) This clock goes to Intel 815EM chipset PSB logic. This clock is also the reference for System Memory, Local Memory, and internal graphics core clocks. The clock synthesizer drives this to 2.5V. SCLK I CMOS System Memory Clock: Clock used on the output buffers of system memory. Externally generated 100MHz clock. LTCLK[1:0] O CMOS Display Cache Transmit Clocks: LTCLK[1:0] are internally generated display cache clocks used to clock the input buffers of the SDRAM devices. LOCLK O CMOS Output Clock: LOCLK is an internally generated clock used to drive LRCLK. LRCLK I CMOS Receive Clock: LRCLK is a display cache clock used to clock the input buffers of the GMCH2-M. DCLKREF I CMOS Display Interface Clock: DCLKREF is a 48MHz clock generated by an external clock synthesizer to the GMCH2-M. HLCLK I CMOS Hub Interface Clock: 66MHz hub interface clock generated by an external clock synthesizer. Datasheet Intel(R) 82815EM GMCH R 2.10. Miscellaneous Interface Signals Signal Name RESET# 2.11. Type I Description Global Reset: Driven by the ICH/ICH0 when PCIRST# is active. Reserved Reserved for future use, Needs to be connected to V_1.8 for backward compatiblity to GMCH2-M. NC No Connect GMCH2-M Power-Up/Reset Strap Options Pin Name Strap Description Configuration Interface Type Buffer Type SBA[7] Local Memory Frequency Select High = 133MHz (default) Low = 100MHz AGP/LM Input SCAS# Host Frequency High = Reserved Low = 100MHz System Memory Bi-directional SMAA [11] IOQ Depth High = 4 (default) Low = 1 System Memory Bi-directional SMAA [10] ALL Z High = Normal System Memory Bi-directional System Memory Bi-directional System Memory Bi-directional Active Low SMAA [9] SMAC[5]# FSB P-MOS Kicker Enable High = Reserved Enable Quick Start Support High = Stop-Grant Support (default) (R) Low = Pentium III processor and Celeron processor support Low = Quick-Start Support NOTES: 1. External reset signal used to sample the straps is Reset#. 2. All system memory reset straps have internal 50K ohm pull-ups during reset. Datasheet 35 Intel(R) 82815EM GMCH R 2.12. Multiplexed Display Cache and AGP Signal Mapping Table 3. Display Cache and AGP signal Mapping Local Memory Signal Name 36 AGP Signal Name Local Memory Signal Name AGP Signal Name LCAS# G_AD26 LMD16 G_AD21 LCKE G_AD24 LMD17 G_AD23 LCS# G_STOP# LMD18 G_AD25 LDQM0 G_AD0 LMD19 G_AD27 LDQM1 G_AD10 LMD2 G_AD5 LDQM2 SBA2 LMD20 G_AD29 LDQM3 ST1 LMD21 G_AD31 L_FSEL SBA7 LMD22 SBA6 LMA0 G_GAD22 LMD23 SBA4 LMA1 G_AD15 LMD24 PIPE# LMA10 G_FRAME# LMD25 SBA1 LMA11/LBA G_AD18 LMD26 SBA3 LMA2 G_AD11 LMD27 G_REQ# LMA3 G_BE0# LMD28 ST0 LMA4 G_AD9 LMD29 ST2 LMA5 G_AD13 LMD3 G_AD3 LMA6 G_PAR LMD30 RBF# LMA7 G_TRDY# LMD31 SBA0 LMA8 G_AD16 LMD4 G_AD1 LMA9 G_AD20 LMD5 G_AD6 LMD0 G_AD8 LMD6 G_AD4 LMD1 G_AD7 LMD7 G_AD2 LMD10 G_BE1# LMD8 G_AD12 LMD11 G_DEVSEL# LMD9 G_AD14 LMD12 G_IRDY# LRAS# G_BE3# LMD13 G_BE2# LTCLK0 G_AD30 LMD14 G_AD17 LTCLK1 G_AD28 LMD15 G_AD19 LWE# SBA5 Datasheet Intel(R) 82815EM GMCH R 3. PCI Configuration Registers This section describes the PCI Configuration Register set. The GMCH2-M contains PCI configuration registers for Device 0 (Host-hub interface Bridge/DRAM Controller), Device 1 (AGP Bridge), and Device 2 (GMCH2-M internal graphics device). The GMCH2-M also contains an extensive set of registers and instructions for controlling its graphics operations. Intel(R) graphics drivers provide the software interface at this architectural level. The register/instruction interface is transparent at the Application Programmers Interface (API) level and thus, beyond the scope of this document. 3.1. Datasheet Register Nomenclature and Access Attributes RO Read Only. If a register is read only, writes to this register have no effect. R/w Read/Write. A register with this attribute can be read and written R/WC Read/Write Clear. A register bit with this attribute can be read and written. However, a write of a 1 clears (sets to 0) the corresponding bit and a write of a 0 has no effect. R/WO Read/Write Once. A register bit with this attribute can be written to only once after power up. After the first write, the bit becomes read only. Reserved Bits Some of the GMCH2-M registers described in this section contain reserved bits. These bits are (R) labeled "Reserved" or "Intel Reserved". Software must deal correctly with fields that are reserved. On reads, software must use appropriate masks to extract the defined bits and not rely on reserved bits being any particular value. On writes, software must ensure that the values of reserved bit positions are preserved. That is, the values of reserved bit positions must first be read, merged with the new values for other bit positions and then written back. Note the software does not need to perform read, merge, write operation for the configuration address register. Reserved Registers In addition to reserved bits within a register, the GMCH2-M contains address locations in the configuration space of the Host-hub interface Bridge/DRAM Controller and the internal graphics (R) device entities that are marked either "Reserved" or Intel Reserved". When a "Reserved" register location is read, a random value can be returned. ("Reserved" registers can be 8-, 16-, or 32-bit in size). Registers that are marked as "Reserved" must not be modified by system software. Writes to "Reserved" registers may cause system failure. Default Value Upon Reset Upon a Full Reset, the GMCH2-M sets all of its internal configuration registers to predetermined default states. Some register values at reset are determined by external strapping options. The default state represents the minimum functionality feature set required to successfully bring up the system. Hence, it does not represent the optimal system configuration. It is the responsibility of the system initialization software (usually BIOS) to properly determine the DRAM configurations, operating parameters and optional system features that are applicable, and to program the GMCH2-M registers accordingly. 37 Intel(R) 82815EM GMCH R 3.2. GMCH2-M Register Introduction The GMCH2-M contains two sets of software accessible registers, accessed via the Host I/O address space: * I/O mapped Control registers in the host I/O space: These register controls the access to PCI configuration space (see section entitled I/O Mapped Registers) * Internal GMCH2-M configuration registers: These are partitioned into three logical device register sets ("logical" since they reside within a single physical device). Device #0: Host-hub interface Bridge/DRAM Controller functionality controls PCI bus 0 such as PCI registers, DRAM configuration, other chip-set operating parameters and optional features. Device #1: The second register block is dedicated to the AGP interface. Device #2: The third block is dedicated to the internal graphics device (GFX) in the GMCH2M. The GMCH2-M supports PCI configuration space accesses using the mechanism denoted as Configuration Mechanism #1 in the PCI specification. The GMCH2-M internal registers (both I/O Mapped and Configuration registers) are accessible by the host. The registers can be accessed as Byte, Word (16-bit), or Dword (32-bit) quantities, with the exception of CONFIG_ADDRESS, which can only be accessed as a Dword. All multi-byte numeric fields use "little-endian" ordering (i.e., lower addresses contain the least significant parts of the field). 3.3. I/O Mapped Registers The GMCH2-M contains two registers that reside in the processor I/O address space * Configuration Address Register (CONFIG_ADDRESS): CONFIG_ADDRESS is a 32 bit register accessed only when referenced as a Dword. A Byte or Word reference will "pass through" the Configuration Address Register onto the PCI0 bus as an I/O cycle. The CONFIG_ADDRESS register contains the PCI Bus Number, PCI Device Number, PCI Function Number, and PCI Register Number for which a subsequent configuration access is intended. The register numbers, bit 7:2 in CONFIG_ADDRESS, is the upper 6 bits of the dword-aligned byte offset address of the selected dword. * Configuration Data Register (CONFIG_DATA): CONFIG_DATA is a 32 bit Read/Write window into the specified dword of the pCI configuration space selected by CONFIG_ADDRESS. The portion of configuration space that is referenced by CONFIG_DATA is determined by the contents of CONFIG_ADDRESS. Reads and writes to the PCI Configuration space can be byte, word, or dword, via I/O read or write instructions to the CONFIG_DATA port. The Configuration Address Register enables/disables the configuration space and determines what portion of configuration space is visible through the Configuration Data window. 38 Datasheet Intel(R) 82815EM GMCH R 3.3.1. CONFIG_ADDRESSConfiguration Address Register I/O Address: Default Value: Access: Size: 0CF8h Accessed as a DWord 00000000h Read/Write 32 bits The CONFIG_ADDRESS register contains the Bus Number, Device Number, Function Number, and Register Number for which a subsequent configuration access is intended. 31 30 24 CFGE 16 Reserved (0) 15 11 Device Number Bit 23 10 Bus Number 8 Function Number 7 2 Register Number 1 0 Reserved Descriptions 31 Configuration Enable (CFGE). When this bit is set to 1 accesses to PCI configuration space are enabled. If this bit is reset to 0 accesses to PCI configuration space are disabled. 30:24 Reserved. These bits are read only and have a value of 0. 23:16 Bus Number. When the Bus Number is programmed to 00h the target of the Configuration Cycle is one of the three devices in the GMCH2-M or the PCI Bus (the hub interface is logically a PCI bus) that is directly connected to the GMCH2-M, depending on the Device Number field. A Type 0 configuration cycle is generated on the hub interface if the Bus Number is programmed to 00h and the GMCH2-M is not the target. A Type 1 configuration cycle is generated on the hub interface if the Bus Number is non-zero, and is less than the value programmed into the SECONDARY BUS NUMBER or is greater than the value programmed into the SUBORDINATE BUS NUMBER Register. A Type 0 PCI configuration cycle is generated on the AGP bridge if the Bus Number is non-zero and matches the value programmed into the SECONDARY BUS NUMBER Register. A Type 1 PCI configuration cycle is generated on the AGP bridge if the Bus Number is non-zero, greater than the value in the SECONDARY BUS NUMBER register and less than or equal to the value programmed into the SUBORDINATE BUS NUMBER Register. Datasheet 39 Intel(R) 82815EM GMCH R Bit 15:11 Descriptions Device Number. This field selects one agent on the PCI bus selected by the Bus Number. During a Type 1 Configuration cycle this field is mapped to AD[15:11]. During a Type 0 Configuration Cycle this field is decoded and one bit among AD[31:11] is driven to a 1. The GMCH2-M is always Device Number 0 for the Host bridge (GMCH2-M) entity, The AGP bridge entity is always Device Number 1 and, The Internal Graphics Device entity is always Device number 2. If the Bus Number is non-zero and matches the value programmed into the SECONDARY BUS NUMBER Register a Type 0 PCI configuration cycle will be generated on the AGP bridge. The Device Number field is decoded and the GMCH2-M asserts one and only one GADxx signal as an IDSEL. GAD16 is asserted to access Device #0, GAD17 for Device #1, GAD18 for Device #2 and so forth up to Device #15 which will assert AD31. All device numbers higher than 15 cause a type 0 configuration access with no IDSEL asserted, which will result in a Master Abort reported in the GMCH2-M's "virtual" PCI-PCI bridge registers. For Bus Numbers resulting in hub interface configuration cycles the GMCH2-M propagates the Device Number field as A[15:11]. For Bus Numbers resulting in AGP bridge Type 1 Configuration cycles the Device Number is propagated as GAD[15:11]. 3.3.2. 10:8 Function Number. This field is mapped to AD[10:8] during PCIx configuration cycles. This allows the configuration registers of a particular function in a multi-function device to be accessed. The GMCH2M only responds to configuration cycles with a function number of 000b; all other function number values attempting access to the GMCH2-M (Device Number = 0, 1 or 2, Bus Number = 0) will generate a master abort. 7:2 Register Number. This field selects one register within a particular Bus, Device, and Function as specified by the other fields in the Configuration Address Register. This field is mapped to AD[7:2] during PCI configuration cycles. 1:0 Reserved. CONFIG_DATAConfiguration Data Register I/O Address: Default Value: Access: Size: 0CFCh 00000000h Read/Write 32 bits CONFIG_DATA is a 32 bit Read/Write window into configuration space. The portion of configuration space that is referenced by CONFIG_DATA is determined by the contents of CONFIG_ADDRESS. 40 Bit Descriptions 31:0 Configuration Data Window (CDW). If bit 31 of CONFIG_ADDRESS is 1 any I/O reference that falls in the CONFIG_DATA I/O space will be mapped to configuration space using the contents of CONFIG_ADDRESS. Datasheet Intel(R) 82815EM GMCH R 3.4. PCI Bus Configuration Mechanism The PCI Bus defines a slot based "configuration space" that allows each device to contain up to 8 functions with each function containing up to 256 8-bit configuration registers. The PCI specification defines two bus cycles to access the PCI configuration space: Configuration Read and Configuration Write. Memory and I/O spaces are supported directly by the processor. Configuration space is supported by a mapping mechanism implemented within the GMCH2-M. The PCI specification defines two mechanisms to access configuration space, Mechanism #1 and Mechanism #2. The GMCH2-M supports only Mechanism #1. The configuration access mechanism makes use of the CONFIG_ADDRESS Register and CONFIG_DATA Register. To reference a configuration register a Dword I/O write cycle is used to place a value into CONFIG_ADDRESS that specifies the PCI bus, the device on that bus, the function within the device, and a specific configuration register of the device function being accessed. CONFIG_ADDRESS[31] must be 1 to enable a configuration cycle. CONFIG_DATA then becomes a window into the four bytes of configuration space specified by the contents of CONFIG_ADDRESS. Any read or write to CONFIG_DATA will result in the GMCH2-M translating the CONFIG_ADDRESS into the appropriate configuration cycle. The GMCH2-M is responsible for translating and routing the processor I/O accesses to the CONFIG_ADDRESS and CONFIG_DATA registers to internal GMCH2-M configuration registers, the internal graphic device, or the hub interface. 3.5. PCI Configuration Space Access The GMCH2-M and the ICH2-M are physically connected via the hub interface. From a configuration standpoint, the hub interface connecting the GMCH2-M and the ICH2-M is logically PCI bus #0. All devices internal to the GMCH2-M and ICH2-M appear to be on PCI bus #0. The system primary PCI expansion bus is physically attached to the ICH2-M and, from a configuration standpoint appears as a hierarchical PCI bus behind a PCI-to-PCI bridge. The primary PCI expansion bus connected to the ICH2-M has a programmable PCI Bus number. The GMCH2-M contains three PCI devices within a single physical component. The configuration registers for both Devices 0, 1 and 2 are mapped as devices residing on PCI bus #0. * Device 0: Host-hub interface Bridge/DRAM Controller. * Device 1: AGP Bridge supporting 1X/2X/4X transactions. * Device 2: GMCH2-M internal graphics device (GFX). Note: Even though the primary PCI expansion bus is referred to as PCI0 in this document it is not PCI bus #0 from a configuration standpoint. Note that a physical PCI bus #0 does not exist. The hub interface and the internal devices in the GMCH2-M and ICH2-M logically constitute PCI Bus #0 to configuration software. Datasheet 41 Intel(R) 82815EM GMCH R 3.5.1. Logical PCI Bus #0 Configuration Mechanism The GMCH2-M decodes the Bus Number (bits 23:16) and the Device Number fields of the CONFIG_ ADDRESS register. If the Bus Number field of CONFIG_ADDRESS is 0 the configuration cycle is targeting a PCI Bus #0 device. Device #0: The Host-hub Bridge/DRAM Controller entity is hardwired as Device #0 on PCI Bus #0. Device #1: The AGP interface entity is hardwired as Device #1 on PCI Bus #0. Device #2: The internal graphics device (GFX) entity is hardwired as Device #2 on PCI Bus #0. Configuration cycles to one of the GMCH2-M internal devices are confined to the GMCH2-M and not sent over the Hub interface. Accesses to devices #3 to #31 on PCI Bus #0 will be forwarded over the Hub interface. 3.5.2. Primary PCI (PCI0) and Downstream Configuration Mechanism If the Bus Number in the CONFIG_ADDRESS is non-zero the GMCH2-M will generate a configuration cycle over the hub interface. The ICH2-M compares the non-zero Bus Number with the SECONDARY BUS NUMBER and SUBORDINATE BUS NUMBER registers of its P2P bridges to determine if the configuration cycle is meant for Primary PCI expansion bus (PCI0), or a downstream PCI bus. 3.5.3. Internal Graphics Device (GFX) Configuration Mechanism From the chipset configuration perspective the internal graphics device is seen as a PCI device (device #2) on PCI Bus #0. Configuration cycles that target device #2 on PCI Bus #0 will be claimed by the internal graphics device and will not be forwarded via hub interface to the ICH2-M. 3.6. Host-Hub Interface Bridge/DRAM Controller Device Registers (Device #0) Device #0 registers come in two categories * Those visible in both GFX mode and AGP mode. * Those visible only in AGP mode. These are always appended with the message AGP Mode Only. When GMCH2-M is in internal graphics (GFX) mode most of the configuration bits needed to configure Device #0 are needed in AGP mode as well. The few exceptions are don't care situations in AGP. In AGP mode, a number of bits to control the AGP port are made visible only in AGP mode. They will read back 0s in GFX mode. The following table shows the GMCH2-M configuration space for device #0. 42 Datasheet Intel(R) 82815EM GMCH R Table 4. GMCH2-M PCI Configuration Space (Device #0) Address Offset Register Symbol 00-01h VID 02-03h DID 04-05h 06-07h Register Name Default Value Access Vendor Identification 8086h RO Device Identification (Device 0) 1130h RO PCICMD PCI Command Register 0006h Read/Write PCISTS PCI Status Register 0090h Read/Write, RO 08h RID (A0) Revision Identification for A0-step 10h RO 08h RID (A1) Revision Identification for A1-step 11h RO 09h 0Ah SUBC Sub-Class Code 00h RO 0Bh BCC Base Class Code 06h RO 0Ch 0Dh MLT Master Latency Timer 00h RO 0Eh HDR Header Type 00h RO 0Fh 10-13h APBASE 00000008h (AGP) Read/Write, Reserved Reserved Reserved Aperture Base Configuration RO 00000000h (GFX) 14-2Bh 2C-2Dh SVID 2E-2Fh SID 30-33h 34h CAPPTR 35-4Fh 50h GMCHCFG 51h APCONT Subsystem Vendor Identification 0000h Read/Write Subsystem Identification 0000h Read/Write 88h RO 01ss 0s00b Read/Write 00h Read/Write, Reserved Reserved Capabilities Pointer Reserved GMCH2-M Configuration Aperture Control RO 52h DRP DRAM Row Population 00h Read/Write 53h DRAMT DRAM Timing Register 00h Read/Write 54h DRP2 DRAM Row Population Register 2 00h Read/Write 55-57h 58h FDHC Fixed DRAM Hole Control 00h Read/Write 59-5Fh PAM Programmable Attributes Map 00h Read/Write 60h C3STAT C3 control and status 00h Read/Write, Reserved RO 61-6Fh Datasheet Reserved 43 Intel(R) 82815EM GMCH R Address Offset Register Symbol 70h SMRAM Register Name System Management RAM Control Default Value Access 00h Read/Write, RO 71h 72-73h MISCC Reserved Miscellaneous Control Register 0000h Read/Write, RO 74-87h 88-8Bh CAPID F104 A009h RO 8C-91h 92-93h BUFF_SC Buffer Strength Control FFFFh Read/Write 94-95h BUFF_SC2 Buffer Strength Control 2 FFFFh Read/Write 96-9Fh A0-A3h ACAPID AGP Capability Identifier 0020 0002h RO (AGP only) A4-A7h AGPSTAT AGP Status 1F00 0207h RO (AGP only) A8-ABh AGPCMD AGP Command 0000 0000h Read/Write Reserved Capability Identification Reserved Reserved (AGP only) AC-AFh B0-B3h AGPCTRL Reserved AGP Control 0000 0000h Read/Write (AGP only) B4h APSIZE Aperture Size 00h Read/Write (AGP only) B5-B7h B8-BBh ATTBASE Reserved Aperture Translation Table Base 0000 0000h Read/Write (AGP only) BCh AMTT AGP Multi-Transaction Timer 00h Read/Write (AGP only) BDh LPTT Low Priority Transaction Timer 00h Read/Write (AGP only) BEh MCHCFG MCH Configuration 0000 x000b Read/Write, RO BF-CAh CBh ERRCMD Reserced Error Command 00h Read/Write (AGP only) CC-FFh 44 Reserved Datasheet Intel(R) 82815EM GMCH R 3.6.1. VID--Vendor Identification Register (Device 0) Address Offset: Default Value: Attribute: Size: 00 - 01h 8086h Read Only 16 bits The VID Register contains the vendor identification number. This 16-bit register combined with the Device Identification Register uniquely identifies any PCI device. Writes to this register have no effect. Bit 15:0 3.6.2. Description (R) (R) Vendor Identification Number. This is a 16-bit value assigned to Intel . Intel VID = 8086h. DID--Device Identification Register (Device 0) Address Offset: Default Value: Attribute: Size: 02 - 03h 1130h Read Only 16 bits This 16-bit register combined with the Vendor Identification register uniquely identifies any PCI device. Writes to this register have no effect. Bit 15:0 Datasheet Description Device Identification Number. This is a 16 bit value assigned to the GMCH2-M Host-Hub Interface Bridge / DRAM Controller Device 0. 1130h = Device ID for Device 0. 45 Intel(R) 82815EM GMCH R 3.6.3. PCICMD--PCI Command Register (Device 0) Address Offset: Default: Access: Size: 04-05h 0006h Read/Write 16 bits The PCICMD Register enables and disables the SERR# signal. 15 10 Reserved (0) Bit 9 8 (HW=0) SERR En 7 6 5 4 3 2 1 0 (HW=0) (HW=0) (HW=0) (HW=0) (HW=0) (HW=1) (HW=1) (HW=0) Descriptions 15:10 Reserved. 9 Fast Back-to-Back. Not implemented by GMCH2-M; hardwired to 0. 8 SERR Enable (SERRE). This bit is a global enable bit for Device 0 SERR messaging. The GMCH2-M does not have an SERR# signal. The GMCH2-M communicates the SERR# condition by sending an SERR message to the ICH. If this bit is set to a 1, the GMCH2-M is enabled to generate SERR messages over the Hub interface for specific Device 0 error conditions If SERRE is reset to 0, then the SERR message is not generated by the GMCH2-M for Device 0. NOTE: This bit only controls SERR messaging for the Device 0. Device 1 has its own SERRE bit to control error reporting for error conditions occurring on Device 1. The two control bits are used in a logical OR manner to enable the SERR hub interface message mechanism. 7 Address/Data Stepping. Not implemented by GMCH2-M; hardwired to 0 6 Parity Error Enable (PERRE). Not implemented by GMCH2-M;hardwired to 0. Writes to this bit position have no affect. 5 VGA Palette Snoop. Not implemented by GMCH2-M; hardwired to 0. Writes to this bit position have no affect. 4 Memory Write and Invalidate Enable. Not implemented, is hardwired to 0. Writes to this bit position have no affects. 3 Special Cycle Enable. (Not implemented by GMCH2-M; hardwired to 0). GMCH2-M ignores all special cycles generated on the PCI. 2 Bus Master Enable (BME). (Not implemented by GMCH2-M; hardwired to 1). GMCH2-M is always allowed to be a Bus Master. . Writes to this bit position have no affect. 1 Memory Access Enable (MAE). (Not implemented by GMCH2-M; hardwired to 1). GMCH2-M always allows access to main memory. Writes to this bit position have no affect. 0 I/O Access Enable (IOAE). (Not implemented; hardwired to 0). Writes to this bit position have no affect. 46 Datasheet Intel(R) 82815EM GMCH R 3.6.4. PCISTS--PCI Status Register (Device 0) Address Offset: Default Value: Access: Size: 06-07h 0090h Read Only, Read/Write Clear 16 bits PCISTS is a 16-bit status register that reports the occurrence of a PCI master abort and PCI target abort on the PCI0 bus. PCISTS also indicates the DEVSEL# timing that has been set by the GMCH2-M hardware for target responses on the PCI0 bus. Bits [15:12] and bit 8 are Read/Write clear and bits [10:9] are read only. 15 14 13 12 11 0 SSE RMAS RTAS (HW=0) 7 6 (HW=1) 5 Reserved Bit 3.6.5. 9 00 8 (HW=0) 3 (HW=1) 0 Reserved Descriptions 15 Detected Parity Error (DPE). This bit is hardwired to a 0. Writes to this bit position have no affect. 14 Signaled System Error (SSE). This bit is set to 1 when GMCH2-M Device 0 generates an SERR message over the hub interface for any enabled Device 0 error condition. Device 0 error conditions are enabled in the PCICMD register. Device 0 error flags are read/reset from the PCISTS register. Software sets SSE to 0 by writing a 1 to this bit. 13 Received Master Abort Status (RMAS). This bit is set when the GMCH2-M generates a hub interface request that receives a Master Abort completion packet. Software clears this bit by writing a 1 to it. 12 Received Target Abort Status (RTAS). This bit is set when the GMCH2-M generates a hub interface request that receives a Target Abort completion packet. Software clears this bit by writing a 1 to it. 11 Signaled Target Abort Status (STAS). (Not implemented in GMCH2-M; is hardwired to a 0). Writes to this bit position have no affect. 10:9 DEVSEL# Timing (DEVT). These bits are hardwired to 00. Writes to these bit positions have no affect. Device 0 does not physically connect to PCI0. These bits are set to 00 (fast decode) so that optimum DEVSEL timing for PCI0 is not limited by GMCH2-M. 8 Data Parity Detected (DPD). This bit is hardwired to a 0. Writes to this bit position have no affect. 7 Fast Back-to-Back (FB2B). This bit is hardwired to 1. Writes to these bit positions have no affect. Device 0 does not physically connect to PCI. This bit is set to 1 (indicating fast back-to-back capability) so that the optimum setting for PCI is not limited by GMCH2-M. 6:5 Reserved. 4 Capability List (CLIST). This bit is hardwired to `1' to indicate that GMCH2-M always has a capability list. The list of capabilities is accessed via register CAPPTR at configuration address offset 34h. Register CAPPTR contains an offset pointing to the address of the first of a linked list of capability registers. Writes to this bit position have no affect. 3:0 Reserved. RID--Revision Identification Register (Device 0) Address Offset: Datasheet 4 10 08h 47 Intel(R) 82815EM GMCH R Default Value: Access: Size: 10h for A0-step silicon 11h for A1-step silicon Read Only 8 bits This register contains the revision number of the Device 0. These bits are read only and writes to this register have no effect. Bit 7:0 3.6.6. Description Revision Identification Number. -RO- This is an 8-bit value that indicates the revision identification number for Device 0. This value is 10h. SUBC--Sub-Class Code Register (Device 0) Address Offset: Default Value: Access: Size: 0Ah 00h Read Only 8 bits This register contains the Sub-Class Code for the GMCH2-M Function #0. This code is 00h indicating a Host Bridge device. The register is read only. Bit 7:0 3.6.7. Description Sub-Class Code (SUBC). -RO- This is an 8-bit value that indicates the category of Bridge into which GMCH2-M falls. The code is 00h indicating a Host Bridge. BCC--Base Class Code Register (Device 0) Address Offset: Default Value: Access: Size: 0Bh 06h Read Only 8 bits This register contains the Base Class Code of the GMCH2-M Function #0. This code is 06h indicating a Bridge device. This register is read only. Bit 7:0 48 Description Base Class Code (BASEC). This is an 8-bit value that indicates the Base Class Code for GMCH2-M. This code has the value 06h, indicating a Bridge device. Datasheet Intel(R) 82815EM GMCH R 3.6.8. MLT--Master Latency Timer Register (Device 0) Address Offset: Default Value: Access: Size: 0Dh 00h Read Only 8 bits Device 0 in GMCH2-M is not a PCI master. Therefore this register is not implemented. Bit 7:0 3.6.9. Descriptions Master Latency Timer Value. This read only field always returns 0 when read and writes have no affect. HDR--Header Type Register (Device 0) Address Offset: Default: Access: Size: 0Eh 00h Read Only 8 bits This register identifies the header layout of the configuration space. No physical register exists at this location. Bit 7:0 Datasheet Descriptions Header Type. This read only field always returns 0 when read and writes have no affect. 49 Intel(R) 82815EM GMCH R 3.6.10. APBASE--Aperture Base Configuration Register (Device 0 AGP MODE ONLY) Address Offset: Default Value (AGP Mode): Default Value (GFX Mode): Access: Size: 10-13h 00000008h 00000000h Read/Write, Read Only 32 bits The APBASE is a standard PCI Base Address register that is used to set the base of the AGP Aperture. The standard PCI Configuration mechanism defines the base address configuration register such that only a fixed amount of space can be requested (dependent on which bits are hardwired to "0" or behave as hardwired to "0"). To allow for flexibility (of the aperture) an additional register called APSIZE is used as a "back-end" register to control which bits of the APBASE will behave as hardwired to "0". This register will be programmed by the GMCH2-M specific BIOS code that will run before any of the generic configuration software is run. Note that bit 1 of the APCONT register is used to prevent accesses to the aperture range before this register is initialized by the configuration software and the appropriate translation table structure has been established in the main memory. 31 26 Upper Prog. Base Address Bits 15 24 Bit 16 Lower "HW"/Prog Base Address 4 (HW=0) 31:26 25 (HW=0) 3 2 Prefetch able 1 Type 0 Mem Space Indicator (HW=0) Description Upper Programmable Base Address bits (Read/Write). These bits are used to locate the range size selected via lower bits 25:4. Default = 0000 25 Lower "Hardwired"/Programmable Base Address bit. This bit behaves as a "hardwired" or as a programmable depending on the contents of the APSIZE register as defined below: Bit 25 is controlled by the bit 3 of the APSIZE register in the following manner: If APSIZE[3]=0 then APBASE[25]=0 indicating 64 MB aperture size: 0 (default) Aperture Size = 64 MB AE If APSIZE[3]=1 then APBASE[25] = (Read/Write) allowing 32 MB aperture size: Aperture Size = 32 MB AE Read/Write Default for APSIZE[3]=0b forces default APBASE[25] = 0b (bit responds as "hardwired" to 0). This provides a default to the maximum aperture size of 64 MB. The GMCH2-M specific BIOS is responsible for selecting smaller size (if required) before PCI configuration software runs and establishes the system address map. 50 Datasheet Intel(R) 82815EM GMCH R Bit Description 24:4 Hardwired to "0". This forces minimum aperture size selected by this register to be 32 MB. 3 Prefetchable (RO). This bit is hardwired to "1" to identify the Graphics Aperture range as a prefetchable, i.e.: There are no side effects on reads, the device returns all bytes on reads regardless of the byte enables, and the GMCH2-M may merge processor writes into this range without causing errors. 3.6.11. 2:1 Type (RO). These bits determine addressing type and they are hardwired to "00" to indicate that address range defined by the upper bits of this register can be located anywhere in the 32-bit address space. 0 Memory Space Indicator (RO). Hardwired to "0" to identify aperture range as a memory range. SVID--Subsystem Vendor Identification Register (Device 0) Address Offset: Default: Access: Size: 2C-2Dh 0000h Read/Write Once 16 bits Bit 15:0 3.6.12. Description Subsystem Vendor ID (Read/WriteO). This value is used to identify the vendor of the subsystem. The default value is 0000h. This field should be programmed by BIOS during boot-up. Once written, this register becomes Read Only. This Register can only be cleared by a Reset. SID--Subsystem Identification Register (Device 0) Address Offset: Default: Access: Size: Bit 15:0 Datasheet 2E-2Fh 0000h Read/Write Once 16 bits Description Subsystem ID (Read/WriteO). This value is used to identify a particular subsystem. The default value is 0000h. This field should be programmed by BIOS during boot-up. Once written, this register becomes Read Only. This Register can only be cleared by a Reset. 51 Intel(R) 82815EM GMCH R 3.6.13. CAPPTR--Capabilities Pointer (Device 0) Address Offset: Default Value: Access: Size: 34h 88h Read Only 8 bits The CAPPTR provides the offset that is the pointer to the location where the capability identification register is located. Bit Description 7:0 Pointer to the start of the CAPPTR linked list. The 88h value points to the CAPID register that provides capability information regarding the GMCH2-M. 3.6.14. GMCHCFG--GMCH2-M Configuration Register (Device 0) Address Offset: Default: Access: Size: 50h 01ss0s00 Read/Write, Read Only 8 bits 7 6 Mem Arb Gnt Win Enable CPU Latency Timer 5 Reserved 4 3 2 Local Memory Frequency Select DRAM Page Closing Policy System Memory Frequency Select Bit 7 1 0 Reserved Description Memory Arbiter Grant Window Enable (MAGWE). This bit controls the Host vs Low Priority Graphics timeslice regulation in the arbiter for the System DRAM. At pre-arbitration (aka, stage 1) 0 = Disabled. Enforce fixed priority. 1 = Limit grant to host-to-graphics stream to 6 consecutive packets. At main-arbitration (aka, stage 2) 0 = Disabled. Enforce fixed priority. 1 = 24 clocks limiting host, 24 clocks guaranteed to low priority graphics stream. In fixed mode arbitration, MAGWE=0, the host stream always has higher priority over the low priority graphics stream for accesses to system memory. In timeslice mode, the host stream and the low priority graphics stream are both regulated by a time window to provide fairness to the graphics stream. Fixed priority mode where the host stream is always favored is the recommended mode of operation, as this setting gives highest system performance without adversely affecting graphics performance under real life applications workload. 52 Datasheet Intel(R) 82815EM GMCH R Bit 6 Description CPU Latency Timer (CLT). 0 = Deferrable processor cycle will be Deferred immediately after receiving another ADS# 1 = Deferrable processor cycle will be Deferred after it has been held in a "Snoop Stall" for 31 clocks and another ADS# has arrived (default). 5 Reserved 4 Local Memory Frequency Select (LMFS). This bit selects the operating frequency for the Local Memory Controller. Default is set by sampling LM_FREQ_SEL strap (AGP SBA[7] pin) at reset. It has a weak internal pull-up enabled during reset. 0 = 100MHz. This is a reflection of LM_FREQ_SEL strap being pulled down. 1 = 133MHz, (default). This is a reflection of LM_FREQ_SEL strap being pulled up (default). Note: This bit has meaning only when operating in Internal graphics modes w/ display cache. Note: The value of this bit should only be changed when the Internal Graphics device is disabled (i.e., GMS = 00). 3 DRAM Page Closing Policy (DPCP). When this bit is a 0 GMCH2-M will tend to leave the DRAM pages open. In this mode the only times that GMCH2-M will close memory pages are: 0 = Precharge Bank during service of a "Page Miss" access. Precharge All when changing from one Row to another if any Pages are open. Precharge All at leadin to a Refresh operation When this bit is a 1 GMCH2-M will tend to leave the DRAM pages closed. In this mode GMCH2-M will: 1 = Precharge All during the service of any "Page Miss" access. Precharge All when changing from one Row to another if any Pages are open. Precharge All at leadin to a Refresh operation. 2 System Memory Frequency Select (SMFS). This bit selects the operating frequency for the main system memory. Default is set by sampling SBS0# pin at reset. When GMCH2-M is in Graphics mode, this bit is hardwired to `0' (100MHz) and read only. 0 = 100MHz. 1 = 133MHz. 1:0 Datasheet Reserved. 53 Intel(R) 82815EM GMCH R 3.6.15. APCONT--Aperture Control (Device 0) Address Offset: Default Value: Access: Size: 51h 00h Read/Write, Write Once, Read Only 8 bits The Aperture Control Register controls selection and access to aperture space. 7 3 Reserved Bit 2 1 0 AGP Select Lock Aperture Access Global EN AGP Select Description 7:3 Reserved 2 GFX AGP Select Lock (WO). This GFX AGP Select (bit 0) can be made read only by this bit. This is a write once bit, after it is written to it cannot be changed without a system reset. 0 = GFX AGP Select remains writeable. 1 = GFX AGP Select is read only. 1 Aperture Access Global Enable (Read/Write). This bit is used to prevent access to the aperture from any port (processor, PCI0 or AGP/PCI1) before the aperture range is established by the configuration software and appropriate translation table in the main DRAM has been initialized. Default is "0". It must be set after system is fully configured for aperture accesses. 0 GFX AGP Select. Read/Write, RO if GFX AGP Select Lock (bit 2 =1) This field selects the graphics device to be either AGP or Internal Graphics (GFX). 0 = AGP Mode. AGP interface device is enabled. All registers in device 0 and device 1 are visible. No device 2 registers are visible, reads from those addresses will return 1's. 1 = GFX Mode. Internal Graphics device is enabled. All non-AGP related device 0 registers and all device 2 registers are visible. No device 1 registers are visible, reads from those addresses will return 1's. Reads from AGP related device 0 registers will return 0's. The internal graphics device will not respond to any configuration cycles unless SMRAM[7:6] @ 70h are NOT 00 AND APCONT[0] @ is 1. GFX AGP Select must be programmed before any other access is made to the configuration space. The two possible modes are mutually exclusive. This bit determines whether other configuration registers are enabled or disabled.This bit must be set as part of the initialization sequence. 54 Datasheet Intel(R) 82815EM GMCH R 3.6.16. DRP--DRAM Row Population Register (Device 0) Address Offset: Default Value: Access: Size: 52h 00h Read/Write (Read_Only if D_LCK = 1) 8 bits The DRAM Row Population Register defines the population of each side of each SO-DIMM. Note that this entire register becomes RO when the D_LCK bit (SMRAM register Device 0, address offset 70h) is set. 7 4 3 0 DIMM 1 Population DIMM 0 Population Bit Description 7:4 DIMM 1 Population. This field indicates the population of DIMM 1. (See table below) 3:0 DIMM 0 Population. This field indicates the population of DIMM 0. (See table below) Table 5. Supported System Memory DIMM Configurations GMCH2M Register Code DIMM Capacity # of Devices / DIMM # of Sides DRAM Technology Front Side Population Count 0 0 1 32 MB 16 2 32 MB 3 Config Back Side Population Count Row Bank Column Config N/A Empty N/A N/A N/A DS 16 Mb 8- 2 Mb x8 11 1 9 4 SS 64 Mb 4- 4 Mb x 16 12 2 8 48 MB 12 DS 64/16 Mb 4- 4 Mb x 16 8- 2 Mb x8 12 2/1 8 4 64 MB 8 DS 64 Mb 4- 4 Mb x 16 4- 4 Mb x 16 12 2 8 5 64 MB 8 SS 64 Mb 8- 8 Mb x8 12 2 9 5 64 MB 4 SS 128 Mb 4- 8 Mb x 16 12 2 9 6 96 MB 12 DS 64 Mb 8- 8 Mb x8 4- 4 Mb x 16 12 2 9/8 6 96 MB 8 DS 128/64 Mb 4- 8 Mb x 16 4- 4 Mb x 16 12 2 9/8 7 128 MB 16 DS 64 Mb 8- 8 Mb x8 8- 8 Mb x8 12 2 9 7 128 MB 8 DS 128 Mb 4- 8 Mb x 16 4- 8 Mb x 16 12 2 9 9 128 MB 8 SS 128 Mb 8- 16 Mb x8 12 2 10 A 128 MB 4 SS 256 Mb 4- 16 Mb x 16 13 2 9 B 192 MB 12 DS 128 Mb 8- 16 Mb x8 4- 8 Mb x 16 12 2 10/9 B 192 MB 16 DS 128/64 Mb 8- 16 Mb x8 8- 8 Mb x8 12 2 10/9 C 256 MB 16 DS 128 Mb 8- 16 Mb x8 8- 16 Mb x8 12 2 10 D 256 MB 8 DS 256 Mb 4- 16 Mb x 16 4- 16 Mb x 16 13 2 9 E 256 MB 8 SS 256 Mb 8- 32 Mb x8 13 2 10 F 512 MB 16 DS 256 Mb 8- 32 Mb x8 13 2 10 Datasheet Empty 8- 8- 2 Mb 32 Mb x8 x8 55 Intel(R) 82815EM GMCH R 3.6.17. DRAMT--DRAM Timing Register (Device 0) Address Offset: Default Value: Access: Size: 53h 00h Read/Write 8 bits This register controls the operating mode and the timing of the DRAM Controller. 7 5 SDRAM Mode Select 4 3 2 1 0 DRAM Cycle Time Reserved CAS# Latency SDRAM RAS# to CAS# Dly SDRAM RAS# Precharge Bit 7:5 Description SDRAM Mode Select (SMS). These bits select the operational mode of the GMCH2-M DRAM interface. The special modes are intended for initialization at power up. 000 = DRAM in Self-Refresh Mode, Refresh Disabled (Default) 001 = Normal Operation, 100Mhz System memory - Refresh interval 15.6 uSec 010 = Normal Operation, 100Mhz System memory - Refresh interval 7.8 011 = Normal Operation, 100Mhz System memory - Refresh interval 1.28 uSec 100 = NOP Command Enable. In this mode all processor cycles to SDRAM result in a NOP Command. 101 = All Banks Precharge Enable. In this mode all processor cycles to SDRAM result in an All Banks Precharge Command on the SDRAM interface. 110 = Mode Register Set Enable. In this mode all processor cycles to SDRAM result in a mode register set command on the SDRAM interface. The Command is driven on the MA[12:0] lines. MA[2:0] must always be driven to 010 for burst of 4 mode. MA3 must be driven to 1 for interleave wrap type. MA4 needs to be driven to the value programmed in the CAS# Latency bit. MA[6:5] should always be driven to 01. MA[12:7] must be driven to 00000. BIOS must calculate and drive the correct host address for each row of memory such that the correct command is driven on the MA[12:0] lines. Note that MAB[7:4]# are inverted from MAA[7:4]; BIOS must account for this. 111 = CBR Enable. In this mode all processor cycles to SDRAM result in a CBR cycle on the SDRAM interface. 4 DRAM Cycle Time (DCT). This bit controls the number of SCLKs for an access cycle. 0 = Tras = 5 SCLKs & Trc = 7 SCLKs (Default) 1 = Tras = 7 SCLKs & Trc = 9 SCLKs. (R) 3 Intel Reserved. 2 CAS# Latency (CL). This bit controls the number of CLKs between when a read command is sampled by the SDRAMs and when GMCH2-M samples read data from the SDRAMs. 0 = CAS# latency is 3 SCLKs. 1 = CAS# latency is 2 SCLKs. 1 SDRAM RAS# to CAS# Delay (SRCD). This bit controls the number of SCLKs from a Row Activate command to a read or write command. 0 = 3 clocks will be inserted between a row activate command and either a read or write command. 1 = 2 clocks will be inserted between a row activate and either a read or write command. 56 Datasheet Intel(R) 82815EM GMCH R Bit 0 Description SDRAM RAS# Precharge (SRP). This bit controls the number of SCLKs for RAS# precharge. 0 = 3 clocks of RAS# precharge are provided. 1 = 2 clocks of RAS# precharge are provided 3.6.18. DRP2--DRAM Row Population Register 2 (Device 0) Address Offset: Default Value: Access: Size: 54h 00h Read/Write (Read_Only if D_LCK = 1) 8 bits This second DRAM Row Population Register (DRP2) defines the population of each side of DIMM 2. 7 4 3 Reserved Bit 0 DIMM 2 Population Description 7:4 Reserved. 3:0 DIMM 2 Population. This field indicates the population of DIMM 2. Please refer to Supported System Memory DIMM Configurations table located with the DRP register definition. Note that not some of the larger capacity DIMMs may not be supported in DIMM 2 based on the capacities of DIMM 0 and DIMM 1. The max supported main memory capacity is 512 MB. Datasheet 57 Intel(R) 82815EM GMCH R 3.6.19. FDHC Fixed DRAM Hole Control Register (Device 0) Address Offset: Default Value: Access: Size: 58h 00h Read/Write 8 bits This 8-bit register controls a single fixed DRAM hole: 15-16 MB. 7 6 0 Hole EN Reserved Bit 7 Description Hole Enable (HEN). This field enables a memory hole in DRAM space. Host cycles matching an enabled hole are passed on to ICH through the hub interface. Hub interface and PCI cycles matching an enabled hole will be ignored by the GMCH2-M. Note that a selected hole is not re-mapped. 0 = No Hole Enabled 1 = 15 MB-16 MB (1MB) Hole Enabled 6:0 3.6.20. Reserved. PAMProgrammable Attributes Map Registers (Device 0) Address Offset: Default Value: Attribute: Size: 59 - 5Fh 00h Read/Write 4 bits/register The GMCH2-M allows programmable memory attributes on 13 Legacy memory segments of various sizes in the 768 KB to 1 MB address range. Seven Programmable Attribute Map (PAM) Registers are used to support these features. Cacheability of these areas is controlled via the MTRR registers in the mobile Intel Pentium(R) III processor. Two bits are used to specify memory attributes for each memory segment. These bits apply to both host, AGP/PCI and hub interface initiator accesses to the PAM areas. These attributes are: * RE - Read Enable. When RE = 1, the processor read accesses to the corresponding memory segment are claimed by the GMCH2-M and directed to main memory. Conversely, when RE = 0, the host read accesses are directed to the hub interface/PCI0. * WE - Write Enable. When WE = 1, the host write accesses to the corresponding memory segment are claimed by the GMCH2-M and directed to main memory. Conversely, when WE = 0, the host write accesses are directed to the hub interface/PCI0. The RE and WE attributes permit a memory segment to be Read Only, Write Only, Read/Write, or disabled. For example, if a memory segment has RE = 1 and WE = 0, the segment is Read Only. Each PAM Register controls two regions, typically 16 KB in size. Each of these regions has a 4-bit field. The four bits that control each region have the same encoding and are defined in the following table. 58 Datasheet Intel(R) 82815EM GMCH R Table 6. Attribute Bit Assignments 7 6 5 4 3 2 1 0 Description R R 0 0 R R 0 0 Disabled. DRAM is disabled and all accesses are directed to the hub interface. The GMCH2-M does not respond as a AGP/PCI or hub interface target for any read or write access to this area. R R 0 1 R R 0 1 Read Only. Reads are forwarded to DRAM and writes are forwarded to the hub interface for termination. This write protects the corresponding memory segment. The GMCH2-M will respond as a AGP/PCI or hub interface target for read accesses but not for any write accesses. R R 1 0 R R 1 0 Write Only. Writes are forwarded to DRAM and reads are forwarded to the hub interface for termination. The GMCH2-M will respond as a AGP/PCI or hub interface target for write accesses but not for any read accesses. R R 1 1 R R 1 1 Read/Write. This is the normal operating mode of main memory. Both read and write cycles from the host are claimed by the GMCH2-M and forwarded to DRAM. The GMCH2-M will respond as a AGP/PCI or hub interface target for both read and write accesses. As an example, consider a BIOS that is implemented on the expansion bus. During the initialization process, the BIOS can be shadowed in main memory to increase the system performance. When BIOS is shadowed in main memory, it should be copied to the same address location. To shadow the BIOS, the attributes for that address range should be set to write only. The BIOS is shadowed by first doing a read of that address. This read is forwarded to the expansion bus. The host then does a write of the same address, which is directed to main memory. After the BIOS is shadowed, the attributes for that memory area are set to read only so that all writes are forwarded to the expansion bus. The table above and the figure below show the PAM registers and the associated attribute bits: Datasheet 59 Intel(R) 82815EM GMCH R Figure 3. PAM Registers Offset 5Fh 5Eh 5Dh 5Ch 5Bh 5Ah 59h PAM6 PAM5 PAM4 PAM3 PAM2 PAM1 PAM0 7 6 R R 5 4 WE RE 3 2 R R 1 0 WE RE Reserved Reserved Write Enable (R/W) 1=Enable 0=Disable Read Enable (R/W) 1=Enable 0=Disable Read Enable (R/W 1=Enable 0=Disable Write Enable (R/W) 1=Enable 0=Disable Reserved Reserved PAM Reg Table 7. PAM Registers and Associated Memory Segments PAM Reg Attribute Bits Memory Segment Comments Offset PAM0[3:0] Reserved PAM0[7:4] R R WE RE 0F0000h - 0FFFFFh BIOS Area 59h PAM1[3:0] R R WE RE 0C0000h - 0C3FFFh ISA Add-on BIOS 5Ah PAM1[7:4] R R WE RE 0C4000h - 0C7FFFh ISA Add-on BIOS 5Ah PAM2[3:0] R R WE RE 0C8000h - 0CBFFFh ISA Add-on BIOS 5Bh PAM2[7:4] R R WE RE 0CC000h- 0CFFFFh ISA Add-on BIOS 5Bh PAM3[3:0] R R WE RE 0D0000h- 0D3FFFh ISA Add-on BIOS 5Ch PAM3[7:4] R R WE RE 0D4000h- 0D7FFFh ISA Add-on BIOS 5Ch PAM4[3:0] R R WE RE 0D8000h- 0DBFFFh ISA Add-on BIOS 5Dh PAM4[7:4] R R WE RE 0DC000h- 0DFFFFh ISA Add-on BIOS 5Dh PAM5[3:0] R R WE RE 0E0000h- 0E3FFFh BIOS Extension 5Eh PAM5[7:4] R R WE RE 0E4000h- 0E7FFFh BIOS Extension 5Eh PAM6[3:0] R R WE RE 0E8000h- 0EBFFFh BIOS Extension 5Fh PAM6[7:4] R R WE RE 0EC000h- 0EFFFFh BIOS Extension 5Fh 60 59h Datasheet Intel(R) 82815EM GMCH R Expansion Area (C0000h-DFFFFh) This 128 KByte ISA Expansion region is divided into eight 16 KByte segments. Each segment can be assigned one of four Read/Write states: read-only, write-only, Read/Write, or disabled. Typically, these blocks are mapped through GMCH2-M and are subtractively decoded to ISA space. Memory that is disabled is not remapped. Note: That GMCH2-M has support for more PAM regions than Intel(R) 810 chipset. Extended System BIOS Area (E0000h-EFFFFh) This 64 KByte area is divided into four 16 KByte segments. Each segment can be assigned independent read and write attributes so it can be mapped either to main DRAM or to the hub interface. Typically, this area is used for RAM or ROM. Memory segments that are disabled are not remapped elsewhere. System BIOS Area (F0000h-FFFFFh) This area is a single 64 KByte segment. This segment can be assigned read and write attributes. It is by default (after reset) Read/Write disabled and cycles are forwarded to the hub interface. By manipulating the Read/Write attributes, the GMCH2-M can "shadow" BIOS into the main DRAM. When disabled, this segment is not remapped. 3.6.21. C3STATUS --C3 Control and Status Register (Device #0) Address Offset: Default Value: Access: Size: 60h (see table) Read/Write (some bits Read Only) 32 bits 31 17 Reserved 15 11 Reserved SDRAM Power Down 10 9 8 AGPBUSY Active Self Ref Disable Reserved Bit 16 7 0 C3 Entry Delay Counter Description 31:17 Reserved 16 SDRAM Power Down Feature 0 = SDRAM allowed to enter power down via CKE# 1 = SDRAM not allowed to enter power down (Default) 15:11 Reserved 10 Force AGPBUSY# active. 0 = AGPBUSY# operates normally (Default) 1 = AGPBUSY# asserted (low) continuously. Datasheet 61 Intel(R) 82815EM GMCH R Bit 9 Description Self-Refresh Disable. 0 = Self-Refresh enabled during C3 state. (Default) 1 = Self-Refresh disabled. 8 Reserved: need to be programmed as `0' 7:0 C3 entry delay counter. Adjusts the delay for entering the C3 state. 40h = Optimal setting 3.6.22. SMRAM - System Management RAM Control Register (Device 0) Address Offset: Default Value: Access: Size: 70h 00h Read/Write, Read Only 8 bits The SMRAM register controls how accesses to Compatible and Extended SMRAM spaces are treated, and how much (if any) memory is used from the System to support both SMRAM and Graphics Local Memory needs. 7 6 Graphics Mode Select Bit 7:6 5 4 Upper SMM Select 3 2 Lower SMM Select 1 0 SMM Space Locked E_ SMRAM_ ERR Description Graphics Mode Select (GMS). This field is used to enable/disable the Internal Graphics device (GFX) and select the amount of Main Memory that is "Stolen" to support the Internal Graphics device in VGA (non-linear) mode only. These 2 bits only have meaning if we are not in AGP mode. 00 = Internal Graphics Device Disabled, No memory "Stolen" 01 = Internal Graphics Device Enabled, No memory "Stolen" 10 = Internal Graphics Device Enabled, 512K of memory "Stolen" for frame buffer. 11 = Internal Graphics Device Enabled, 1M of memory "Stolen" for frame buffer. Note: When the Internal Graphics Device is Disabled (00) the Graphics Device and all of its memory and I/O functions are disabled and the clocks to this logic are turned off, memory accesses to the VGA range (A0000-BFFFF) will be forwarded on to the hub interface, and the Graphics Local Memory space is NOT "stolen" from main memory. Any change to the SMRAM register will not affect AGP mode or cause the controller to go into AGP mode. When this field is non-0 the Internal Graphics Device and all of its memory and I/O functions are enabled, all non-SMM memory accesses to the VGA range will be handled internally and the selected amount of Graphics Local Memory space (0, 512K or 1M) is "stolen" from the main memory. Graphics Memory is "stolen" AFTER TSEG Memory is "stolen". Once D_LCK is set, these bits becomes read only. GMCH2-M does not support VGA on local memory. Software must not use the 01 mode for VGA 62 Datasheet Intel(R) 82815EM GMCH R Bit 5:4 Description Upper SMM Select (USMM). This field is used to enable/disable the various SMM memory ranges above 1 MB. TSEG is a block of memory ("Stolen" from Main Memory at [TOM-Size]: [TOM]) that is only accessable by the processor and only while operating in SMM mode. HSEG is a Remap of the AB segment at FEEA0000: FEEBFFFF. Both of these areas, when enabled, are usable as SMM RAM. 00 = TSEG and HSEG are both Disabled 01 = TSEG is Disabled, HSEG is Conditionally Enabled 10 = TSEG is Enabled as 512 KB and HSEG is Conditionally Enabled 11 = TSEG is Enabled as 1 MB and HSEG is Conditionally Enabled Note: Non-SMM Operations (SMM processor accesses and all other access) that use these address ranges are forwarded to the hub interface. Once D_LCK is set, these bits becomes read only. HSEG is ONLY enabled if LSMM = 00. 3:2 Lower SMM Select (LSMM). This field controls the definition of the A&B segment SMM space 00 = AB segment Disabled (no one can write to it). 01 = AB segment Enabled as General System RAM (anyone can write to it). 10 = AB segment Enabled as SMM Code RAM Shadow. Only SMM Code Reads can access DRAM in the AB segment (processor code reads only). SMM Data operations and all Non-SMM Operations go to either the internal graphics device or are broadcast on the hub interface. 11 = AB segment Enabled as SMM RAM. All SMM operations to the AB segment are serviced by DRAM, all Non-SMM Operations go to either the internal Graphics Device or are broadcast on the hub interface (processor SMM Read/Write can access SMM space). When D_LCK is set bit 3 becomes Read Only, and bit 2 is Writable ONLY if bit 3 is a "1". When bit 3 is set only the processor can access it. Datasheet 1 SMM Space Locked (D_LCK): When D_LCK is set to 1 then D_LCK, GMS, USMM, and the most significant bit of LSMM become read only. D_LCK can be set to 1 via a normal configuration space write but can only be cleared by a reset. The combination of D_LCK and LSMM provide convenience with security. The BIOS can use LSMM=01 to initialize SMM space and then use D_LCK to "lock down" SMM space in the future so that no application software (or BIOS itself) can violate the integrity of SMM space, even if the program has knowledge of the LSMM function. This bit also Locks the DRP and DRP2 registers. 0 E_SMRAM_ERR (E_SMERR): This bit is set when processor accesses the defined memory ranges in Extended SMRAM (HSEG or TSEG) while not in SMM mode. It is software's responsibility to clear this bit. The software must write a 1 to this bit to clear it This bit is Not set for the case of an Explicit Write Back operation. 63 Intel(R) 82815EM GMCH R 3.6.23. MISCC--Miscellaneous Control Register (Device 0) Address Offset: Default Value: Access: Size: 72-73h 0000h Read/Write, Read Only 16 bits This register holds all of the miscellaneous control bits for GMCH2-M. 15 8 Reserved 7 6 Read PWR Throttle Cntl 5 4 Write PWR Throttle Cntl Bit 3 2 1 0 Throttle Lock Reserved BNR Looka head GFX Tr Win Size Sel Description 15:8 Reserved. 7:6 Read Power Throttle Control. Read/Write,RO if Throttle Lock (bit 3=1). These bits are locked (RO) when bit 3 (Throttle Lock) is set to 1.These bits select the Power Throttle Bandwidth Limits for Read operations to System Memory. 00 = No Limit (800 MB/Sec) (Default Value) 01 = Limit at 87 1/2 % (700 MB/Sec) 10 = Limit at 75 % (600 MB/Sec) 11 = Limit at 62 1/2 % (500 MB/Sec) 5:4 3 Write Power Throttle Control. Read/Write,RO if Throttle Lock (bit 3=1). These bits are locked (RO) when bit 3 (Throttle Lock) is set to 1. These bits select the Power Throttle Bandwidth Limits for Write operations to System Memory. 00 = No Limit (800 MB/Sec) (Default Value) 01 = Limit at 62 1/2 % ( 500 MB/Sec) 10 = Limit at 50 % ( 400 MB/Sec) 11 = Limit at 37 1/2 % ( 300 MB/Sec) Throttle Lock. Read/Write, RO if Throttle Lock (bit 3 =1). Once this bit is set, it can only be cleared by a reset. 0 = Bits [7:3] remain writeable 1 = Block writes to bits [7:3] 2 Reserved (RO) 1 BNR Lookahead (Read/Write). This enables the HT unit to look further up the data path in order to optimize the BNR (Block New Requests) signal in order to increase our effective IOQ (In Order Queue) depth. 0 = Normal Behavior (default) 1 = BNR Lookahead Enable 64 Datasheet Intel(R) 82815EM GMCH R Bit Description 0 Graphics Translation Window Size Select (GTWSS). (Read/Write) In GFX mode this would be the size of the GTT (Graphics Translation Table). Not a valid bit in AGP mode. 0 = 64 MB (default) 1 = 32 MB. 3.6.24. CAPID--Capability Identification (Device 0 - AGP MODE ONLY) Address Offset: Default Value: Access: Size: 88-8Bh 1 F205 A009h - 1 1205 0009h Read Only 64 bits (40 bits implemented) 31 30 29 28 27 Reserved Display Cache Capability AGP Capability Internal Graphics Capability 24 CAPID Version 23 16 CAPID Length 15 8 Next Capability Pointer 7 0 CAP_ID Bit Description 39-33 Reserved 32 Mobile Capable 0 = Not mobile capable 1= Mobile capable (bit hard wired internally) 31 Reserved Default = 0. 30 Display Cache Capability (R/O) 0 = Only supports UMA mode (no Local Memory). 1 = Component is Local Memory (Display Cache) and UMA capable. 29 AGP Capability (R/O) 0 = AGP mode not supported. 1 = AGP mode supported. Datasheet 65 Intel(R) 82815EM GMCH R Bit 28 Description Internal Graphics Capability (R/O) 0 = Internal graphic controller not supported. 1 = Internal graphic controller supported. 27-24 CAPID Version (R/O) This field has the value 0010b to identify the first revision of the CAPID register definition. 23-16 CAPID Length (R/O) This field has the value 05h to indicate the structure length. 15-8 Next Capability Pointer (R/O) This field has two possible values base on (APCONT[0] at offset 51h): A0h when APCONT[0] = 0 (AGP Mode) meaning the next capability pointer is ACAPID. 00h when APCONT[0] = 1 (GFX Mode) meaning that this was the last capability pointer in the list. 7-0 CAP_ID (R/O) This field has the value 1001b to identify the CAP_ID assigned by the PCI SIG for vendor dependent capability pointers. 66 Datasheet Intel(R) 82815EM GMCH R 3.6.25. BUFF_SC--System Memory Buffer Strength Control Register (Device 0) Address Offset: Default Value: Access: Size: 92-93h FFFFh Read/Write 16 bits This register programs the system memory DRAM interface signal buffer strengths, with the exception of the CKEs. The programming of these bits should be based on DRAM density (x8 or x16), DRAM technology (16Mb, 64Mb, 128Mb or 256 Mb), rows populated, etc. Note that x4 & x32 DRAMs are not supported. Registered DIMMs and DIMMS with ECC are also not supported and BIOS upon detection of ECC via SPD, should report to the user that ECC DIMM timings are not supported by the GMCH2M. Note SO-DIMM only support x16 DRAM density. In the descriptions below, the term "Row" is equivalent to one side of one DIMM. In other words, a "single-sided" DIMM contains one populated row (always an odd numbered), and one empty row (even numbered). A "double-sided" DIMM contains two populated rows. All buffer strengths are based on the number of "loads" connected to each pin of a given signal group. A "load" represents one pin of one SDRAM Device. The GMCH2-M pin is implied and not counted in the load equations. The number of loads on a given signal for a given configuration can be determined entirely from the width of the SDRAM devices that populate each row in the configuration. This information is readily available for each row via the Serial Presence Detect mechanism. 15 14 13 12 11 10 SCS[5]# Buffer Strength SCS[4]# Buffer Strength SCS[3]# Buffer Strength SCS[2]# Buffer Strength SCS[1]# Buffer Strength SCS[0]# Buffer Strength 7 6 5 SMAB[7:4]# Buffer Strength 4 SMAA[7:4] Buffer Strength Bit 15 3 9 8 SMAC[7:4]# Buffer Strength 2 SMD and SDQM Buffer Strengths 1 0 Control Buffer Strengths Description SCS[5]# Buffer Strength (Row 5). 0 = 1.7x 4 loads 1 = 1.0x 0 or 2 loads Each Row is actually selected by a pair of Chip Select signals (SCSA[n]# and SCSB[n]#). The number of SCS# loads for a given Row can be determined from SPD data using the following equation: Loads = 32 / (width of SDRAM devices in row) 14 SCS[4]# Buffer Strength (Row 4). 0 = 1.7x 4 loads 1 = 1.0x 0 or 2 loads Datasheet 67 Intel(R) 82815EM GMCH R Bit 13 Description SCS[3]# Buffer Strength (Row 3). 0 = 1.7x 4 loads 1 = 1.0x 0 or 2 loads 12 SCS[2]# Buffer Strength (Row 2). 0 = 1.7x 4 loads 1 = 1.0x 0 or 2 loads 11 SCS[1]# Buffer Strength (Row 1). 0 = 1.7x 4 loads 1 = 1.0x 0 or 2 loads 10 SCS[0]# Buffer Strength (Row 0). 0 = 1.7x 4 loads 1 = 1.0x 0 or 2 loads 9:8 SMAC[7:4]# Buffer Strength (Rows 4/5). 00 = 2.7x > 8 loads 01 = 1.7x 8 loads 10 = 1.0x 0 or 4 loads 11 = 1.0x 0 or 4 loads Separate copies of these SMA*[7:4] "Command-Per-Clock" signals are provided for each DIMM. So the loads for each copy are determined by the number of SDRAM devices on the corresponding DIMM (4, 8, 12, or 16 loads). The number of loads for each SMA*[7:4] signal group can be determined from SPD data using the following equation: st nd Loads = (64 / (SDRAM Device Width for 1 row)) + (64 / (SDRAM Device Width for 2 row)) 7:6 SMAB[7:4]# Buffer Strength (Rows 2/3). 00 = 2.7x 16 loads 01 = 1.7x 8 loads 10 = 1.0x 0 or 4 loads 11 = 1.0x 0 or 4 loads 5:4 SMAA[7:4] Buffer Strength (Rows 0/1). 00 = 2.7x 16 loads 01 = 1.7x 8 loads 10 = 1.0x 0 or 4 loads 11 = 1.0x 0 or 4 loads 68 Datasheet Intel(R) 82815EM GMCH R Bit 3:2 Description SMD[63:0] and SDQM[7:0] Buffer Strengths (All Rows). 00 = 1.7x > 2 loads 01 = 0.7x Reserved 10 = 1.0x 0-2 loads 11 = 1.0x 0-2 loads The load on the SMD and SDQM signals is a function only of the number of populated rows in the system (range 1 to 6 loads): Loads = Number of populated Rows. 1:0 SWE#, SCAS#, SRAS#, SMAA[11:8, 3:0], SBS[1:0] Control Buffer Strengths (All Rows) 00 = 1.7x > 16 loads 01 = 0.7x < 8 loads 10 = 1.0x 8-16 loads 11 = 1.0x 8-16 loads The load on the Address and Control signals (other than SMA*[7:4] above) is simply the number of devices populated in ALL rows (range from 4 to 48 loads!). Loads = (64 / Row 0 Device Width) + (64 / Row 1 Device Width) + (64 / Row 2 Device Width) + (64 / Row 3 Device Width) + (64 / Row 4 Device Width) + (64 / Row 5 Device Width) Datasheet 69 Intel(R) 82815EM GMCH R 3.6.26. BUFF_SC2-System Memory Buffer Strength Control Register 2 (Device 0) Address Offset: Default Value: Access: Size: 94-95h FFFFh Read/Write 16 bits This register programs the system memory DRAM interface CKE signal buffer strengths. See BUFF_SC register for remainder of buffer strength controls. 15 8 Reserved (R/W) 7 6 Reserved (R/W) 5 4 3 2 1 0 SCKE5 Buffer Strength SCKE4 Buffer Strength SCKE3 Buffer Strength SCKE2 Buffer Strength SCKE1 Buffer Strength SCKE0 Buffer Strength Bit Description 15:6 Reserved. Generic Read/Write bits with flops for future use. 5 SCKE[5] Buffer Strength (Row 5). 0 = 2.7x 8 loads 1 = 1.7x 0 or 4 loads The load on a given SCKE signal is equal to the number of SDRAM devices for that particular Row (either 4 or 8 loads). Loads = (64 / SDRAM Device Width for this row) 4 SCKE[4] Buffer Strength (Row 4). 0 = 2.7x 8 loads 1 = 1.7x 0 or 4 loads 3 SCKE[3] Buffer Strength (Row 3). 0 = 2.7x 8 loads 1 = 1.7x 0 or 4 loads 2 SCKE[2] Buffer Strength (Row 2). 0 = 2.7x 8 loads 1 = 1.7x 0 or 4 loads 1 SCKE[1] Buffer Strength (Row 1). 0 = 2.7x 8 loads 1 = 1.7x 0 or 4 loads 70 Datasheet Intel(R) 82815EM GMCH R Bit 0 Description SCKE[0] Buffer Strength (Row 0). 0 = 2.7x 8 loads 1 = 1.7x 0 or 4 loads 3.6.27. ACAPID--AGP Capability Identifier Register (Device 0) Address Offset: Default Value: Access: Size: A0-A3h 00200002h Read Only 32 bits This register provides standard identifier for AGP capability. (AGP MODE ONLY) 31 24 Reserved 23 20 19 Major AGP Revision Number 16 Minor AGP Revision Number 15 8 Next Capability Pointer 7 0 AGP Capability ID Bit Datasheet Description 31:24 Reserved 23:20 Major AGP Revision Number: These bits provide a major revision number of AGP specification to which this version of GMCH2-M conforms. These bits are set to the value 0010b to indicate AGP Rev. 2.x. 19:16 Minor AGP Revision Number: These bits provide a minor revision number of AGP specification to which this version of GMCH2-M conforms. This number is hardwired to value of "0000" (i.e. implying Rev x.0) Together with major revision number this field identifies GMCH2M as an AGP REV 2.0 compliant device. 15:8 Next Capability Pointer: AGP capability is the first and the last capability described via the capability pointer mechanism and therefore these bits are hardwired to "0" to indicate the end of the capability linked list. 7:0 AGP Capability ID: This field identifies the linked list item as containing AGP registers. This field has the value 0000_0010b as assigned by the PCI SIG. 71 Intel(R) 82815EM GMCH R 3.6.28. AGPSTAT--AGP Status Register (Device 0) Address Offset: Default Value: Access: Size: A4-A7h 1F000207h Read Only 32 bits This register reports AGP device capability/status. (AGP MODE ONLY) 31 24 Request Queue (RQ) (HW=1Fh) 23 16 Reserved 15 10 Reserved 7 6 Reserved 5 4 3 >4 GB Support (HW=0) Fast Writes (HW=0) Reserved Bit 9 8 SBA (HW=1) Reserved 2 0 Data Transfer Rate (HW=111) Description 31:24 RQ. This field contains the maximum number of AGP command requests the GMCH2-M is configured to manage. The lower 6 bits of this field reflect the value programmed in AGPCTRL[12:10]. Only discrete values of 32, 16, 8, 4 , 2 and 1 can be selected via AGPCTRL. Upper bits are hardwired to "0". Default =1Fh to allow a maximum of 32 outstanding AGP command requests. 23:10 Reserved 9 SBA. This bit indicates that the GMCH2-M supports side band addressing. It is hardwired to 1. 8:6 Reserved 5 4G. This bit indicate that the GMCH2-M does not support addresses greater than 4 gigabytes. It is hardwired to 0. 4 FW.This bit indicate that the GMCH2-M does not support fast writes from the processor-to-AGP master. It is hardwired to 0. 3 Reserved 2:0 Rate. After reset the GMCH2-M reports its data transfer rate capability. Default Value = 111. Note that the selected data transfer mode applies to both AD bus and SBA bus. Bit 0 (high) = AGP device supports 1x data transfer mode Bit 1 (high) = AGP device supports 2x data transfer mode Bit 2 (high) = AGP device supports 4x data transfer mode. This bit can be masked by the AGPCTRL register bit 0 (See PCI Configuration Space Table 3-1). 72 Datasheet Intel(R) 82815EM GMCH R 3.6.29. AGPCMD--AGP Command Register (Device 0) Address Offset: Default Value: Access: Size: A8-ABh 00000000h Read/Write 32 bits This register provides control of the AGP operational parameters. (AGP mode only.) 31 10 Reserved 7 6 Reserved Bit 5 4 3 4 GB (HW=0) FW EN Reserved 9 8 SBA EN AGP EN 2 0 Data Rate Description 31:10 Reserved. 9 SBA Enable. 1 = Side Band Addressing mechanism is enabled. 0= Side Band Addressing mechanism is disabled 8 AGP Enable. Any AGP operations received while this bit is set to 1 will be serviced even if this bit is reset to 0. If this bit transitions from a 1 to a 0 on a clock edge in the middle of an SBA command being delivered in 1X mode the command will be issued. 0 = GMCH2-M will ignore all AGP operations, including the sync cycle. 1 = GMCH2-M will respond to AGP operations delivered via PIPE#, or to operations delivered via SBA if the AGP Side Band Enable bit is also set to 1. 7:6 Reserved. 5 4G. The GMCH2-M as an AGP target does not support addressing greater than 4 gigabytes. This bit is hardwired to 0. 4 FW Enable. This bit must always be programmed to `0'. The chip-set will behave unpredictably if this bit is programmed with `1'. 3 Reserved. 2:0 Data Rate: The settings of these bits determines the AGP data transfer rate. One (and only one) bit in this field must be set to indicate the desired data transfer rate. The same bit must be set on both master and target. Bit 0: 1X, Bit 1: 2X, Bit 2: 4x. Configuration software will update this field by setting only one bit that corresponds to the capability of AGP master (after that capability has been verified by accessing the same functional register within the AGP master's configuration space.) Bit 2 becomes reserved (but will still read 4x, erroneously) when the 4x Override bit in the AGPCTRL register is set to 1 because this bit will not be updated in 4x Override mode. When the 4x Override bit is set writes to Data Rate[2] have no functional impact. Note: This field applies to AD and SBA buses. Datasheet 73 Intel(R) 82815EM GMCH R 3.6.30. AGPCTRL--AGP Control Register (Device 0) Address Offset: Default Value: Access: Size: B0-B3h 00000000h Read/Write 32 bits This register provides for additional control of the AGP interface. (AGP mode only.) 31 8 Reserved Bit 7 GTLB_EN 6 0 Reserved Description 31:8 Reserved 7 GTLB Enable (and GTLB Flush Control) (Read/Write): 1 = enables normal operations of the Graphics Translation Lookaside Buffer. 0 = the GTLB is flushed by clearing the valid bits associated with each entry. In this mode of operation all accesses that require translation bypass the GTLB. All requests that are positively decoded to the graphics aperture force the GMCH2-M to access the translation table in main memory before completing the request. Translation table entry fetches will not be cached in the GTLB. (default) When an invalid translation table entry is read, this entry will still be cached in the GTLB (ejecting the least recently used entry). The GMCH2-M will flush the GWB whenever software sets or clears this bit to ensure coherency between the GTLB and main memory. NOTE: This bit can be changed dynamically (i.e. while an access to GTLB occurs). 6:0 74 Reserved Datasheet Intel(R) 82815EM GMCH R 3.6.31. APSIZE--Aperture Size (Device 0) Address Offset: Default Value: Access: Size: B4h 00h Read/Write 8 bits This register determines the effective size of the Graphics Aperture used for a particular GMCH2-M configuration. This register can be updated by the GMCH2-M-specific BIOS configuration sequence before the PCI standard bus enumeration sequence takes place. If the register is not updated then a default value will select an aperture of maximum size (i.e. 64 MB). (AGP mode only.) 7 4 Reserved Bit 3 GFX Aperture Size 2 0 Reserved Description 7:4 Reserved. 3 Graphics Aperture Size. Bit 3 operates on bit 25 of the Aperture Base (APBASE) configuration register. When this bit is a "0" it forces bit 25 in APBASE to behave as "hardwired" to 0. When this bit is a "1" it forces bit 25 in APBASE to be Read/Write accessible. Only the following combinations are allowed: 0 = 64 MB Aperture Size 1 = 32 MB Aperture Size Default for APSIZE[3]=0b forces default APBASE[25] =0b (responds as "hardwired" to 0). This provides maximum aperture size of 64 MB. Programming APSIZE[3]=1b enables APBASE[25] as Read/Write programmable. 2:0 Datasheet Reserved. 75 Intel(R) 82815EM GMCH R 3.6.32. ATTBASE-Aperture Translation Table Base Register (Device 0) Address Offset: Default Value: Access: Size: B8-BBh 00000000h Read/Write 32 bits This register provides the starting address of the Graphics Aperture Translation Table Base located in the main DRAM. This value is used by the GMCH2-M's Graphics Aperture address translation logic (including the GTLB logic) to obtain the appropriate address translation entry required during the translation of the aperture address into a corresponding physical DRAM address. The ATTBASE register may be dynamically changed. (AGP mode only.) Note: The address provided via ATTBASE is 4KB aligned. 31 29 Reserved Bit 76 28 12 ATT Base Address 11 0 Reserved Description 31:29 Reserved. 28:12 ATT Base Address. This field contains a pointer to the base of the translation table used to map memory space addresses in the aperture range to addresses in main memory. 11:0 Reserved. Datasheet Intel(R) 82815EM GMCH R 3.6.33. AMTT--AGP Multi-Transaction Timer (Device 0) Address Offset: Default Value: Access: Size: BCh 00h Read/Write 8 bits AMTT is an 8-bit register that controls the amount of time that the GMCH2-M's arbiter allows AGP/PCI master to perform multiple back-to-back transactions. The GMCH2-M's AMTT mechanism is used to optimize the performance of the AGP master (using PCI semantics) that performs multiple backto-back transactions to fragmented memory ranges (and as a consequence it can not use long burst transfers). The AMTT mechanism applies to the processor-AGP/PCI transactions as well and it guarantees to the processor a fair share of the AGP/PCI interface bandwidth. The number of clocks programmed in the AMTT represents the guaranteed time slice (measured in 66MHz clocks) allotted to the current agent (either AGP/PCI master or Host bridge) after which the AGP arbiter will grant the bus to another agent. The default value of AMTT is 00h and disables this function. The AMTT value can be programmed with 8 clock granularity. For example, if the AMTT is programmed to 18h, then the selected value corresponds to the time period of 24 AGP (66-MHz) clocks. (AGP mode only.) 7 3 Multi-Transaction Timer Count Value Bit Datasheet 2 0 Reserved Description 7:3 Multi-Transaction Timer Count Value. The number programmed in these bits represents the guaranteed time slice (measured in eight 66MHz clock granularity) allotted to the current agent (either AGP/PCI master or Host bridge) after which the AGP arbiter will grant the bus to another agent. 2:0 Reserved. 77 Intel(R) 82815EM GMCH R 3.6.34. LPTT--AGP Low Priority Transaction Timer Register (Device 0) Address Offset: Default Value: Access: Size: BDh 00h Read/Write 8 bits LPTT is an 8-bit register similar in a function to AMTT. This register is used to control the minimum tenure on the AGP for low priority data transaction (both reads and writes) issued using PIPE# or SB mechanisms. The number of clocks programmed in the LPTT represents the guaranteed time slice (measured in 66MHz clocks) allotted to the current low priority AGP transaction data transfer state. This does not necessarily apply to a single transaction but it can span over multiple low-priority transactions of the same type. After this time expires the AGP arbiter may grant the bus to another agent if there is a pending request. The LPTT does not apply in the case of high-priority request where ownership is transferred directly to high-priority requesting queue. The default value of LPTT is 00h and disables this function. The LPTT value can be programmed with 8 clock granularity. For example, if the LPTT is programmed to 10h, then the selected value corresponds to the time period of 16 AGP (66-MHz) clocks. (AGP mode only.) 7 3 Low Priority Transaction Timer Count Value Bit 78 2 0 Reserved Description 7:3 Low Priority Transaction Timer Count Value. The number of clocks programmed in these bits represents the guaranteed time slice (measured in eight 66MHz clock granularity) allotted to the current low priority AGP transaction data transfer state. 2:0 Reserved. Datasheet Intel(R) 82815EM GMCH R 3.6.35. GMCHCFG--GMCH2-M Configuration Register (Device 0) Address Offset: Default: Access: Size: BEh 0000 X000b Read/Write, Read Only 8 bits 7 6 Reserved 5 4 3 MDA Present (R/W) Bit 2 0 Reserved Description 7:6 Reserved. 5 MDA Present (MDAP) (Read/Write). This bit should not be set when the VGA Enable bit is not set. This bit works with the VGA Enable bit in the BCTRL register (3Eh, bit 3) of device 1 to control the routing of processor initiated transactions targeting MDA compatible I/O and memory address ranges. If the VGA enable bit is set, then accesses to IO address range x3BCh - x3BFh are forwarded to hub interface. If the VGA enable bit is not set then accesses to IO address range x3BCh - x3BFh are treated just like any other IO accesses i.e. the cycles are forwarded to AGP if the address is within IOBASE and IOLIMIT and ISA enable bit is not set. MDA resources are defined as the following: Memory: 0B0000h - 0B7FFFh I/O: 3B4h, 3B5h, 3B8h, 3B9h, 3BAh, 3BFh, (including ISA address aliases, A[15:10] are not used in decode). Any I/O reference that includes the I/O locations listed above, or their aliases, will be forwarded to hub interface even if the reference includes I/O locations not listed above. The following table shows the behavior for all combinations of MDA and VGA: VGA MDA Behavior 4:0 Datasheet 0 0 All References to MDA and VGA go to hub interface 0 1 Illegal Combination (DO NOT USE) 1 0 All References to VGA go to AGP/PCI. MDA-only references 1 1 VGA References go to AGP/PCI; MDA References go to hub interface Reserved. 79 Intel(R) 82815EM GMCH R 3.6.36. ERRCMD--Error Command Register (Device 0) Address Offset: Default Value: Access: Size: CBh 00h Read/Write 8 bits This register enables various errors to generate a SERR hub interface special cycle. Since the GMCH2M does not have an SERR# signal, SERR messages are passed from the GMCH2-M to the ICH2-M over hub interface. The actual generation of the SERR message is globally enabled for Device 0 via the PCI Command register. (AGP mode only.) Note: An error can generate one and only one hub interface error special cycle. It is software's responsibility to make sure that when an SERR error message is enabled for an error condition, SMI and SCI error messages are disabled for that same error condition. 7 6 Reserved 5 4 3 2 1 0 SRMMRO SRTA SLNDM SAAOGA SIAA SAIGATTE Bit Description 7:6 Reserved. 5 SERR on Receiving Main Memory Refresh Overrun. Identical functionality in Device 2 memory mapped space @ 020B8h. This bit allows use of this same functionality in AGP Mode. 0 = reporting of this condition is disabled. 1 = the GMCH2-M generates an SERR hub interface special cycle when a main memory refresh overrun occurs. 4 SERR on Receiving Target Abort on the hub interface. 0 = reporting of this condition is disabled. 1 = the GMCH2-M generates an SERR hub interface special cycle when an GMCH2-M originated hub interface cycle is terminated with a Target Abort. 3 SERR on LOCK to non-DRAM Memory. 0 = reporting of this condition is disabled. 1= the GMCH2-M generates an SERR hub interface special cycle when a processor initiated LOCK transaction targeting non-DRAM memory space occurs. 2 SERR on AGP Access Outside of Graphics Aperture. 0 = reporting of this condition is disabled. 1 = the GMCH2-M generates an SERR hub interface special cycle when an AGP access occurs to an address outside of the graphics aperture. 1 SERR on Invalid AGP Access. 0 = reporting of this condition is disabled. 1 = GMCH2-M generates an SERR hub interface special cycle when an AGP access occurs to an address outside of the graphics aperture and either to the 640k - 1M range or above the top of memory. 80 Datasheet Intel(R) 82815EM GMCH R Bit 0 Description SERR on Access to Invalid Graphics Aperture Translation Table Entry. 0 = reporting of this condition via SERR messaging is disabled.When this bit is set to " 1 = the GMCH2-M generates an SERR hub interface special cycle when an invalid translation table entry was returned in response to a AGP access to the graphics aperture. 3.7. AGP/PCI Bridge Registers - (Device #1 - Visible in AGP Mode Only) These registers are accessible through the configuration mechanism defined in an earlier section of this document. Table 8. GMCH2-M Configuration Space (Device #1) Address Offset Datasheet Register Symbol Register Name Default Value Access Type 00-01h VID1 Vendor Identification 8086h RO 02-03h DID1 Device Identification 1131h RO 04-05h PCICMD1 PCI Command Register 0000h RO, Read/Write 06-07h PCISTS1 PCI Status Register 0020h RO, Read/WriteC 08h RID1 (A0) Revision Identification for A0-step 10h RO 08h RID1 (A1) Revision Identification for A1-step 11h RO 09 Reserved 00h 0Ah SUBC1 Sub-Class Code 04h RO 0Bh BCC1 Base Class Code 06h RO 0Ch Reserved 00h 0Dh MLT1 Master Latency Timer 00h Read/Write 0Eh HDR1 Header Type 01h RO 0F-17h Reserved 00h 18h PBUSN Primary Bus Number 00h RO 19h SBUSN Secondary Bus Number 00h Read/Write 1Ah SUBUSN Subordinate Bus Number 00h Read/Write 1Bh SMLT Secondary Bus Master Latency Timer 00h Read/Write 1Ch IOBASE I/O Base Address Register F0h Read/Write 1Dh IOLIMIT I/O Limit Address Register 00h Read/Write 1E-1Fh SSTS Secondary Status Register 02A0h RO, Read/WriteC 20-21h MBASE Memory Base Address Register FFF0h Read/Write 22-23h MLIMIT Memory Limit Address Register 0000h Read/Write 81 Intel(R) 82815EM GMCH R Address Offset 3.7.1. Register Symbol Register Name Default Value Access Type 24-25h PMBASE Prefetchable Memory Base Address FFF0h Read/Write 26-27h PMLIMIT Prefetchable Memory Limit Address 0000h Read/Write 28-3Dh Reserved 00h 3Eh BCTRL Bridge Control Register 00h Read/Write 3Fh Reserved 00h 40h ERRCMD1 Error Command 00h Read/Write 41-FFh Reserved 00h VID1--Vendor Identification Register (Device 1) Address Offset: Default Value: Attribute: Size: 00 - 01h 8086h Read Only 16 bits The VID Register contains the vendor identification number. This 16-bit register combined with the Device Identification Register uniquely identifies any PCI device. Writes to this register have no effect. Bit 15:0 3.7.2. Description (R) (R) Vendor Identification Number. This is a 16-bit value assigned to Intel . Intel VID = 8086h. DID1--Device Identification Register (Device 1) Address Offset: Default Value: Attribute: Size: 02 - 03h 1131h Read Only 16 bits This 16-bit register combined with the Vendor Identification register uniquely identifies any PCI device. Writes to this register have no effect. Bit 15:0 Description Device Identification Number. This is a 16 bit value assigned to the GMCH2-M AGP interface device. 1131h = Device ID for Device 1. 82 Datasheet Intel(R) 82815EM GMCH R 3.7.3. PCICMD1--PCI-PCI Command Register (Device 1) Address Offset: Default: Access: Size 04-05h 0000h Read/Write, Read Only 16 bits 15 10 Reserved (0) 9 8 FB2B (Not Impl) SERR En 7 6 5 4 3 2 1 0 Addr/Data Stepping (Not Impl) Parity Error En (Not Impl) Reserved Mem WR & Inval En Special Cycle En Bus Master En Mem Acc En I/O Acc En Bit Descriptions 15:10 Reserved. 9 Fast Back-to-Back: Not Applicable-hardwired to "0". 8 SERR Message Enable (SERRE1). This bit is a global enable bit for Device 1 SERR messaging. The GMCH2-M does not have an SERR# signal. The GMCH2-M communicates the SERR# condition by sending an SERR message to the ICH2-M. 0 = the SERR message is not generated by the GMCH2-M for Device 1 1 = the GMCH2-M is enabled to generate SERR messages over hub interface for specific Device 1 error conditions that are individually enabled in the ERRCMD1 and BCTRL registers. The error status is reported in the PCISTS1 register. NOTE: This bit only controls SERR messaging for the Device 1. Device 0 has its own SERRE bit to control error reporting for error conditions occurring on Device 0. The two control bits are used in a logical OR manner to enable the SERR hub interface message mechanism. 7 Address/Data Stepping: Not applicable. Hardwired to "0". 6 Parity Error Enable (PERRE1): PERR# is not supported on AGP/PCI1. Hardwired to "0". 5 Reserved. 4 Memory Write and Invalidate Enable: (RO) This bit is implemented as RO and returns a value of "0" when read. 3 Special Cycle Enable: (RO) This bit is implemented as Read Only and returns a value of "0" when read. 2 Bus Master Enable (BME1): (Read/Write) 0 =(default) AGP Master initiated FRAME# cycles will be ignored by the GMCH2-M resulting in a Master Abort. Ignoring incoming cycles on the secondary side of the P2P bridge effectively disables the bus master on the primary side. 1 = AGP Master initiated FRAME# cycles will be accepted by the GMCH2-M if they hit a valid address decode range. This bit has no affect on AGP Master originated SBA or PIPE# cycles. Datasheet 83 Intel(R) 82815EM GMCH R Bit Descriptions 1 Memory Access Enable (MAE1): (Read/Write) 0 = all of Device #1's memory space is disabled. 1 = to enable the Memory and Prefetchable memory address ranges defined in the MBASE, MLIMIT, PMBASE, and PMLIMIT registers, as well as the VGA window. 0 I/O Access Enable (IOAE1): (Read/Write) 0 = all of Device 1's I/O space is disabled. 1 = to enable the I/O address range defined in the IOBASE, and IOLIMIT registers. 3.7.4. PCISTS1--PCI-PCI Status Register (Device 1) Address Offset: Default Value: Access: Size: 06-07h 0020h Read Only, Read/Write Clear 16 bits PCISTS1 is a 16-bit status register that reports the occurrence of error conditions associated with primary side of the "virtual" PCI-PCI bridge embedded within the GMCH2-M. Since this device does not physically reside on PCI0 it reports the optimum operating conditions so that it does not restrict the capability of PCI0. 15 14 13 12 11 Detected Par Error (HW=0) Sig Sys Error Rec Mast Abort Sta (HW=0) Rec Target Abort Sta (HW=0) Sig Target Abort Sta (HW=0) 4 7 6 5 FB2B (HW=0) Reserved 66/60 MHz Cap (HW=0) Bit 84 10 9 DEVSEL# Timing (HW=00) 3 8 Data Par Detected (HW=0) 0 Reserved Descriptions 15 Detected Parity Error (DPE1): Not Applicable - hardwired to "0". 14 Signaled System Error (SSE1). This bit is set to 1 when Device 1 generates an SERR message over hub interface for any enabled Device 1 error condition. Device 1 error conditions are enabled in the PCICMD1, ERRCMD1 and BCTRL registers. Device 1 error flags are read/reset from the SSTS register. Software clears this bit by writing a 1 to it. 13 Received Master Abort Status (RMAS1): Not Applicable - hardwired to "0". 12 Received Target Abort Status (RTAS1): Not Applicable - hardwired to "0". 11 Signaled Target Abort Status (STAS1): Not Applicable - hardwired to "0". 10:9 DEVSEL# Timing (DEVT1): Not Applicable - hardwired to "00b". 8 Data Parity Detected (DPD1): Not Applicable - hardwired to "0". 7 Fast Back-to-Back (FB2B1): Not Applicable - hardwired to "0". Datasheet Intel(R) 82815EM GMCH R Bit 3.7.5. Descriptions 6 Reserved. 5 66/60MHz Capability: Not Applicable - Hardwired to "1". 4:0 Reserved. RID1--Revision Identification Register (Device 1) Address Offset: Default Value: Access: Size: 08h 10h for A0-step silicon 11h for A1-step silicon Read Only 8 bits This register contains the revision number of the GMCH2-M Device 1. These bits are read only and writes to this register have no effect. For the A-0 Stepping, this value is 10h. Bit 7:0 3.7.6. Description Revision Identification Number. This is an 8-bit value that indicates the revision identification number for the GMCH2-M Device 1. Default = 10h SUBC1--Sub-Class Code Register (Device 1) Address Offset: Default Value: Access: Size: 0Ah 04h Read Only 8 bits This register contains the Sub-Class Code for the GMCH2-M Device 1. This code is 04h indicating a PCI-PCI Bridge device. The register is read only. Bit 7:0 Datasheet Description Sub-Class Code (SUBC1). This is an 8-bit value that indicates the category of Bridge into which the GMCH2-M falls. The code is 04h indicating a Host Bridge. 85 Intel(R) 82815EM GMCH R 3.7.7. BCC1--Base Class Code Register (Device 1) Address Offset: Default Value: Access: Size: 0Bh 06h Read Only 8 bits This register contains the Base Class Code of the GMCH2-M Device 1. This code is 06h indicating a Bridge device. This register is read only. Bit Description 7:0 3.7.8. Base Class Code (BASEC). This is an 8-bit value that indicates the Base Class Code for the GMCH2-M Device 1. This code has the value 06h, indicating a Bridge device. MLT1--Master Latency Timer Register (Device 1) Address Offset: Default Value: Access: Size: 0Dh 00h Read/Write 8 bits This functionality is not applicable. It is described here since these bits should be implemented as a Read/Write to prevent standard PCI-PCI bridge configuration software from getting "confused". 7 6 5 4 3 2 Not Applicable Bit 7:3 0 Reserved Description Not applicable but support Read/Write operations. (Reads return previously written data.) 2:0 3.7.9. Reserved. HDR1--Header Type Register (Device 1) Address Offset: Default: Access: Size: 0Eh 01h Read Only 8 bits This register identifies the header layout of the configuration space. No physical register exists at this location. Bit 7:0 86 Descriptions This read only field always returns 01h when read. Writes have no effect. Datasheet Intel(R) 82815EM GMCH R 3.7.10. PBUSN--Primary Bus Number Register (Device 1) Address Offset: Default: Access: Size: 18h 00h Read Only 8 bits This register identifies that "virtual" PCI-PCI bridge is connected to bus #0. Bit 7:0 3.7.11. Descriptions Bus Number. Hardwired to "0". SBUSN--Secondary Bus Number Register (Device 1) Address Offset: Default: Access: Size: 19h 00h Read/Write 8 bits This register identifies the bus number assigned to the second bus side of the "virtual" PCI-PCI bridge i.e. to PCI1/AGP. This number is programmed by the PCI configuration software to allow mapping of configuration cycles to PCI1/AGP. Bit 7:0 3.7.12. Descriptions Bus Number. Programmable SUBUSN--Subordinate Bus Number Register (Device 1) Address Offset: Default: Access: Size: 1Ah 00h Read/Write 8 bits This register identifies the subordinate bus (if any) that resides at the level below PCI1/AGP. This number is programmed by the PCI configuration software to allow mapping of configuration cycles to PCI1/AGP. Bit 7:0 Datasheet Descriptions Bus Number. Programmable 87 Intel(R) 82815EM GMCH R 3.7.13. SMLT--Secondary Master Latency Timer Register (Device 1) Address Offset: Default Value: Access: Size: 1Bh 00h Read/Write 8 bits This register controls the bus tenure of the GMCH2-M on AGP/PCI. SMLT is an 8-bit register that controls the amount of time the GMCH2-M as an AGP/PCI bus master, can burst data on the AGP/PCI Bus. The Count Value is an 8 bit quantity, however SMLT[2:0] are reserved and assumed to be 0 when determining the Count Value. The GMCH2-M's SMLT is used to guarantee to the AGP master a minimum amount of the system resources. When the GMCH2-M begins the first PCI bus cycle after being granted the bus, the counter is loaded and enabled to count from the assertion of FRAME#. If the count expires while the GMCH2-M's grant is removed (due to AGP master request), then the GMCH2M will lose the use of the bus, and the AGP master agent may be granted the bus. If GMCH2-M's bus grant is not removed, the GMCH2-M will continue to own the AGP/PCI bus regardless of the SMLT expiration or idle condition. Note that the GMCH2-M must always properly terminate an AGP/PCI transaction with FRAME# negation prior to the final data transfer. The number of clocks programmed in the SMLT represents the guaranteed time slice (measured in 66Mhz PCI clocks) allotted to the GMCH2-M, after which it must complete the current data transfer phase and then surrender the bus as soon as its bus grant is removed. For example, if the SMLT is programmed to 18h, then the value is 24 AGP clocks. The default value of SMLT is 00h and disables this function. When the SMLT is disabled, the burst time for the GMCH2-M is unlimited (i.e. the GMCH2-M can burst forever). 7 3 Secondary MLT Counter Value Bit 7:3 2 0 Reserved Description Secondary MLT Counter Value. Default=0 i.e. SMLT disabled 2:0 88 Reserved. Datasheet Intel(R) 82815EM GMCH R 3.7.14. IOBASE--I/O Base Address Register (Device 1) Address Offset: Default Value: Access: Size: 1Ch F0h Read/Write 8 bits This register control the processor to PCI1/AGP I/O access routing based on the following formula: IO_BASE=< address =