Subject: Re: pmax compilation problems on current, mips_reg_t
To: None <erik@mediator.uni-c.dk>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-mips
Date: 12/07/1998 00:41:05
In <19981206152512.A21546@q610.ebe.uni-c.dk>
erik@mediator.uni-c.dk wrote:
> Compiling a custom kernel has the following results for me:
:
> Did I screw something, or did somebody else "forget" to commit
> mips_reg_t ?
I got same problem on newsmips. mips_reg_t seems MIPS64 stuff
in nisimura-pmax-wscons branch, Nisimura-san?
> Seen on a NetBSD/pmax, trying to build based on sups of yesterday,
> and again of today.
I just change casts and can build a kernel.
--- sys/arch/mips/mips/mips_machdep.c.orig Thu Dec 3 21:18:13 1998
+++ sys/arch/mips/mips/mips_machdep.c Sat Dec 5 16:45:19 1998
@@ -663,10 +663,10 @@
* a2 rtld object (filled in by dynamic loader)
* a3 ps_strings
*/
- f->f_regs[A0] = (mips_reg_t)stack;
+ f->f_regs[A0] = stack;
f->f_regs[A1] = 0;
f->f_regs[A2] = 0;
- f->f_regs[A3] = (mips_reg_t)PS_STRINGS;
+ f->f_regs[A3] = (u_long)PS_STRINGS;
if (fpcurproc == p)
fpcurproc = (struct proc *)0;
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp