* Removed B_USER_CLONEABLE_AREA. The value conflics with other flags and
it does belong to <KernelExport.h> 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
This commit is contained in:
parent
aa50545364
commit
06f5fe61a2
@ -72,9 +72,8 @@ typedef struct area_info {
|
|||||||
#define B_ANY_KERNEL_ADDRESS 4
|
#define B_ANY_KERNEL_ADDRESS 4
|
||||||
|
|
||||||
/* area protection */
|
/* area protection */
|
||||||
#define B_READ_AREA 0x01
|
#define B_READ_AREA 1
|
||||||
#define B_WRITE_AREA 0x02
|
#define B_WRITE_AREA 2
|
||||||
#define B_USER_CLONEABLE_AREA 0x04 // relevant for kernel areas only
|
|
||||||
|
|
||||||
extern area_id create_area(const char *name, void **start_addr, uint32 addr_spec,
|
extern area_id create_area(const char *name, void **start_addr, uint32 addr_spec,
|
||||||
size_t size, uint32 lock, uint32 protection);
|
size_t size, uint32 lock, uint32 protection);
|
||||||
|
Loading…
Reference in New Issue
Block a user