vm: fix a null dereference on out-of-memory
[minix.git] / servers / vm / arch / i386 / memory.h
blobd72de15bc06a37d9d979b79c95ee40aec2f19af4
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 I386_PAGE_SIZE
10 #define VM_PAGE_SIZE I386_PAGE_SIZE
12 #define CLICKSPERPAGE (I386_PAGE_SIZE/CLICK_SIZE)