summaryrefslogtreecommitdiff
path: root/i386/i386at/biosmem.c
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-26 16:29:35 +0200
commit7915e8ca1e3fa2f76efe2f5f9d323718a430d5f6 (patch)
tree04f74eb3c3adacd7ae5c7915872108a36fd1c5d0 /i386/i386at/biosmem.c
parent84080dc9e9684e40197412a196989727bae4d18a (diff)
yyy biosmem workaround
Diffstat (limited to 'i386/i386at/biosmem.c')
-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);
}
}