參數(shù)資料
型號(hào): 23913A
英文描述: Embedded AMD-K6 Processors BIOS Design Guide Application Note? 1.33MB (PDF)
中文描述: 嵌入式的AMD - K6處理器的BIOS設(shè)計(jì)指南應(yīng)用筆記? 1.33MB(PDF格式)
文件頁數(shù): 71/98頁
文件大?。?/td> 1365K
代理商: 23913A
Embedded AMD Processor Recognition
59
23913A/0—November 2000
Embedded AMD-K6 Processors BIOS Design Guide
Preliminary Information
If the value has changed, the CPUID instruction is available for
identifying the processor and its features. The following code
sample demonstrates the way a program uses the PUSHFD and
POPFD instructions to test the ID bit.
pushfd
pop
mov
xor
push
popfd
pushfd
pop
cmp
jz
; Save EFLAGS to stack
; Store EFLAGS in EAX
; Save in EBX for testing later
; Switch bit 21
; Copy changed value to stack
; Save changed EAX to EFLAGS
; Push EFLAGS to top of stack
; Store EFLAGS in EAX
; See if bit 21 has changed
; If no change, no CPUID
eax
ebx, eax
eax, 00200000h
eax
eax
eax, ebx
NO_CPUID
A potential problem with this approach is that an interrupt or a
trap (such as a debug trap) can occur between the POPFD and
the following PUSHFD, and that the interrupt or trap handler
code destroys the value of the ID bit. Where possible, the above
code should be preceded by a CLI instruction and followed by
an STI instruction, which ensures that no interrupts occur
between the POPFD and the PUSHFD. However, traps can still
occur, even if the code is preceded by a CLI instruction and
followed by an STI instruction.
Using CPUID Functions
When software uses the CPUID instruction to identify a
processor, it is important that it uses the instruction
appropriately. The instruction has been defined to make it easy
to identify the type and features of x86 processors
manufactured by many different vendors.
The standard functions (EAX=0 and EAX=1) are the same for
all processors. Having standard functions simplifies software’s
task of testing for and implementing features common to x86
processors. Software can test for these features and, as new x86
processors are released, benefit from these capabilities
immediately.
Extended functions are specific to a vendor’s processor. These
functions provide additional information about AMD
processors that software can use to identify enhanced features
and functions. To test for extended functions, software checks
相關(guān)PDF資料
PDF描述
23976 Utilizing the Page Mode Am29PDS32x for Maximum Performance
23986 Active High 3.3V EconoReset
23A-030G Signal Conditioner
23A-100G Signal Conditioner
23A-250G Signal Conditioner
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
239-14-23-030 制造商:Cinch Connectors 功能描述:DSUB DE B/S STR METAL
239145-000 制造商:TE Connectivity 功能描述:55PC1231-24-2/4/6-9CS2502 - Cable Rools/Shrink Tubing
2391-4CN500 制造商:HELICOIL 功能描述:
2391669 功能描述:測試插頭和測試插座 BANANA / ECG ADAPTER RoHS:否 制造商:Johnson / Emerson Connectivity Solutions 設(shè)備類型:Binding Posts 類型:Threaded stud 顏色:Black 電流額定值:15 A 觸點(diǎn)電鍍:Silver
23917 制造商:WINCHESTER 制造商全稱:Winchester Electronics Corporation 功能描述:REVISED & REDRAWN PER ER8145