Commit Graph

2504 Commits

Author SHA1 Message Date
Jonas 'Sortie' Termansen 185c6d4b6f Processes (and thus threads) now belong to an address space.
Changing theads now automatically switches the adress space.
2011-08-07 01:17:53 +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