MemoryState: Add additional memory states and improve naming.

This commit is contained in:
bunnei 2018-03-10 17:46:23 -05:00
parent 07ae1f972d
commit 8be7131033
5 changed files with 45 additions and 18 deletions

View file

@ -314,7 +314,7 @@ ResultVal<SharedPtr<Thread>> Thread::Create(std::string name, VAddr entry_point,
// 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::ThreadLocalStorage);
MemoryState::ThreadLocal);
}
// Mark the slot as used