diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2013-08-07 23:03:47 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2013-08-10 13:05:39 -0400 |
commit | 2b0fb8c5032fb3590b1325ce6f128ef0af606465 (patch) | |
tree | 8f3bf271b76cc84b35fa1d5ccfd737534ec2fe21 /src/Kconfig | |
parent | fd459e8a3e11c0b84e0f031c249512145c25b2a8 (diff) | |
download | seabios-2b0fb8c5032fb3590b1325ce6f128ef0af606465.tar.gz |
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 <kevin@koconnor.net>
Diffstat (limited to 'src/Kconfig')
-rw-r--r-- | src/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
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" |