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
vm: fix a null dereference on out-of-memory
[minix.git]
/
servers
/
vm
/
arch
/
i386
/
pagefaults.h
blob
4cdc9a61abddb671cf39064c40e6e721781f38d7
1
2
#ifndef _PAGEFAULTS_H
3
#define _PAGEFAULTS_H 1
4
5
#include <machine/vm.h>
6
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))
11
12
#endif
13