Subversion Repositories HelenOS-historic

Rev

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

Rev 902 Rev 977
Line 44... Line 44...
44
#define KEY_PAGE    1
44
#define KEY_PAGE    1
45
 
45
 
46
#define PAGE_HT_ENTRIES_BITS    13
46
#define PAGE_HT_ENTRIES_BITS    13
47
#define PAGE_HT_ENTRIES     (1<<PAGE_HT_ENTRIES_BITS)
47
#define PAGE_HT_ENTRIES     (1<<PAGE_HT_ENTRIES_BITS)
48
 
48
 
-
 
49
#define PTE_VALID_ARCH(pte)     ((pte) != NULL)
-
 
50
#define PTE_PRESENT_ARCH(pte)       ((pte)->p != 0)
-
 
51
#define PTE_GET_FRAME_ARCH(pte)     ((pte)->frame)
-
 
52
 
49
struct pte {
53
struct pte {
50
    link_t link;        /**< Page hash table link. */
54
    link_t link;        /**< Page hash table link. */
51
    as_t *as;       /**< Address space. */
55
    as_t *as;       /**< Address space. */
52
    __address page;     /**< Virtual memory page. */
56
    __address page;     /**< Virtual memory page. */
53
    __address frame;    /**< Physical memory frame. */
57
    __address frame;    /**< Physical memory frame. */