[][src]Constant kernel::mem::MAX_PAGE

pub const MAX_PAGE: usize = 128 * 1024 * 1024 / (1 << 12); // 32_768usize

Maximum number of pages. As QEMU and linker script kernel.ld are set to have 128MB of RAM, maximum number of pages can be calculated.