Much USB code for ARM USB support
[minix3.git] / minix / kernel / vm.h
blob404537338d725b82eba38e01afd69f9d1c4e259a
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 PHYS_COPY_CATCH(src, dst, size, a) { \
11 catch_pagefaults++; \
12 a = phys_copy(src, dst, size); \
13 catch_pagefaults--; \
16 #endif