diff options
Diffstat (limited to 'sys')
-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) |