Subversion Repositories HelenOS

Rev

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

Rev 120 Rev 135
Line 103... Line 103...
103
{
103
{
104
    pte_t *p = &pt[i];
104
    pte_t *p = &pt[i];
105
   
105
   
106
    p->page_cache_disable = !(flags & PAGE_CACHEABLE);
106
    p->page_cache_disable = !(flags & PAGE_CACHEABLE);
107
    p->present = !(flags & PAGE_NOT_PRESENT);
107
    p->present = !(flags & PAGE_NOT_PRESENT);
108
    p->uaccessible = flags & PAGE_USER;
108
    p->uaccessible = (flags & PAGE_USER) != 0;
109
    p->writeable = flags & PAGE_WRITE;
109
    p->writeable = (flags & PAGE_WRITE) != 0;
110
}
110
}
111
 
111
 
112
extern void page_arch_init(void);
112
extern void page_arch_init(void);
113
 
113
 
114
#endif
114
#endif