In general, all memory is directly mapped physical-to-virtual with no protection. All of
physical memory is part of a memory pool managed with TLSF. Thread stacks are the only true
users of virtual memory, mapped into the top of virtual memory. From
(top of memory) - (thread stack size) to
(top of physical memory) is unmapped virtual memory.
The advantage of this approach is that allocation of both physical and virtual memory need not be tracked. Only physical memory allocation is tracked, and virtual memory allocation is implicit according to the active thread.
Virtual memory management.
Disable virtual memory.
Enable virtual memory.
Copy n bytes from src to dest. Must not overlap.
Copy n bytes from dest to src; buffers may overlap.
Set the n bytes at s to the value of c, truncated to a byte.