[Zion] Plumb user stack to free function on thread exit.
This commit is contained in:
parent
941d7c8d59
commit
84e1b4cdb4
4 changed files with 11 additions and 4 deletions
|
|
@ -22,6 +22,10 @@ uint64_t AddressSpace::AllocateUserStack() {
|
|||
return user_stacks_.NewUserStack();
|
||||
}
|
||||
|
||||
void AddressSpace::FreeUserStack(uint64_t rsp) {
|
||||
return user_stacks_.FreeUserStack(rsp);
|
||||
}
|
||||
|
||||
uint64_t AddressSpace::GetNextMemMapAddr(uint64_t size) {
|
||||
if (size == 0) {
|
||||
panic("Zero size memmap");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue