Rev 2220 | Rev 2222 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2220 | Rev 2221 | ||
---|---|---|---|
Line 68... | Line 68... | ||
68 | 68 | ||
69 | xorl %eax, %eax |
69 | xorl %eax, %eax |
70 | cpuid |
70 | cpuid |
71 | cmp $0x0, %eax # any function > 0? |
71 | cmp $0x0, %eax # any function > 0? |
72 | jbe pse_unsupported |
72 | jbe pse_unsupported |
73 | movl $0x1, %eax # Basic function code 80000001 |
73 | movl $0x1, %eax # Basic function code 1 |
74 | cpuid |
74 | cpuid |
75 | bt $3, %edx # Test if PSE is supported |
75 | bt $3, %edx # Test if PSE is supported |
76 | jc pse_supported |
76 | jc pse_supported |
77 | 77 | ||
78 | pse_unsupported: |
78 | pse_unsupported: |