diff options
author | 2004-12-23 15:32:09 +0000 | |
---|---|---|
committer | 2004-12-23 15:32:09 +0000 | |
commit | 953ac70bd4f8e61689528344d6d69bb7a3cd4f0e (patch) | |
tree | 76375098dee5b0b2a970d6a38c7c3bc0e67ebc6b | |
parent | .Xr dhcrelay, okay henning@ (diff) | |
download | wireguard-openbsd-953ac70bd4f8e61689528344d6d69bb7a3cd4f0e.tar.xz wireguard-openbsd-953ac70bd4f8e61689528344d6d69bb7a3cd4f0e.zip |
Use a shorter, more realistic initial memory storage for extio.
-rw-r--r-- | sys/arch/hp300/hp300/machdep.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/arch/hp300/hp300/machdep.c b/sys/arch/hp300/hp300/machdep.c index 6d358d728f1..b85bdb24f76 100644 --- a/sys/arch/hp300/hp300/machdep.c +++ b/sys/arch/hp300/hp300/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.92 2004/12/02 19:37:22 miod Exp $ */ +/* $OpenBSD: machdep.c,v 1.93 2004/12/23 15:32:09 miod Exp $ */ /* $NetBSD: machdep.c,v 1.121 1999/03/26 23:41:29 mycroft Exp $ */ /* @@ -143,10 +143,12 @@ extern struct emul emul_sunos; #endif /* - * XXX some storage space must be allocated statically because of - * early console init + * Some storage space must be allocated statically because of the + * early console initialization. + * We know that console initialization will not try to map more than + * DIOCSIZE bytes. Play safe and allow for twice this size. */ -char extiospace[EXTENT_FIXED_STORAGE_SIZE(EIOMAPSIZE / 16)]; +char extiospace[EXTENT_FIXED_STORAGE_SIZE(2 * DIOCSIZE / PAGE_SIZE)]; /* prototypes for local functions */ caddr_t allocsys(caddr_t); |