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

Functions 8000_0002h, 8000_0003h, and 8000_0004h - Processor Name String

Page 89 highlights

23913A/0-November 2000 Preliminary Information Embedded AMD-K6™ Processors BIOS Design Guide Functions 8000_0002h, 8000_0003h, and 8000_0004h - Processor Name String Input: EAX = 8000_0002h, 8000_0003h, or 8000_0004h Output: EAX = Processor Name String EBX = Processor Name String ECX = Processor Name String EDX = Processor Name String Functions 8000_0002h, 8000_0003h, and 8000_0004h each return part of the processor name string in the EAX, EBX, ECX, and EDX registers. These three functions use the four registers to return an ASCII string of up to 48 characters in little endian format. For example, function 8000_0002h returns the first 16 characters of the processor name. The first character resides in the least significant byte of EAX, and the last character (of this group of 16) resides in the most significant byte of EDX. The NULL character (ASCII 00h) is used to indicate the end of the processor name string. This feature is useful for processor names that require fewer than 48 characters. 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). The returned name string should be AMD-K6™-2+ for the AMD-K6-2E+ processor and AMD-K6™-III+ for the AMD-K6-IIIE+ processor. However, the actual value returned for either processor is AMD-K6™-III. The AMD CPUID utility v2.07 should be used to display the name string specified for AMD-K6E, Model D processors. This utility can be obtained from http: //www.amd.com/products/cpg/bin/amdcpuid.exe. Feature bits returned by the standard and extended function calls of the CPUID instruction should still be used to determine the features and capabilities supported by the processor in use. Appendix A 77

  • 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

Appendix A
77
23913A/0—November 2000
Embedded AMD-K6™ Processors BIOS Design Guide
Preliminary Information
Functions 8000_0002h, 8000_0003h, and 8000_0004h — Processor Name String
Input:
EAX = 8000_0002h, 8000_0003h, or 8000_0004h
Output:
EAX = Processor Name String
EBX = Processor Name String
ECX = Processor Name String
EDX = Processor Name String
Functions 8000_0002h, 8000_0003h, and 8000_0004h each return part of the processor
name string in the EAX, EBX, ECX, and EDX registers. These three functions use the
four registers to return an ASCII string of up to 48 characters in little endian format.
For example, function 8000_0002h returns the first 16 characters of the processor
name. The first character resides in the least significant byte of EAX, and the last
character (of this group of 16) resides in the most significant byte of EDX. The NULL
character (ASCII 00h) is used to indicate the end of the processor name string. This
feature is useful for processor names that require fewer than 48 characters.
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). The
returned name string should be AMD-K6™-2+ for the AMD-K6-2E+ processor and
AMD-K6™-III+ for the AMD-K6-IIIE+ processor. However, the actual value returned
for either processor is AMD-K6™-III. The AMD CPUID utility v2.07 should be used
to display the name string specified for AMD-K6E, Model D processors. This utility
can be obtained from http: //www.amd.com/products/cpg/bin/amdcpuid.exe.
Feature bits returned by the standard and extended function calls of the CPUID
instruction should still be used to determine the features and capabilities supported
by the processor in use.