Clean up to allow this to happen.
-/* $OpenBSD: Locore.c,v 1.2 1996/12/28 06:31:06 rahnds Exp $ */
+/* $OpenBSD: Locore.c,v 1.3 1997/02/06 23:44:54 rahnds Exp $ */
/* $NetBSD: Locore.c,v 1.1 1996/09/30 16:34:58 ws Exp $ */
/*
#include <stand.h>
#include <openfirm.h>
+/*
#include <machine/cpu.h>
+*/
static int (*openfirmware)(void *);
{
extern char etext;
-#ifdef FIREPOWERBUGS
- syncicache((void *)RELOC, &etext - (char *)RELOC);
-#endif
openfirmware = openfirm; /* Save entry to Open Firmware */
setup();
main(arg, argl);
-# $OpenBSD: Makefile,v 1.3 1997/01/09 05:21:27 rahnds Exp $
+# $OpenBSD: Makefile,v 1.4 1997/02/06 23:44:55 rahnds Exp $
# $NetBSD: Makefile,v 1.1 1996/09/30 16:34:59 ws Exp $
SUBDIR= boot
SAREL=
KERNREL=
KERN_AS=library
+Z_AS=library
+SA_ZLIB=smth
.include "Makefile.inc"
+.include "$S/lib/libz/Makefile.inc"
.include "$S/lib/libsa/Makefile.inc"
.include "$S/lib/libkern/Makefile.inc"
-all: ${SALIB} ${KERNLIB} _SUBDIRUSE
+all: ${ZLIB} ${SALIB} ${KERNLIB} _SUBDIRUSE
libdep:
- @echo ${.OBJDIR}/${SALIB} $(KERNLIB)
+ @echo ${.OBJDIR}/${SALIB} $(KERNLIB) ${ZLIB}
${PROG}:
-/* $OpenBSD: alloc.c,v 1.3 1997/01/09 05:21:28 rahnds Exp $ */
+/* $OpenBSD: alloc.c,v 1.4 1997/02/06 23:44:55 rahnds Exp $ */
/* $NetBSD: alloc.c,v 1.1 1996/09/30 16:35:00 ws Exp $ */
/*
{
struct ml *f = (struct ml *)(ptr - ALIGN(sizeof(struct ml)));
+#if IGNORE_FOR_NOW
if (f->size != roundup(ALIGN(size) + ALIGN(sizeof(struct ml)), NBPG))
panic("free: wrong size (%x != %x)",
f->size,
roundup(ALIGN(size) + ALIGN(sizeof(struct ml)), NBPG));
+#endif
f->next = fl;
fl = f;
}
-/* $OpenBSD: boot.c,v 1.3 1997/01/09 03:52:51 rahnds Exp $ */
+/* $OpenBSD: boot.c,v 1.4 1997/02/06 23:44:56 rahnds Exp $ */
/* $NetBSD: boot.c,v 1.2 1996/10/07 21:43:02 cgd Exp $ */
/*
#include <sys/disklabel.h>
#include <sys/exec_elf.h>
-#include <machine/cpu.h>
#include "ofdev.h"
#include "openfirm.h"
}
#endif
close(fd);
- syncicache(addr, exec_addr);
if (floppyboot) {
printf("Please insert root disk and press ENTER ");
getchar();