summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authornyan <nyan@FreeBSD.org>2000-10-15 02:56:48 +0000
committernyan <nyan@FreeBSD.org>2000-10-15 02:56:48 +0000
commit3a05390ac27985a3d69dc03063e56f783e9422d5 (patch)
treeb7843b369f00ca5c28eb89e5d2408a7f05cc52b3 /sys/boot
parent5447803f6801b8d87203f3ac183782654c5687e8 (diff)
downloadFreeBSD-src-3a05390ac27985a3d69dc03063e56f783e9422d5.zip
FreeBSD-src-3a05390ac27985a3d69dc03063e56f783e9422d5.tar.gz
Merged from sys/boot/i386/loader/main.c revision 1.21.
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/pc98/loader/main.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/sys/boot/pc98/loader/main.c b/sys/boot/pc98/loader/main.c
index 34c13c2..a02b1ac 100644
--- a/sys/boot/pc98/loader/main.c
+++ b/sys/boot/pc98/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
OpenPOWER on IntegriCloud