Part of the FPU changes; forgot to add these files in FPU commit.
[minix.git] / kernel / vm.h
blob6c3473f2bf65eea45e8d4967bfe83e0feacba631
2 #ifndef _VM_H
3 #define _VM_H 1
5 /* Pseudo error codes */
6 #define VMSUSPEND -996
7 #define EFAULT_SRC -995
8 #define EFAULT_DST -994
10 #define FIXLINMSG(prp) { prp->p_delivermsg_lin = umap_local(prp, D, prp->p_delivermsg_vir, sizeof(message)); }
12 #define PHYS_COPY_CATCH(src, dst, size, a) { \
13 vmassert(intr_disabled()); \
14 catch_pagefaults++; \
15 a = phys_copy(src, dst, size); \
16 catch_pagefaults--; \
19 #endif