Subversion Repositories HelenOS

Rev

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

Rev 2692 Rev 4195
Line 33... Line 33...
33
 */
33
 */
34
 
34
 
35
#ifndef KERN_amd64_CPUID_H_
35
#ifndef KERN_amd64_CPUID_H_
36
#define KERN_amd64_CPUID_H_
36
#define KERN_amd64_CPUID_H_
37
 
37
 
38
#define AMD_CPUID_EXTENDED   0x80000001
38
#define AMD_CPUID_EXTENDED  0x80000001
39
#define AMD_EXT_NOEXECUTE    20
39
#define AMD_EXT_NOEXECUTE   20
40
#define AMD_EXT_LONG_MODE    29
40
#define AMD_EXT_LONG_MODE   29
41
 
41
 
-
 
42
#define INTEL_CPUID_LEVEL     0x00000000
42
#define INTEL_CPUID_STANDARD 0x00000001
43
#define INTEL_CPUID_STANDARD  0x00000001
43
#define INTEL_CPUID_EXTENDED 0x80000000
44
#define INTEL_CPUID_EXTENDED  0x80000000
44
#define INTEL_SSE2           26
45
#define INTEL_SSE2            26
45
#define INTEL_FXSAVE         24
46
#define INTEL_FXSAVE          24
46
 
47
 
47
#ifndef __ASM__
48
#ifndef __ASM__
48
 
49
 
49
#include <arch/types.h>
50
#include <arch/types.h>
50
 
51