Changeset 2032 for Whitix/trunk
- Timestamp:
- 04/02/09 21:33:02 (3 years ago)
- Files:
-
- 1 modified
-
Whitix/trunk/memory/pg_alloc.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
Whitix/trunk/memory/pg_alloc.c
r1753 r2032 104 104 pageArray[i].physAddr=i << 12; 105 105 106 if (!B mapGetBit(allocatedBitmap, i))106 if (!BitTest(allocatedBitmap, i)) 107 107 { 108 108 ListAdd(&pageArray[i].list, &isa.list); … … 122 122 pageArray[i].physAddr=i << 12; 123 123 124 if (i >= 5120 || (i < 5120 && !B mapGetBit(allocatedBitmap, i)))124 if (i >= 5120 || (i < 5120 && !BitTest(allocatedBitmap, i))) 125 125 { 126 126 ListAdd(&pageArray[i].list, &normal.list); … … 245 245 while (size) 246 246 { 247 B mapSetBit(allocatedBitmap, (start >> 12), true);247 BitSet(allocatedBitmap, (start >> 12)); 248 248 start+=PAGE_SIZE; 249 249 size-=PAGE_SIZE;
