diff options
author | ps <ps@FreeBSD.org> | 2000-05-05 07:24:03 +0000 |
---|---|---|
committer | ps <ps@FreeBSD.org> | 2000-05-05 07:24:03 +0000 |
commit | 3bb1877ba6cfcf0c5cf79c652fefcaa606e084e2 (patch) | |
tree | 5bdf67acde6870894ebb5e3089e830d038a42e51 /sys/boot/i386/loader | |
parent | 6a0859501490c109aac155bbc75c466300a30d51 (diff) | |
download | FreeBSD-src-3bb1877ba6cfcf0c5cf79c652fefcaa606e084e2.zip FreeBSD-src-3bb1877ba6cfcf0c5cf79c652fefcaa606e084e2.tar.gz |
Remove the static heap. It is unknown why it was needed in the
beginning, but it no longer is required. This has been tested with
many different revisions of the PXE rom from Intel.
Diffstat (limited to 'sys/boot/i386/loader')
-rw-r--r-- | sys/boot/i386/loader/main.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/boot/i386/loader/main.c b/sys/boot/i386/loader/main.c index 721a664..a078c6d 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 |