mm: vm: Add test code

Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>
mm: vm: Add code to loading in ranges of pages

Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>
build: Add dep file, to make stuff build again

Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>
mm: Fix slab allocator and rework pte subsystem

I know, not one of my prettiest commits, but hey! One should be allowed
to do such a thing from time to time!

Basically, the slab allocator is now connected to the vm heap management
code.

As for the pte scheme, paging data is now stored in architectural
dependent ways. That means there will be no pretty api, besides what we
have in system.h

This should make context switching way quicker, and more managable.

Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>
mm: pte: Add comments and perf tweaks to pte switch

Mostly done some comments, but also restructured some of the code.
Nothing worth writing home about, besides the comments.

Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>
mm: pte: Add start to x86 pagefault handling

Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>
mm: vm: Expand on tests and insert pagefault code

Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>
mm: vm: Add code to test and fix compiler warnings

Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>
mm: pte: Fix bugs in simple context switch

Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>
mm: vm: Fancied up the test code some more

Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>
mm: vm: Integrate alloc test into test suite

Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>
mm: vm: Add multi page segment switching test

Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>
mm: pte: Fix memory leak, add test and fix bugs

Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>
Merge branch 'vm' into hal

Get this context switching business in this branch. It looks interesting.