Subversion Repositories HelenOS-historic

Rev

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

Rev 1380 Rev 1423
Line 49... Line 49...
49
#define PAGE_HT_ENTRIES     (1<<PAGE_HT_ENTRIES_BITS)
49
#define PAGE_HT_ENTRIES     (1<<PAGE_HT_ENTRIES_BITS)
50
 
50
 
51
#define PTE_VALID(pte)      ((pte) != NULL)
51
#define PTE_VALID(pte)      ((pte) != NULL)
52
#define PTE_PRESENT(pte)    ((pte)->p != 0)
52
#define PTE_PRESENT(pte)    ((pte)->p != 0)
53
#define PTE_GET_FRAME(pte)  ((pte)->frame)
53
#define PTE_GET_FRAME(pte)  ((pte)->frame)
-
 
54
#define PTE_READABLE(pte)   1
-
 
55
#define PTE_WRITABLE(pte)   ((pte)->w != 0)
-
 
56
#define PTE_EXECUTABLE(pte) ((pte)->x != 0)
54
 
57
 
55
#define SET_PTL0_ADDRESS(x)
58
#define SET_PTL0_ADDRESS(x)
56
 
59
 
57
struct pte {
60
struct pte {
58
    link_t link;        /**< Page hash table link. */
61
    link_t link;        /**< Page hash table link. */