From be7f8d64e665498f290a5422a019edc519c36b64 Mon Sep 17 00:00:00 2001
From: Jeremy Soller <jackpot51@gmail.com>
Date: Sat, 1 Apr 2017 21:10:55 -0600
Subject: [PATCH] Increase kernel heap, use crates version of goblin

---
 Cargo.toml             | 2 +-
 arch/x86_64/src/lib.rs | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Cargo.toml b/Cargo.toml
index 50721de1..7308c8d2 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 0ac508da..d2081c1f 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;
-- 
GitLab