summaryrefslogtreecommitdiffstats
path: root/src/core/osloader.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/osloader.c')
-rw-r--r--src/core/osloader.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/core/osloader.c b/src/core/osloader.c
index 4e1860ce4..ddbe68a3a 100644
--- a/src/core/osloader.c
+++ b/src/core/osloader.c
@@ -30,7 +30,6 @@ Modifications: Ken Yap (for Etherboot/16)
*/
#include "io.h"
-#include "heap.h"
#include "memsizes.h"
/* Linker symbols */
@@ -57,18 +56,6 @@ int prep_segment ( physaddr_t start, physaddr_t mid, physaddr_t end ) {
return 0;
}
- /* Check for overlap with used portion of heap. Since the
- * heap code just finds the biggest available memory area, we
- * check only against the used heap area, rather than the
- * whole heap area.
- */
- if ( ( end > heap_ptr ) && ( start < heap_end ) ) {
- DBG ( "OSLOADER got segment [%lX, %lX) "
- "overlapping used heap [%lX, %lX)\n",
- start, end, heap_ptr, heap_end );
- return 0;
- }
-
/* Check that block fits entirely inside a single memory region */
fit = 0;
for ( i = 0 ; i < meminfo.map_count ; i++ ) {