Increase kernel heap, use crates version of goblin
This commit is contained in:
@@ -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"]
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user