Commit Graph

5 Commits

Author SHA1 Message Date
Jonas 'Sortie' Termansen e95eb60d31 Provide a virtual address where pages can be temporarily mapped. 2011-08-08 15:20:02 +02:00
Jonas 'Sortie' Termansen 412d3e78b2 AlignDown and AlignUp aligns an address on a page boundary. 2011-08-08 15:20:02 +02:00
Jonas 'Sortie' Termansen 90ebfe7f0a Improvements to the address space switching function.
It now only switches when needed and returns the old addr space.
2011-08-07 01:16:53 +02:00
Jonas 'Sortie' Termansen 66c058fba1 Refactored virtual memory management, making it less buggy.
uintptr_t is now replaced with addr_t when referring to physical memory
addresses in Sortix. Many bugs in the previous memory management code have been
fixed. The new interface is less flexible - but should prove more solid as the
nasty internals have been hidden away. The current interface design should also
make the code more 64-bit ready/friendly. And so on.
2011-08-07 00:18:41 +02:00
Jonas 'Sortie' Termansen 9b79673dcb Initial version of Sortix. 2011-08-05 14:25:00 +02:00