Replaced B_32_BIT_MEMORY by B_32_BIT_FULL_LOCK and B_32_BIT_CONTIGUOUS, so
the constraint can be expressed more precisely. ATM B_32_BIT_FULL_LOCK is implemented as B_32_BIT_CONTIGUOUS when B_HAIKU_PHYSICAL_BITS > 32, though. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37226 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -69,7 +69,8 @@ typedef struct area_info {
|
||||
#define B_FULL_LOCK 2
|
||||
#define B_CONTIGUOUS 3
|
||||
#define B_LOMEM 4 /* B_CONTIGUOUS, < 16 MB physical address */
|
||||
#define B_32_BIT_MEMORY 5 /* B_CONTIGUOUS, < 4 GB physical address */
|
||||
#define B_32_BIT_FULL_LOCK 5 /* B_FULL_LOCK, < 4 GB physical addresses */
|
||||
#define B_32_BIT_CONTIGUOUS 6 /* B_CONTIGUOUS, < 4 GB physical address */
|
||||
|
||||
/* address spec for create_area(), and clone_area() */
|
||||
#define B_ANY_ADDRESS 0
|
||||
|
||||
@@ -53,9 +53,9 @@ enum {
|
||||
};
|
||||
|
||||
enum {
|
||||
// ToDo: these are here only temporarily - it's a private
|
||||
// addition to the BeOS create_area() lock flags
|
||||
B_ALREADY_WIRED = 6,
|
||||
// TODO: these are here only temporarily - it's a private
|
||||
// addition to the BeOS create_area() lock flags
|
||||
B_ALREADY_WIRED = 7,
|
||||
};
|
||||
|
||||
#define MEMORY_TYPE_SHIFT 28
|
||||
|
||||
Reference in New Issue
Block a user