aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorPaul Saab <ps@FreeBSD.org>2000-05-05 07:24:03 +0000
committerPaul Saab <ps@FreeBSD.org>2000-05-05 07:24:03 +0000
commit90c25bd74a540a8323564c94311042edfc0c561e (patch)
tree96fa3e45773079883c92c94c30ae2ed6514f6f94 /sys
parentdf07109126764c45fa645541d506d9273129463a (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/boot/i386/loader/main.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/boot/i386/loader/main.c b/sys/boot/i386/loader/main.c
index 721a664ff2c2..a078c6d0b501 100644
--- a/sys/boot/i386/loader/main.c
+++ b/sys/boot/i386/loader/main.c
@@ -70,11 +70,6 @@ extern char bootprog_name[], bootprog_rev[], bootprog_date[], bootprog_maker[];
/* XXX debugging */
extern char end[];
-/* XXX - I dont know why we have to do this, but it helps. */
-#if defined(LOADER_NFS_SUPPORT) || defined(LOADER_TFTP_SUPPORT)
-char Heap[200*1024];
-#endif
-
void
main(void)
{
@@ -91,12 +86,7 @@ main(void)
*/
bios_getmem();
- /* XXX - I dont know why we have to do this, but it helps PXE. */
-#if defined(LOADER_NFS_SUPPORT) || defined(LOADER_TFTP_SUPPORT)
- setheap(Heap, Heap+sizeof(Heap));
-#else
setheap((void *)end, (void *)bios_basemem);
-#endif
/*
* XXX Chicken-and-egg problem; we want to have console output early, but some