It was added to support Vax. Vax is dead Jim.
ok deraadt@
-/* $OpenBSD: bootstrap.c,v 1.9 2015/12/28 23:00:29 krw Exp $ */
+/* $OpenBSD: bootstrap.c,v 1.10 2018/09/01 16:55:29 krw Exp $ */
/*
* Copyright (c) 2013 Joel Sing <jsing@openbsd.org>
#include "installboot.h"
void
-bootstrap(int devfd, char *dev, char *bootfile, unsigned int overlap_allowance)
+bootstrap(int devfd, char *dev, char *bootfile)
{
struct disklabel dl;
struct disklabel *lp;
continue;
if (DL_GETPSIZE(pp) == 0)
continue;
- if ((u_int64_t)bootsec <= DL_GETPOFFSET(pp) + overlap_allowance)
+ if ((u_int64_t)bootsec <= DL_GETPOFFSET(pp))
continue;
switch (pp->p_fstype) {
case FS_BOOT:
-/* $OpenBSD: hppa_installboot.c,v 1.2 2015/10/15 19:27:30 miod Exp $ */
+/* $OpenBSD: hppa_installboot.c,v 1.3 2018/09/01 16:55:29 krw Exp $ */
/*
* Copyright (c) 2013 Joel Sing <jsing@openbsd.org>
void
md_installboot(int devfd, char *dev)
{
- bootstrap(devfd, dev, stage1, 0);
+ bootstrap(devfd, dev, stage1);
}
-/* $OpenBSD: installboot.h,v 1.10 2015/10/15 19:27:30 miod Exp $ */
+/* $OpenBSD: installboot.h,v 1.11 2018/09/01 16:55:29 krw Exp $ */
/*
* Copyright (c) 2012, 2013 Joel Sing <jsing@openbsd.org>
*
extern char *stage2;
#ifdef BOOTSTRAP
-void bootstrap(int, char *, char *, unsigned int);
+void bootstrap(int, char *, char *);
#endif
int filecopy(const char *, const char *);
-/* $OpenBSD: landisk_installboot.c,v 1.8 2016/01/15 22:19:29 tobiasu Exp $ */
+/* $OpenBSD: landisk_installboot.c,v 1.9 2018/09/01 16:55:29 krw Exp $ */
/*
* Copyright (c) 2013 Joel Sing <jsing@openbsd.org>
exit(1);
/* Write bootblock into the superblock. */
- bootstrap(devfd, dev, stage1, 0);
+ bootstrap(devfd, dev, stage1);
}