Changeset 179
- Timestamp:
- Jul 11, 2017, 1:02:42 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/mm/vmm.c
r178 r179 383 383 // get first free slot index in bitmap 384 384 int32_t index = bitmap_ffc( &mgr->bitmap , 4 ); 385 if( (index < 0) || (index > 31) ) return ENOMEM; 385 if( (index < 0) || (index > 31) ) 386 { 387 spinlock_unlock( &mgr->lock ); 388 return ENOMEM; 389 } 386 390 387 391 // update bitmap
Note: See TracChangeset
for help on using the changeset viewer.