Lines Matching refs:space

75  * Create a new address space.
77 * @return Newly created address space.
111 * Destroys an address space and releases the physical pages.
113 * @param [in] space Address space to destroy.
116 PMap_DestroyAS(AS *space)
121 PageEntry pte = space->root->entries[i];
157 PAlloc_Release(space);
163 * Get the current address space on this CPU.
165 * @return Current address space.
176 * Load an address space into the CPU. Reloads the CR3 register in x86-64 that
179 * @param [in] space Address space to load.
182 PMap_LoadAS(AS *space)
184 write_cr3(DMVA2PA((uint64_t)space->root));
185 currentAS[THISCPU()] = space;
214 * Translates a virtual address to physical address for a given address space.
216 * @param [in] space Address space we wish to lookup a mapping in.
220 PMap_Translate(AS *space, uintptr_t va)
223 PageTable *table = space->root;
272 * @param [in] space Address space to search.
278 PMapLookupEntry(AS *space, uint64_t va, PageEntry **entry, int size)
281 PageTable *table = space->root;
343 * Map a physical to virtual mapping in an address space.
345 * @param [in] as Address space.
379 * @param [in] as Address space.
411 * Map a virtual mapping in an address space and back it by newly allocated
414 * @param [in] as Address space.
469 * address space that is shared by all processes.
502 * Map a range of physical pages to virtual pages in the kernel address space
552 PMap_DumpFull(AS *space)
558 PageTable *root = space->root;
560 kprintf("Root: %016llx\n", (uint64_t)space->root);
616 PMap_Dump(AS *space)
622 PageTable *root = space->root;