diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-10-15 14:44:46 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 2002-10-15 14:44:46 +0000 |
commit | e6bd312e81f0cd197de4a706fe044d08c4780670 (patch) | |
tree | 0f54f6170a88c1e24f95957b35a2637621189527 /sys/arch | |
parent | fd8c2a1512ee306c02729f8eb29188c5cbe625e7 (diff) |
missing initmsgbuf(), noticed by miod@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/hppa/hppa/machdep.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/arch/hppa/hppa/machdep.c b/sys/arch/hppa/hppa/machdep.c index 20367e2a9ab..ce6b837e943 100644 --- a/sys/arch/hppa/hppa/machdep.c +++ b/sys/arch/hppa/hppa/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.85 2002/10/13 15:53:39 mickey Exp $ */ +/* $OpenBSD: machdep.c,v 1.86 2002/10/15 14:44:45 mickey Exp $ */ /* * Copyright (c) 1999-2002 Michael Shalayeff @@ -571,13 +571,15 @@ hppa_init(start) bzero ((void *)v1, (v - v1)); msgbufp = (struct msgbuf *)v; - v += hppa_round_page(MSGBUFSIZE); + v += round_page(MSGBUFSIZE); bzero(msgbufp, MSGBUFSIZE); - msgbufmapped = 1; /* sets physmem */ pmap_bootstrap(v); + msgbufmapped = 1; + initmsgbuf((caddr_t)msgbufp, round_page(MSGBUFSIZE)); + /* locate coprocessors and SFUs */ if ((error = pdc_call((iodcio_t)pdc, 0, PDC_COPROC, PDC_COPROC_DFLT, &pdc_coproc)) < 0) |