From 6037babcbf4d20a74182eb6195ec2cb7f8aba4ae Mon Sep 17 00:00:00 2001 From: Jonas 'Sortie' Termansen Date: Wed, 5 Dec 2012 19:24:08 +0100 Subject: [PATCH] Extend kernel video memory area to 386 MiB on x86. --- sortix/x86/memorymanagement.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sortix/x86/memorymanagement.cpp b/sortix/x86/memorymanagement.cpp index 0557517e..aef26ebe 100644 --- a/sortix/x86/memorymanagement.cpp +++ b/sortix/x86/memorymanagement.cpp @@ -167,7 +167,7 @@ namespace Sortix const addr_t KERNEL_STACK_END = 0x80001000UL; const addr_t KERNEL_STACK_START = KERNEL_STACK_END + KERNEL_STACK_SIZE; const addr_t VIDEO_MEMORY = KERNEL_STACK_START; - const size_t VIDEO_MEMORY_MAX_SIZE = 256UL * 1024UL * 1024UL; + const size_t VIDEO_MEMORY_MAX_SIZE = 384UL * 1024UL * 1024UL; const addr_t INITRD = VIDEO_MEMORY + VIDEO_MEMORY_MAX_SIZE; size_t initrdsize = 0; const addr_t HEAPUPPER = 0xFF400000UL;