loader: Various improvements for NSO/NRO loaders.
This commit is contained in:
parent
33ea53094c
commit
23ce4f5afc
8 changed files with 40 additions and 58 deletions
|
@ -429,7 +429,7 @@ ResultVal<SharedPtr<Thread>> Thread::Create(std::string name, VAddr entry_point,
|
|||
// Map the page to the current process' address space.
|
||||
// TODO(Subv): Find the correct MemoryState for this region.
|
||||
vm_manager.MapMemoryBlock(Memory::TLS_AREA_VADDR + available_page * Memory::PAGE_SIZE,
|
||||
linheap_memory, offset, Memory::PAGE_SIZE, MemoryState::Private);
|
||||
linheap_memory, offset, Memory::PAGE_SIZE, MemoryState::Static);
|
||||
}
|
||||
|
||||
// Mark the slot as used
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue