Forgot about B_ANY_KERNEL_BLOCK_ADDRESS.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4326 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -80,6 +80,7 @@ benaphore_lock(benaphore *ben)
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
|
||||
static inline status_t
|
||||
benaphore_unlock(benaphore *ben)
|
||||
{
|
||||
|
||||
@@ -161,7 +161,7 @@ enum {
|
||||
|
||||
// ToDo: these are here only temporarily - it's a private
|
||||
// addition to the BeOS create_area() flags
|
||||
B_EXACT_KERNEL_ADDRESS = 5
|
||||
B_EXACT_KERNEL_ADDRESS = 6
|
||||
};
|
||||
|
||||
enum {
|
||||
|
||||
@@ -2298,6 +2298,7 @@ create_area(const char *name, void **address, uint32 addressSpec, size_t size, u
|
||||
aspace_id areaSpace;
|
||||
|
||||
switch (addressSpec) {
|
||||
case B_ANY_KERNEL_BLOCK_ADDRESS:
|
||||
case B_ANY_KERNEL_ADDRESS:
|
||||
case B_EXACT_KERNEL_ADDRESS:
|
||||
areaSpace = vm_get_kernel_aspace_id();
|
||||
@@ -2307,6 +2308,7 @@ create_area(const char *name, void **address, uint32 addressSpec, size_t size, u
|
||||
break;
|
||||
}
|
||||
switch (addressSpec) {
|
||||
case B_ANY_KERNEL_BLOCK_ADDRESS:
|
||||
case B_ANY_KERNEL_ADDRESS:
|
||||
case B_ANY_ADDRESS:
|
||||
addressSpec = REGION_ADDR_ANY_ADDRESS;
|
||||
|
||||
Reference in New Issue
Block a user