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;
|
return B_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static inline status_t
|
static inline status_t
|
||||||
benaphore_unlock(benaphore *ben)
|
benaphore_unlock(benaphore *ben)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -161,7 +161,7 @@ enum {
|
|||||||
|
|
||||||
// ToDo: these are here only temporarily - it's a private
|
// ToDo: these are here only temporarily - it's a private
|
||||||
// addition to the BeOS create_area() flags
|
// addition to the BeOS create_area() flags
|
||||||
B_EXACT_KERNEL_ADDRESS = 5
|
B_EXACT_KERNEL_ADDRESS = 6
|
||||||
};
|
};
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
|
|||||||
@@ -2298,6 +2298,7 @@ create_area(const char *name, void **address, uint32 addressSpec, size_t size, u
|
|||||||
aspace_id areaSpace;
|
aspace_id areaSpace;
|
||||||
|
|
||||||
switch (addressSpec) {
|
switch (addressSpec) {
|
||||||
|
case B_ANY_KERNEL_BLOCK_ADDRESS:
|
||||||
case B_ANY_KERNEL_ADDRESS:
|
case B_ANY_KERNEL_ADDRESS:
|
||||||
case B_EXACT_KERNEL_ADDRESS:
|
case B_EXACT_KERNEL_ADDRESS:
|
||||||
areaSpace = vm_get_kernel_aspace_id();
|
areaSpace = vm_get_kernel_aspace_id();
|
||||||
@@ -2307,6 +2308,7 @@ create_area(const char *name, void **address, uint32 addressSpec, size_t size, u
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
switch (addressSpec) {
|
switch (addressSpec) {
|
||||||
|
case B_ANY_KERNEL_BLOCK_ADDRESS:
|
||||||
case B_ANY_KERNEL_ADDRESS:
|
case B_ANY_KERNEL_ADDRESS:
|
||||||
case B_ANY_ADDRESS:
|
case B_ANY_ADDRESS:
|
||||||
addressSpec = REGION_ADDR_ANY_ADDRESS;
|
addressSpec = REGION_ADDR_ANY_ADDRESS;
|
||||||
|
|||||||
Reference in New Issue
Block a user