diff options
Diffstat (limited to 'i386')
-rw-r--r-- | i386/i386at/biosmem.c | 4 |
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); } } |