Add subprocesses and convert terminal to an app
This commit is contained in:
+1
-1
@@ -25,7 +25,7 @@ static uint64_t allocation[PAGE_COUNT / MAP_UNIT] = {
|
||||
};
|
||||
|
||||
static uint8_t get_allocated(uint16_t page) {
|
||||
return !!allocation[page / MAP_UNIT] & ((uint64_t)1 << (page % MAP_UNIT));
|
||||
return !!(allocation[page / MAP_UNIT] & ((uint64_t)1 << (page % MAP_UNIT)));
|
||||
}
|
||||
|
||||
static void set_allocated(uint16_t page, uint8_t allocated) {
|
||||
|
||||
Reference in New Issue
Block a user