mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-17 06:34:08 +00:00
pain
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@546 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user