summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustus Winter <4winter@informatik.uni-hamburg.de>2015-07-10 22:05:35 +0200
committerJustus Winter <4winter@informatik.uni-hamburg.de>2015-08-15 12:43:27 +0200
commitafc13f779c74f442fd1a575de76bf514820e4844 (patch)
tree8a58e0a42210cdc6f6906917265028516f1c94a9
parente6514f58ee48b5440e71b42b3859047120bce9cf (diff)
yyy biosmem workaround
-rw-r--r--i386/i386at/biosmem.c4
1 files changed, 3 insertions, 1 deletions
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);
}
}