AMD AMD-K6-2/450 Design Guide - Page 79

Displaying Cache Information, Determining AMDPowerNow!™ Technology Information, Sample Code - base frequency

Page 79 highlights

23913A/0-November 2000 Preliminary Information Embedded AMD-K6™ Processors BIOS Design Guide Note: Extended functions 8000_0002h, 8000_0003h, and 8000_0004h return an incorrect name string for the AMD-K6-2E+ and AMD-K6-IIIE+ processors (Model D). See "Functions 8000_0002h, 8000_0003h, and 8000_0004h - Processor Name String" on page 77 for more information. Displaying Cache Information Extended functions 8000_0005h and 8000_0006h provide cache information for the processor. Some diagnostic software displays information about the system and the processor's configuration. It is common for this type of software to provide cache size and organization information. Functions 8000_0005h and 8000_0006h provide a simple way for software to obtain information about the on-chip caches and translation lookaside buffer (TLB) structures. The size and organization information is returned in the registers as described in "Appendix A" on page 71. Software can simply display these values, eliminating the need for large pieces of code to test the memory structures. Determining AMD PowerNow!™ Technology Information Extended function 8000_0007h provides information regarding the processor's support for AMD PowerNow! and its enhanced power management (EPM) features. Based on the status of the EPM flags, software can determine if the processor supports programmable bus frequency control and programmable voltage ID control. A '1' for each bit indicates that the feature is supported; however, the feature must be enabled by software. See "Function 8000_0007h - AMD PowerNow!™ Technology Information" on page 79 for more detailed bit descriptions. Sample Code A code sample using the CPUID instruction to identify the processor and its features is available from AMD's website at http://www.amd.com/products/cpg/bin. Embedded AMD Processor Recognition 67

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98

Embedded AMD Processor Recognition
67
23913A/0—November 2000
Embedded AMD-K6™ Processors BIOS Design Guide
Preliminary Information
Note:
Extended
functions
8000_0002h,
8000_0003h,
and
8000_0004h return an incorrect name string for the
AMD-K6-2E+ and AMD-K6-IIIE+ processors (Model D). See
“Functions 8000_0002h, 8000_0003h, and 8000_0004h —
Processor Name String” on page 77 for more information.
Displaying Cache Information
Extended functions 8000_0005h and 8000_0006h provide cache
information for the processor. Some diagnostic software
displays information about the system and the processor’s
configuration. It is common for this type of software to provide
cache size and organization information.
Functions 8000_0005h and 8000_0006h provide a simple way for
software to obtain information about the on-chip caches and
translation lookaside buffer (TLB) structures. The size and
organization information is returned in the registers as
described in “Appendix A” on page 71. Software can simply
display these values, eliminating the need for large pieces of
code to test the memory structures.
Determining AMD PowerNow!™ Technology Information
Extended function 8000_0007h provides information regarding
the processor’s support for AMD PowerNow! and its enhanced
power management (EPM) features. Based on the status of the
EPM flags, software can determine if the processor supports
programmable bus frequency control and programmable
voltage ID control. A ‘1’ for each bit indicates that the feature is
supported; however, the feature must be enabled by software.
See “Function 8000_0007h — AMD PowerNow!™ Technology
Information” on page 79 for more detailed bit descriptions.
Sample Code
A code sample using the CPUID instruction to identify the
processor and its features is available from AMD’s website at