AMD CS5535 manual Virtual System Architecture Initialization, PCI Bus Initialization

Page 24

32430C

Initialization

4.2.8GeodeLink™ Control Processor Initialization

The Geode CS5535 GLCP contains the diagnostic bus, the JTAG interface clock, south bridge control, and power manage- ment.

4.3Virtual System Architecture™ Initialization

Virtual System Architecture (VSA) is the System Management Mode (SMM) software. VSA virtualizes PCI BARs and head- ers for GeodeLink modules as well as its normal functions described in the AMD Geode™ GeodeROM Functional Specifi- cation (publication ID 32087).

4.3.1Allocate Processor Frame Buffer and VSA2 Memory

The GX processor employs a Unified Memory Architecture (UMA), meaning the frame buffer is allocated from the total sys- tem memory. The GeodeROM code programs the amount of system memory initially needed for VSA memory. VSA can adjust the descriptors once it is loaded. When internal video is enabled, VSA allocates the frame buffer and graphics descriptors. The amount of memory currently allowed for frame buffer use ranges from 4 to 16 MB.

To inhibit operating system DRAM detection code from reporting the frame buffer as part of system memory, a GLIU offset descriptor is set to send transactions to the PCI bus and program Region Configuration Registers to set the region non- cacheable. This means that DOS, Windows®, OS/2, and UNIX are never aware of the graphics memory portion of system memory. This mapping prevents unwanted access to the graphics frame buffer and other critical graphics information stored in this area. The memory is claimed in the Virtual PCI header.

4.4PCI Bus Initialization

The GX processor does not incorporate a standard PCI bus controller. The GX processor and CS5535 devices do not have PCI headers. VSA emulates all the PCI headers and the GeodeLink is configured to route memory and I/O for those mod- ules. This requires VSA to be initialized before PCI scan.

For Virtual PCI headers, VSA sets GeodeLink descriptors and the Region Control Registers as requested by the modules during PCI scans.

PCI scan supports interrupt mapping and PCI Bridge support. There is no plan for ISA PnP support at this time.

The PCI controller configuration registers are accessed through PCI type one configuration access mechanism (using Ports CF8h and CFCh).

24

AMD Geode™ GX Processor/CS5535 Companion Device GeodeROM Porting Guide

Image 24
Contents April Publication ID 32430CAdvanced Micro Devices, Inc. All rights reserved TrademarksContents Contents List of Figures GeodeLink Architecture TopologyList of Figures List of Tables List of Tables Overview1 IntroductionAssumption Model Specific Registers2 Example MSR TransactionLoad MSR specified by ECX into Edxeax Write the value in Edxeax to MSR specified by ECXModel Specific Registers GeodeLink Architecture3 AMD GeodeGX Processor CS5535 Companion DeviceGeodeLink MSR Addressing DescriptorsAddressing Example Memory Descriptor TypesSet Clocks and Reset Processor InitializationSysref Mdiv VdivCalculating Processor Speed Memory Controller InitializationCPU Identification Test Extended Dram GeodeLink Modules InitializationSize Memory Default Region Configuration Properties Bit Descriptions Glpci Regions Descriptor AllocationDescriptor MSR Address AMD Geode CS5535 Companion Device Initialization Chipset IDSet ID Select Idsel Gliu InitializationMulti Function General Purpose Timers MFGPTs IRQ MapperKeyboard Emulation Logic KEL 1+ System Management Bus SMBusPower Management Logic AcpiFlash Interface Other Legacy DD InitializationDiverse Device I/O Locations ATA-5 / Hard Drive InitializationUniversal Serial Bus USB 7 AC97 Audio Controller InitializationVirtual System Architecture Initialization PCI Bus InitializationGeodeLink Control Processor Initialization Allocate Processor Frame Buffer and VSA2 MemoryMiscellaneous Initializations Initialize Graphics SubsystemMonochrome Support Dual Monitor Support32430C Implementation5 ClockingScratchpad Initialization Post CodesImplementation Setup Options6 32430C Memory7Map ROMVSA Memory Mapped Frame BufferVSA PCI GeodeROM Flow GX Processor/CS5535 Device VSA Document Revision History Table A-1. Revision HistoryRevision # Revisions / Comments Initial release