diff --git a/Cargo.toml b/Cargo.toml index 50721de13fc3f0c286076280154e5c9c1ea336c8..7308c8d21bd4eaee0471d92b5fe01cec78bf4e8e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] diff --git a/arch/x86_64/src/lib.rs b/arch/x86_64/src/lib.rs index 0ac508dadeec67708e7ccab89181318db4236b94..d2081c1f5bf798862a29413ab1569f693ae80a36 100644 --- a/arch/x86_64/src/lib.rs +++ b/arch/x86_64/src/lib.rs @@ -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;