Subject: Re: mac68k - do we need __VM_PMAP_HACK ?
To: current users <current-users@NetBSD.ORG>
From: Paul Goyette <paul@whooppee.com>
List: current-users
Date: 05/18/1997 07:08:41
(Following up on my own post)
Actually, the code change should apparently be:
from: PMAP_ACTIVATE(&p2->p_vmspace->vm_pmap, pcb, 0);
to: PMAP_ACTIVATE(p2->p_vmspace->vm_map.pmap, pcb, 0);
(no & in front of p2)
On Sun, 18 May 1997, I wrote:
> It appears that the mac68k port has not yet been adjusted to the new vm
> structures. Should we use __VM_PMAP_HACK, or should we make the indicated
> code change?
>
> (Possible code change in sys/arch/mac68k/mac68k/vm_machdep.c line 91)
> from: PMAP_ACTIVATE(&p2->p_vmspace->vm_pmap, pcb, 0);
> to: PMAP_ACTIVATE(&p2->p_vmspace->vm_map.pmap, pcb, 0);
>
> (Building from sources supped today, 5/18)
> cc -O2 -m68030 -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
> -msoft-float -I. -I../../../../arch -I../../../.. -nostdinc -DHZ="0x3c"
> -DEXEC_AOUT -DEXEC_SCRIPT -DSWAPPAGER -DVNODEPAGER -DDEVPAGER -DKTRACE
> -DSYSVMSG -DSYSVSEM -DSYSVSHM -DLKM -DDDB -DDIAGNOSTIC -DCOMPAT_43
> -DCOMPAT_09 -DCOMPAT_10 -DCOMPAT_11 -DCOMPAT_12 -DCOMPAT_SUNOS -DFFS -DNFS
> -DKERNFS -DNULLFS -DMFS -DFDESC -DPROCFS -DCD9660 -DUNION -DQUOTA
> -DNFSSERVER -DFIFO -DINET -DTCP_COMPAT_42 -DGATEWAY -DPPP_BSDCOMP
> -DPPP_DEFLATE -DPFIL_HOOKS -DPPP_VJC -DPPP_FILTER -DM68030
> -DNCR_PIO_WRITE="0x10" -DMAXUSERS=16 -D_KERNEL -Dmc68020 -Dmac68k -c
> ../../../../arch/mac68k/mac68k/vm_machdep.c
> ../../../../arch/mac68k/mac68k/vm_machdep.c: In function `cpu_fork':
> ../../../../arch/mac68k/mac68k/vm_machdep.c:91: structure has no member
> named `vm_pmap'
> ../../../../arch/mac68k/mac68k/vm_machdep.c:91: structure has no member
> named `vm_pmap'
> ../../../../arch/mac68k/mac68k/vm_machdep.c:91: structure has no member
> named `vm_pmap'
> *** Error code 1
>
> Stop.
>
>
> -----------------------------------------------------------------------------
> | Paul Goyette | PGP Public Key fingerprint: | E-mail addresses: |
> | Network Consultant | 0E 40 D2 FC 2A 13 74 A0 | paul@whooppee.com |
> | and kernel hacker | E4 69 D5 BE 65 E4 56 C6 | paul_goyette@ins.com |
> -----------------------------------------------------------------------------
>
>
-----------------------------------------------------------------------------
| Paul Goyette | PGP Public Key fingerprint: | E-mail addresses: |
| Network Consultant | 0E 40 D2 FC 2A 13 74 A0 | paul@whooppee.com |
| and kernel hacker | E4 69 D5 BE 65 E4 56 C6 | paul_goyette@ins.com |
-----------------------------------------------------------------------------