vm: fix a null dereference on out-of-memory
[minix.git] / servers / vm / arch / arm / memory.h
blob4ceb0464e871625e0fcc34a1f1ec07d167be4bd3
1 #include <machine/vm.h>
3 /* And what is the highest addressable piece of memory, when in paged
4 * mode?
5 */
6 #define VM_DATATOP kernel_boot_info.user_end
7 #define VM_STACKTOP kernel_boot_info.user_sp
9 #define SLAB_PAGESIZE ARM_PAGE_SIZE
10 #define VM_PAGE_SIZE ARM_PAGE_SIZE
12 #define CLICKSPERPAGE (ARM_PAGE_SIZE/CLICK_SIZE)