summaryrefslogtreecommitdiff
path: root/sys/arch/vax/stand/xxboot
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2011-03-13 00:13:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2011-03-13 00:13:54 +0000
commit498cf2cbf80b299bf6c21307d98f424374b5b18c (patch)
tree8553045f12ef69e9aaafd5e8e87dfa1fbe23c284 /sys/arch/vax/stand/xxboot
parent87ac327e012b105ceaf428b26525cfa462ccd835 (diff)
Change daddr_t to daddr32_t. The bootblocks on our architectures only
do 32-bit block spanning. If later on we get some that can/should do 64-bit, that can be done now using daddr64_t (but of course, we are taking this step to finalize the daddr_t 64-bit conversion). ok miod krw
Diffstat (limited to 'sys/arch/vax/stand/xxboot')
-rw-r--r--sys/arch/vax/stand/xxboot/bootxx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/vax/stand/xxboot/bootxx.c b/sys/arch/vax/stand/xxboot/bootxx.c
index 5bcf131282b..debf2c0ee4f 100644
--- a/sys/arch/vax/stand/xxboot/bootxx.c
+++ b/sys/arch/vax/stand/xxboot/bootxx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bootxx.c,v 1.10 2003/08/15 23:16:30 deraadt Exp $ */
+/* $OpenBSD: bootxx.c,v 1.11 2011/03/13 00:13:53 deraadt Exp $ */
/* $NetBSD: bootxx.c,v 1.16 2002/03/29 05:45:08 matt Exp $ */
/*-
@@ -208,7 +208,7 @@ struct rom_softc {
int unit;
} rom_softc;
-int romstrategy(void *, int, daddr_t, size_t, void *, size_t *);
+int romstrategy(void *, int, daddr32_t, size_t, void *, size_t *);
int romopen(struct open_file *, int, int, int, int);
struct devsw devsw[] = {
SADEV("rom", romstrategy, romopen, nullsys, noioctl),
@@ -273,7 +273,7 @@ int
romstrategy(sc, func, dblk, size, buf, rsize)
void *sc;
int func;
- daddr_t dblk;
+ daddr32_t dblk;
size_t size;
void *buf;
size_t *rsize;