pain
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@546 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
0b5463e1d1
commit
db98104aa0
9 changed files with 32 additions and 23 deletions
|
|
@ -47,7 +47,7 @@ static cpuFeatures getCPUFeatures(void) {
|
|||
__asm {
|
||||
cpuid
|
||||
mov _eax, eax
|
||||
mov _edx, edx
|
||||
// mov _edx, edx
|
||||
}
|
||||
#else
|
||||
__asm__ __volatile__(
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ struct _cpuFeatures {
|
|||
MwBool pse36 : 1; /* 36-Bit Page Size Extension */
|
||||
MwBool psn : 1; /* Processor Serial Number */
|
||||
MwBool clflush : 1; /* CLFLUSH instr */
|
||||
MwBool pad1 : 1;
|
||||
MwBool ds : 1; /* Debug Store */
|
||||
MwBool acpi : 1; /* Thermal Monitor and Software Controlled Clock Facilities */
|
||||
MwBool mmx : 1; /* Intel MMX Technology */
|
||||
|
|
@ -38,6 +39,7 @@ struct _cpuFeatures {
|
|||
MwBool ss : 1; /* Self Snoop */
|
||||
MwBool hit : 1; /* Max APIC IDs */
|
||||
MwBool tm : 1; /* Thermal Monitor */
|
||||
MwBool pad2 : 1;
|
||||
MwBool pbe : 1; /* Pending Break Enable */
|
||||
};
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue