mirror of
https://github.com/wichtounet/thor-os.git
synced 2025-09-18 17:15:09 -04:00
Save the segment for release later
This commit is contained in:
parent
d0b37eef9b
commit
f5bf6d7083
@ -551,6 +551,8 @@ void scheduler::sbrk(size_t inc){
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
process.segments.push_back({physical, pages});
|
||||||
|
|
||||||
process.brk_end += size;
|
process.brk_end += size;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user