Rev 6483 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 6483 | Rev 6484 | ||
---|---|---|---|
Line 430... | Line 430... | ||
430 | pop ecx |
430 | pop ecx |
Line 431... | Line 431... | ||
431 | 431 | ||
432 | shr ecx, 16 |
432 | shr ecx, 16 |
Line 433... | Line 433... | ||
433 | mov [L2],ecx |
433 | mov [L2],ecx |
434 | - | ||
Line 435... | Line 434... | ||
435 | movzx edx, dl ;not sure |
434 | |
- | 435 | ;CACHE3: edx provides l3 |
|
Line 436... | Line 436... | ||
436 | mov [linel3], eax |
436 | |
437 | - | ||
438 | mov eax, edx |
437 | mov eax, 80000006h |
Line -... | Line 438... | ||
- | 438 | cpuid |
|
- | 439 | ||
- | 440 | movzx eax, cl ;mov cl to eax, zero extend; cl is counter reg for loop,shifts |
|
- | 441 | mov dword[linel3], eax |
|
- | 442 | ||
- | 443 | push edx |
|
- | 444 | shr edx, 12+1 |
|
- | 445 | and edx, 0x7 |
|
439 | 446 | mov eax, 1 |
|
440 | and eax,00FF0000h |
447 | shl eax, cl |
Line 441... | Line 448... | ||
441 | shr eax, 16 |
448 | mov dword [wayl3], eax |
442 | mov [wayl3], eax |
449 | pop edx |
443 | 450 | ||
444 | shr edx, 24 |
451 | shr edx, 18 |
Line 1162... | Line 1169... | ||
1162 | jz I36 |
1169 | jz I36 |
1163 | cmp [em],$26 ;Lincroft |
1170 | cmp [em],$26 ;Lincroft |
1164 | jz I26 |
1171 | jz I26 |
1165 | cmp [em],$1C ;Pineview/Silverthorne |
1172 | cmp [em],$1C ;Pineview/Silverthorne |
1166 | jz I1C |
1173 | jz I1C |
- | 1174 | jnz no_known |
|
Line 1167... | Line 1175... | ||
1167 | 1175 | ||
1168 | Inewunknown: |
1176 | Inewunknown: |
Line 1169... | Line 1177... | ||
1169 | jmp MMXtest |
1177 | jmp MMXtest |
Line 3902... | Line 3910... | ||
3902 | 3910 | ||
3903 | P1C: |
3911 | P1C: |
3904 | db 'Pineview',0 |
3912 | db 'Pineview',0 |
Line -... | Line 3913... | ||
- | 3913 | P1Clen: |
|
- | 3914 | ||
Line 3905... | Line 3915... | ||
3905 | P1Clen: |
3915 | no_known: |
Line 3906... | Line 3916... | ||
3906 | 3916 | db 'SORRY, CODENAME IS NOT SUPPORTED YET ' |