kernel: new DEBUG_RACE option. try to provoke race conditions between processes.
[minix.git] / kernel / vm.h
blob43461e68f2f9926c778de90dea43bdfc64ad9cd7
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 catch_pagefaults++; \
14 a = phys_copy(src, dst, size); \
15 catch_pagefaults--; \
18 #endif