Increase memory to 1 GB instead of 128 MB. Also change KERNSIZE.

Change-Id: Iaa8e3a7922bf1f4ade6789f9bce07427d3e80eb8
Signed-off-by: Kyle Milka <[email protected]>
---
 tests/vmm/vmrunkernel.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/vmm/vmrunkernel.c b/tests/vmm/vmrunkernel.c
index bcc0c8c..09a1568 100644
--- a/tests/vmm/vmrunkernel.c
+++ b/tests/vmm/vmrunkernel.c
@@ -130,7 +130,7 @@ unsigned int maxresume = (unsigned int) -1;
 #define MiB 0x100000ull
 #define GiB (1ull << 30)
 #define GKERNBASE (16*MiB)
-#define KERNSIZE (128*MiB+GKERNBASE)
+#define KERNSIZE (1024*MiB+GKERNBASE)
 uint8_t _kernel[KERNSIZE];
 
 unsigned long long *p512, *p1, *p2m;
@@ -573,7 +573,7 @@ int main(int argc, char **argv)
        bp->e820_map[e820i++].type = E820_RESERVED;
 
        bp->e820_map[e820i].addr = 16 * 1048576;
-       bp->e820_map[e820i].size = 128 * 1048576;
+       bp->e820_map[e820i].size = 1024 * 1048576;
        bp->e820_map[e820i++].type = E820_RAM;
 
        bp->e820_map[e820i].addr = 0xf0000000;
-- 
2.8.0.rc3.226.g39d4020

-- 
You received this message because you are subscribed to the Google Groups 
"Akaros" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to