Increase kernel heap, use crates version of goblin

This commit is contained in:
Jeremy Soller
2017-04-01 21:10:55 -06:00
parent cbacd0eea7
commit be7f8d64e6
2 changed files with 2 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ spin = "0.4"
redox_syscall = "0.1"
[dependencies.goblin]
git = "https://github.com/m4b/goblin.git"
verion = "0.0.8"
default-features = false
features = ["elf32", "elf64"]

View File

@@ -37,7 +37,7 @@ pub extern crate x86;
/// Offset to kernel heap
pub const KERNEL_HEAP_OFFSET: usize = KERNEL_OFFSET + PML4_SIZE/2;
/// Size of kernel heap
pub const KERNEL_HEAP_SIZE: usize = 128 * 1024 * 1024; // 128 MB
pub const KERNEL_HEAP_SIZE: usize = 256 * 1024 * 1024; // 256 MB
/// Offset to kernel percpu variables
//TODO: Use 64-bit fs offset to enable this pub const KERNEL_PERCPU_OFFSET: usize = KERNEL_HEAP_OFFSET - PML4_SIZE;