Subversion Repositories HelenOS-historic

Rev

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

Rev 1411 Rev 1423
Line 80... Line 80...
80
#define SET_FRAME_FLAGS_ARCH(ptl3, i, x)    set_pt_flags((pte_t *)(ptl3), (index_t)(i), (x))
80
#define SET_FRAME_FLAGS_ARCH(ptl3, i, x)    set_pt_flags((pte_t *)(ptl3), (index_t)(i), (x))
81
 
81
 
82
#define PTE_VALID_ARCH(p)           (*((__u32 *) (p)) != 0)
82
#define PTE_VALID_ARCH(p)           (*((__u32 *) (p)) != 0)
83
#define PTE_PRESENT_ARCH(p)         ((p)->present != 0)
83
#define PTE_PRESENT_ARCH(p)         ((p)->present != 0)
84
#define PTE_GET_FRAME_ARCH(p)           ((p)->frame_address<<FRAME_WIDTH)
84
#define PTE_GET_FRAME_ARCH(p)           ((p)->frame_address<<FRAME_WIDTH)
-
 
85
#define PTE_WRITABLE_ARCH(p)            ((p)->writeable != 0)
-
 
86
#define PTE_EXECUTABLE_ARCH(p)          1
85
 
87
 
86
#ifndef __ASM__
88
#ifndef __ASM__
87
 
89
 
88
#include <mm/page.h>
90
#include <mm/page.h>
89
#include <arch/types.h>
91
#include <arch/types.h>