Removed NewOS LOCK_KERNEL and LOCK_RW - replaced by B_READ_AREA, and friends.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7846 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2004-06-08 08:24:53 +00:00
parent 1adfa388af
commit 3c9e531071
13 changed files with 152 additions and 147 deletions
+4 -4
View File
@@ -26,10 +26,10 @@
#define WRITE_COUNT 1024
#define READ_COUNT 1
// page attributes
#define PAGE_MODIFIED 0x04
#define PAGE_ACCESSED 0x08
#define PAGE_PRESENT 0x10
// page attributes (in addition to B_READ_AREA etc.)
#define PAGE_MODIFIED 64
#define PAGE_ACCESSED 128
#define PAGE_PRESENT 256
// Should only be used by vm internals
int vm_page_fault(addr address, addr fault_address, bool is_write, bool is_user, addr *newip);