From 06f5fe61a29767c7489e8080d09843e34adb54cf Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Tue, 25 Jan 2005 22:54:22 +0000 Subject: [PATCH] * Removed B_USER_CLONEABLE_AREA. The value conflics with other flags and it does belong to anyway. * Reverted the protection flags back to decimal for consistency with the other places. BTW, since when do we use decimals for flags? git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11047 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/os/kernel/OS.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/headers/os/kernel/OS.h b/headers/os/kernel/OS.h index 2a26df1a6a..7c4b41ebad 100644 --- a/headers/os/kernel/OS.h +++ b/headers/os/kernel/OS.h @@ -72,9 +72,8 @@ typedef struct area_info { #define B_ANY_KERNEL_ADDRESS 4 /* area protection */ -#define B_READ_AREA 0x01 -#define B_WRITE_AREA 0x02 -#define B_USER_CLONEABLE_AREA 0x04 // relevant for kernel areas only +#define B_READ_AREA 1 +#define B_WRITE_AREA 2 extern area_id create_area(const char *name, void **start_addr, uint32 addr_spec, size_t size, uint32 lock, uint32 protection);