Subversion Repositories HelenOS-historic

Rev

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

Rev 1769 Rev 1780
Line 73... Line 73...
73
        unsigned c : 3;     /* cache coherency attribute */
73
        unsigned c : 3;     /* cache coherency attribute */
74
        unsigned pfn : 24;  /* frame number */
74
        unsigned pfn : 24;  /* frame number */
75
        unsigned : 2;       /* zero */
75
        unsigned : 2;       /* zero */
76
#endif
76
#endif
77
    } __attribute__ ((packed));
77
    } __attribute__ ((packed));
78
    __u32 value;
78
    uint32_t value;
79
};
79
};
80
 
80
 
81
/** Page Table Entry. */
81
/** Page Table Entry. */
82
struct pte {
82
struct pte {
83
    unsigned g : 1;         /**< Global bit. */
83
    unsigned g : 1;         /**< Global bit. */
Line 101... Line 101...
101
        unsigned asid : 8;
101
        unsigned asid : 8;
102
        unsigned : 5;
102
        unsigned : 5;
103
        unsigned vpn2 : 19;
103
        unsigned vpn2 : 19;
104
#endif
104
#endif
105
    } __attribute__ ((packed));
105
    } __attribute__ ((packed));
106
    __u32 value;
106
    uint32_t value;
107
};
107
};
108
 
108
 
109
union page_mask {
109
union page_mask {
110
    struct {
110
    struct {
111
#ifdef BIG_ENDIAN
111
#ifdef BIG_ENDIAN
Line 116... Line 116...
116
        unsigned : 13;
116
        unsigned : 13;
117
        unsigned mask : 12;
117
        unsigned mask : 12;
118
        unsigned : 7;
118
        unsigned : 7;
119
#endif
119
#endif
120
    } __attribute__ ((packed));
120
    } __attribute__ ((packed));
121
    __u32 value;
121
    uint32_t value;
122
};
122
};
123
 
123
 
124
union index {
124
union index {
125
    struct {
125
    struct {
126
#ifdef BIG_ENDIAN
126
#ifdef BIG_ENDIAN
Line 131... Line 131...
131
        unsigned index : 4;
131
        unsigned index : 4;
132
        unsigned : 27;
132
        unsigned : 27;
133
        unsigned p : 1;
133
        unsigned p : 1;
134
#endif
134
#endif
135
    } __attribute__ ((packed));
135
    } __attribute__ ((packed));
136
    __u32 value;
136
    uint32_t value;
137
};
137
};
138
 
138
 
139
/** Probe TLB for Matching Entry
139
/** Probe TLB for Matching Entry
140
 *
140
 *
141
 * Probe TLB for Matching Entry.
141
 * Probe TLB for Matching Entry.