summaryrefslogtreecommitdiffstats
path: root/sys/boot/alpha/common
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-05-12 07:47:47 +0000
committerpeter <peter@FreeBSD.org>2000-05-12 07:47:47 +0000
commit4cb8d8848eb2e423947dbbb5a36acea39685e991 (patch)
treec8a461249ac712e137302df3f850f6755be236dd /sys/boot/alpha/common
parent7153c35d2e27043135e45d79ddd49f5aa5e92f02 (diff)
downloadFreeBSD-src-4cb8d8848eb2e423947dbbb5a36acea39685e991.zip
FreeBSD-src-4cb8d8848eb2e423947dbbb5a36acea39685e991.tar.gz
Fix the Alpha loader the rest of the way. If FICL is present in
/boot/loader (even though it is 100% dormant in the Alpha version), then the loader panics with a zfree error:Loading /boot/loader.test *** keyboard not plugged in... Console: SRM firmware console panic: zfree(0x2003cb58,4096): wild pointer versus the exact same code but without FICL linked in: Loading /boot/loader Console: SRM firmware console VMS PAL rev: 0x1000600010114 OSF PAL rev: 0x1000600020116 Switch to OSF PAL code succeeded. FreeBSD/alpha SRM disk boot, Revision 0.1 This is almost certainly an alpha infrastructure bug, not a FICL problem. It's probably the same thing that made FICL fail for no apparent reason on the Alpha.
Diffstat (limited to 'sys/boot/alpha/common')
-rw-r--r--sys/boot/alpha/common/Makefile.common16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/boot/alpha/common/Makefile.common b/sys/boot/alpha/common/Makefile.common
index 616e92a..5e2d65d 100644
--- a/sys/boot/alpha/common/Makefile.common
+++ b/sys/boot/alpha/common/Makefile.common
@@ -11,14 +11,14 @@ SRCS+= dev_net.c
.endif
# Enable BootForth
-BOOT_FORTH= yes
-CFLAGS+= -I${.CURDIR}/../../ficl -I${.CURDIR}/../../ficl/alpha
-#CFLAGS+= -DBOOT_FORTH
-.if exists(${.OBJDIR}/../../ficl/libficl.a)
-LIBFICL= ${.OBJDIR}/../../ficl/libficl.a
-.else
-LIBFICL= ${.CURDIR}/../../ficl/libficl.a
-.endif
+#BOOT_FORTH= yes
+#CFLAGS+= -I${.CURDIR}/../../ficl -I${.CURDIR}/../../ficl/alpha
+##CFLAGS+= -DBOOT_FORTH
+#.if exists(${.OBJDIR}/../../ficl/libficl.a)
+#LIBFICL= ${.OBJDIR}/../../ficl/libficl.a
+#.else
+#LIBFICL= ${.CURDIR}/../../ficl/libficl.a
+#.endif
# Always add MI sources
.PATH: ${.CURDIR}/../../common
OpenPOWER on IntegriCloud