diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-04-10 04:17:38 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2019-04-10 04:17:38 +0000 |
commit | 8f0c1aa9fd0ce5d319af8590f3da4e11d36119ac (patch) | |
tree | 623711690bbd522dd6a546a3a7a25db4ca835639 /sys/arch/alpha/stand | |
parent | 11a564e909360219908f5872d7b84a175d37875e (diff) |
change marks[] array to uint64_t, so the code can track full 64-bit
details from the ELF header instead of faking it.
Proposal from mlarkin, tested on most architectures already
Diffstat (limited to 'sys/arch/alpha/stand')
-rw-r--r-- | sys/arch/alpha/stand/boot/boot.c | 4 | ||||
-rw-r--r-- | sys/arch/alpha/stand/netboot/netboot.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/arch/alpha/stand/boot/boot.c b/sys/arch/alpha/stand/boot/boot.c index 132d8e2d13e..b379f765102 100644 --- a/sys/arch/alpha/stand/boot/boot.c +++ b/sys/arch/alpha/stand/boot/boot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: boot.c,v 1.23 2014/02/19 22:02:14 miod Exp $ */ +/* $OpenBSD: boot.c,v 1.24 2019/04/10 04:17:31 deraadt Exp $ */ /* $NetBSD: boot.c,v 1.10 1997/01/18 01:58:33 cgd Exp $ */ /* @@ -89,7 +89,7 @@ main() char *name, **namep; u_int64_t entry; int rc; - u_long marks[MARK_MAX]; + uint64_t marks[MARK_MAX]; #ifdef DEBUG struct rpb *r; struct mddt *mddtp; diff --git a/sys/arch/alpha/stand/netboot/netboot.c b/sys/arch/alpha/stand/netboot/netboot.c index c39fc3b5b7d..7d99cc2f2da 100644 --- a/sys/arch/alpha/stand/netboot/netboot.c +++ b/sys/arch/alpha/stand/netboot/netboot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: netboot.c,v 1.8 2011/06/05 21:49:36 miod Exp $ */ +/* $OpenBSD: netboot.c,v 1.9 2019/04/10 04:17:33 deraadt Exp $ */ /* $NetBSD: netboot.c,v 1.1 1996/09/18 20:03:12 cgd Exp $ */ /* @@ -57,7 +57,7 @@ void main() { u_int64_t entry; - u_long marks[MARK_MAX]; + uint64_t marks[MARK_MAX]; int rc; /* Init prom callback vector. */ |