
® Embedded AMD-K6™ Processors BIOS Design Guide Application Note Publication # 23913 Rev: A Amendment/0 Issue Date: November 2000 © 2000 Advanced Micro Devices, Inc. All rights reserved. The contents of this document are provided in connection with Advanced Micro Devices, Inc. ("AMD") products. AMD makes no representations or warranties with respect to the accuracy or completeness of the contents of this publication and reserves the right to make changes to specifications and product descriptions at any time without notice. No license, whether express, implied, arising by estoppel or otherwise, to any intellectual property rights is granted by this publication. Except as set forth in AMD's Standard Terms and Conditions of Sale, AMD assumes no liability whatsoever, and disclaims any express or implied warranty, relating to its products including, but not limited to, the implied warranty of merchantability, fitness for a particular purpose, or infringement of any intellectual property right. AMD's products are not designed, intended, authorized or warranted for use as components in systems intended for surgical implant into the body, or in other applications intended to support or sustain life, or in any other application in which the failure of AMD's product could create a situation where personal injury, death, or severe property or environmental damage may occur. AMD reserves the right to discontinue or make changes to its products at any time without notice. Trademarks AMD, the AMD logo, and combinations thereof, AMD-K6, 3DNow!, E86, AMD PowerNow!, and Super7 are trademarks, and FusionE86 is a service mark of Advanced Micro Devices, Inc. MMX is a trademark and Pentium is a registered trademark of Intel Corporation. Other product names used in this publication are for identification purposes only and may be trademarks of their respective companies. Preliminary Information 23913A/0—November 2000 Embedded AMD-K6™ Processors BIOS Design Guide Contents Revision History . xi Introduction . 1 Audience . 1 Processor Models and Steppings . 2 AMD-K6™E Embedded Processor . 3 AMD-K6™-2 Processor. 3 AMD-K6™-2E Embedded Processor. 4 AMD-K6™-2E+ Embedded Processor. 4 AMD-K6™-III Processor. 5 AMD-K6™-IIIE+ Embedded Processor . 5 BIOS Consideration Checklist . 6 CPUID . 6 CPU Speed Detection . 6 Model-Specific Registers (MSRs) . 6 Cache Testing . 7 SMM Issues . 7 States after RESET and INIT. 8 Register States after RESET and INIT . 8 Processor State after INIT. 9 Built-In Self-Test (BIST) . 10 CPUID Identification Algorithms . 11 System Management Mode (SMM) . 13 State-Save Map Differences . 13 I/O Trap Dword Differences . 13 Model-Specific Registers Overview . 14 Standard Model-Specific Registers (All Models) . 16 Model 7 and Model 8/[7:0] Registers. 17 Extended Feature Enable Register (EFER) . 18 Write Handling Control Register (WHCR) . 19 SYSCALL/SYSRET Target Address Register (STAR) . 22 Contents iii Preliminary Information Embedded AMD-K6™ Processors BIOS Design Guide 23913A/0—November 2000 Model 8/[F:8] Registers . 23 Extended Feature Enable Register (EFER) . 24 Write Handling Control Register (WHCR) . 27 UC/WC Cacheability Control Register (UWCCR) . 30 Processor State Observability Register (PSOR) . 34 Page Flush/Invalidate Register (PFIR) . 36 Model 9 Registers . 38 Extended Feature Enable Register (EFER) . 39 Level-2 Cache Array Access Register (L2AAR) . 40 Model D Registers. 45 Processor State Observability Register (PSOR) (Low-Power Versions) . 46 Level-2 Cache Array Access Register (L2AAR) . 48 Enhanced Power Management Register (EPMR) (Low-Power Versions) . 54 EPM 16-Byte I/O Block (Low-Power Versions Only). 55 Embedded AMD Processor Recognition. 57 CPUID Instruction Overview . 57 Testing for the CPUID Instruction . 58 Using CPUID Functions. 59 Identifying the Processor’s Vendor . 60 Testing For Extended Functions . 61 Determining the Processor Signature . 61 Identifying Supported Features . 63 Determining Instruction Set Support. 64 Detection Algorithm for Determining Instruction Set Support . 65 AMD Processor Signature (Extended Function). 66 Displaying the Processor’s Name . 66 Displaying Cache Information . 67 Determining AMD PowerNow!™ Technology Information . 67 Sample Code . 67 New AMD-K6™ Processor Instructions. 68 Additional Considerations . 69 iv Contents Preliminary Information 23913A/0—November 2000 Embedded AMD-K6™ Processors BIOS Design Guide Software Timing Dependencies Relative to Memory Controller Setup . 69 Pipelining Support . 69 Read-Only Memory . 70 Appendix A . 71 CPUID . 71 Standard Functions . 72 Extended Functions . 75 Cache Associativity Field Definitions . 80 Appendix B . 81 Values Returned by the CPUID Instruction . 81 Index. 83 Contents v Preliminary Information Embedded AMD-K6™ Processors BIOS Design Guide 23913A/0—November 2000 vi Contents Preliminary Information 23913A/0—November 2000 Embedded AMD-K6™ Processors BIOS Design Guide List of Figures Figure 1. CPUID Instruction Flow Chart . 12 Figure 2. Extended Feature Enable Register (EFER) (Models 7 and 8/[7:0]) . 18 Figure 3. Write Handling Control Register (WHCR) (Models 7 and 8/[7:0]) . 20 Figure 4. SYSCALL/SYSRET Target Address Register (STAR) (Models 8, 9, and D) . 22 Figure 5. Extended Feature Enable Register (EFER) (Model 8/[F:8]) . 24 Figure 6. Write Handling Control Register (WHCR) (Models 8/[F:8], 9, and D) . 28 Figure 7. UC/WC Cacheability Control Register (UWCCR) (Models 8/[F:8], 9, and D) . 31 Figure 8. Processor State Observability Register (PSOR) (Models 8/[F:8], 9, and Standard-Power D) . 34 Figure 9. Page Flush/Invalidate Register (PFIR) (Models 8/[F:8], 9, and D) . 36 Figure 10. Extended Feature Enable Register (EFER) (Models 9 and D) . 39 Figure 11. L2 Cache Organization (AMD-K6™-III Processor) . 40 Figure 12. L2 Cache Sector and Line Organization . 41 Figure 13. L2 Tag or Data Location (AMD-K6™-III Processor)—EDX . 41 Figure 14. L2 Data—EAX . 42 Figure 15. L2 Tag Information (AMD-K6™-III Processor)—EAX . 43 Figure 16. LRU Byte. 43 Figure 17. Processor State Observability Register (PSOR) (Model D Low-Power Versions) . 46 Figure 18. L2 Cache Organization. 48 Figure 19. L2 Cache Sector and Line Organization (same as Figure 12) . 49 List of Figures vii Preliminary Information Embedded AMD-K6™ Processors BIOS Design Guide 23913A/0—November 2000 Figure 20. L2 Tag or Data Location (AMD-K6™-2E+ Processor)—EDX . 50 Figure 21. L2 Tag or Data Location (AMD-K6™-IIIE+ Processor)—EDX . 50 Figure 22. L2 Data—EAX (same as Figure 14) . 51 Figure 23. L2 Tag Information (AMD-K6™-2E+ Processor)—EAX . 52 Figure 24. L2 Tag Information (AMD-K6™-IIIE+ Processor)—EAX . 52 Figure 25. LRU Byte (same as Figure 16) . 53 Figure 26. Enhanced Power Management Register (EPMR) (Low-Power Model D) . 54 Figure 27. EPM 16-Byte I/O Block (Low-Power Model D) . 55 Figure 28. Bus Divisor and Voltage ID Control (BVC) Field (Low-Power Model D) . ..
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages98 Page
-
File Size-