2a8fabf4ad
-Convert the include directory over to using bsdmake syntax -Update/add mkfiles -Modify install(1) so that it can create symlinks -Update makefiles to use new install(1) options -Rename /usr/include/ibm to /usr/include/i386 -Create /usr/include/machine symlink to arch header files -Move vm_i386.h to its new home in the /usr/include/i386 -Update source files to #include the header files at their new homes. -Add new gnu-includes target for building GCC headers
14 lines
269 B
C
14 lines
269 B
C
|
|
#ifndef _PAGEFAULTS_H
|
|
#define _PAGEFAULTS_H 1
|
|
|
|
#include <machine/vm.h>
|
|
|
|
#define PFERR_NOPAGE(e) (!((e) & I386_VM_PFE_P))
|
|
#define PFERR_PROT(e) (((e) & I386_VM_PFE_P))
|
|
#define PFERR_WRITE(e) ((e) & I386_VM_PFE_W)
|
|
#define PFERR_READ(e) (!((e) & I386_VM_PFE_W))
|
|
|
|
#endif
|
|
|