From 2b0fb8c5032fb3590b1325ce6f128ef0af606465 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Wed, 7 Aug 2013 23:03:47 -0400 Subject: Add config option to support memory allocations in 9-segment. Internal "low memory" allocations are currently placed in the UMB region (0xc0000-0xf0000). However, there have been reports of some real machines that do not support DMA to this area of memory. So, add a compile time config option (off by default) to support placing all internal low-memory allocations at the end of the 640K real-memory area (0x90000-0xa0000). Signed-off-by: Kevin O'Connor --- src/Kconfig | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/Kconfig') diff --git a/src/Kconfig b/src/Kconfig index 3a4d5805..3a7d6bd0 100644 --- a/src/Kconfig +++ b/src/Kconfig @@ -113,6 +113,15 @@ endchoice adversely impact any legacy operating systems that call the BIOS in 16bit protected mode. + config MALLOC_UPPERMEMORY + bool "Allocate memory that needs to be in first Meg above 0xc0000" + default y + help + Use the "Upper Memory Block" area (0xc0000-0xf0000) for + internal "low memory" allocations. If this is not + selected, the memory is instead allocated from the + "9-segment" (0x90000-0xa0000). + endmenu menu "Hardware support" -- cgit