Subversion Repositories HelenOS

Rev

Rev 4016 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4016 Rev 4195
Line 33... Line 33...
33
 */
33
 */
34
 
34
 
35
#ifndef KERN_ia32_CPUID_H_
35
#ifndef KERN_ia32_CPUID_H_
36
#define KERN_ia32_CPUID_H_
36
#define KERN_ia32_CPUID_H_
37
 
37
 
-
 
38
#define INTEL_CPUID_LEVEL     0x00000000
-
 
39
#define INTEL_CPUID_STANDARD  0x00000001
-
 
40
#define INTEL_PSE             3
-
 
41
#define INTEL_SEP             11
-
 
42
 
-
 
43
#ifndef __ASM__
-
 
44
 
38
#include <arch/types.h>
45
#include <arch/types.h>
39
 
46
 
40
typedef struct {
47
typedef struct {
41
    uint32_t cpuid_eax;
48
    uint32_t cpuid_eax;
42
    uint32_t cpuid_ebx;
49
    uint32_t cpuid_ebx;
Line 102... Line 109...
102
          "=c" (info->cpuid_ecx), "=d" (info->cpuid_edx)
109
          "=c" (info->cpuid_ecx), "=d" (info->cpuid_edx)
103
        : "a" (cmd)
110
        : "a" (cmd)
104
    );
111
    );
105
}
112
}
106
 
113
 
-
 
114
#endif /* !def __ASM__ */
107
#endif
115
#endif
108
 
116
 
109
/** @}
117
/** @}
110
 */
118
 */