Rev 2089 | Rev 4126 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2089 | Rev 2784 | ||
---|---|---|---|
Line 33... | Line 33... | ||
33 | */ |
33 | */ |
34 | 34 | ||
35 | #ifndef KERN_amd64_CPU_H_ |
35 | #ifndef KERN_amd64_CPU_H_ |
36 | #define KERN_amd64_CPU_H_ |
36 | #define KERN_amd64_CPU_H_ |
37 | 37 | ||
38 | #define RFLAGS_IF (1 << 9) |
38 | #define RFLAGS_IF (1 << 9) |
- | 39 | #define RFLAGS_DF (1 << 10) |
|
39 | #define RFLAGS_RF (1 << 16) |
40 | #define RFLAGS_RF (1 << 16) |
40 | 41 | ||
41 | #define EFER_MSR_NUM 0xc0000080 |
42 | #define EFER_MSR_NUM 0xc0000080 |
42 | #define AMD_SCE_FLAG 0 |
43 | #define AMD_SCE_FLAG 0 |
43 | #define AMD_LME_FLAG 8 |
44 | #define AMD_LME_FLAG 8 |
44 | #define AMD_LMA_FLAG 10 |
45 | #define AMD_LMA_FLAG 10 |