repo.or.cz
/
minix.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
t40c term[] count fix
[minix.git]
/
kernel
/
vm.h
blob
404537338d725b82eba38e01afd69f9d1c4e259a
1
2
#ifndef _VM_H
3
#define _VM_H 1
4
5
/* Pseudo error codes */
6
#define VMSUSPEND (-996)
7
#define EFAULT_SRC (-995)
8
#define EFAULT_DST (-994)
9
10
#define PHYS_COPY_CATCH(src, dst, size, a) { \
11
catch_pagefaults++; \
12
a = phys_copy(src, dst, size); \
13
catch_pagefaults--; \
14
}
15
16
#endif
17
18