Make VM fix up memory for kernel that crosses region boundaries
[minix.git] / servers / vm / i386 / pagefaults.h
blobd9aab9debbec40afa29d6bc0f16141ae4ff40702
2 #ifndef _PAGEFAULTS_H
3 #define _PAGEFAULTS_H 1
5 #include <sys/vm_i386.h>
7 #define PFERR_NOPAGE(e) (!((e) & I386_VM_PFE_P))
8 #define PFERR_PROT(e) (((e) & I386_VM_PFE_P))
9 #define PFERR_WRITE(e) ((e) & I386_VM_PFE_W)
10 #define PFERR_READ(e) (!((e) & I386_VM_PFE_W))
12 #endif