Subversion Repositories HelenOS

Rev

Rev 2071 | Rev 2089 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2071 Rev 2079
Line 40... Line 40...
40
#include <arch/asm.h>
40
#include <arch/asm.h>
41
 
41
 
42
#define EFLAGS_IF       (1 << 9)
42
#define EFLAGS_IF       (1 << 9)
43
#define EFLAGS_RF       (1 << 16)
43
#define EFLAGS_RF       (1 << 16)
44
 
44
 
45
struct cpu_arch {
45
typedef struct {
46
    int vendor;
46
    int vendor;
47
    int family;
47
    int family;
48
    int model;
48
    int model;
49
    int stepping;
49
    int stepping;
50
    struct tss *tss;
50
    struct tss *tss;
51
   
51
   
52
    count_t iomapver_copy;  /** Copy of TASK's I/O Permission bitmap generation count. */
52
    count_t iomapver_copy;  /** Copy of TASK's I/O Permission bitmap generation count. */
53
};
53
} cpu_arch_t;
54
 
54
 
55
 
55
 
56
#define CR4_OSFXSR_MASK (1<<9)
56
#define CR4_OSFXSR_MASK (1<<9)
57
 
57
 
58
#endif
58
#endif