From afc13f779c74f442fd1a575de76bf514820e4844 Mon Sep 17 00:00:00 2001 From: Justus Winter <4winter@informatik.uni-hamburg.de> Date: Fri, 10 Jul 2015 22:05:35 +0200 Subject: yyy biosmem workaround --- i386/i386at/biosmem.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/i386/i386at/biosmem.c b/i386/i386at/biosmem.c index f626df8..bdffc33 100644 --- a/i386/i386at/biosmem.c +++ b/i386/i386at/biosmem.c @@ -699,7 +699,9 @@ biosmem_setup(void) seg = &biosmem_segments[i]; biosmem_load_segment(seg, max_phys_end, seg->start, seg->end, - biosmem_heap_start, biosmem_heap_cur); + biosmem_heap_start, + biosmem_heap_cur == seg->start + ? seg->end: biosmem_heap_cur); } } -- cgit v1.2.3