Fix a couple of typos.
This commit is contained in:
parent
c0f99cc74a
commit
fca92e02ab
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pmap.h,v 1.46 2000/05/01 14:06:43 pk Exp $ */
|
||||
/* $NetBSD: pmap.h,v 1.47 2000/05/31 11:23:22 pk Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996
|
||||
@ -267,6 +267,7 @@ struct user;
|
||||
void switchexit __P((struct proc *));
|
||||
int mmu_pagein __P((struct pmap *pm, vaddr_t, int));
|
||||
void pmap_writetext __P((unsigned char *, int));
|
||||
void pmap_globalize_boot_cpuinfo __P((struct cpu_info *));
|
||||
|
||||
#if !defined(MACHINE_NEW_CONCONTIG)
|
||||
u_int pmap_free_pages __P((void));
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cpu.c,v 1.99 2000/05/31 05:28:28 thorpej Exp $ */
|
||||
/* $NetBSD: cpu.c,v 1.100 2000/05/31 11:23:21 pk Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996
|
||||
@ -124,7 +124,7 @@ alloc_cpuinfo_global_va(ismaster, sizep)
|
||||
vsize_t *sizep;
|
||||
{
|
||||
int align;
|
||||
vaddr_t sva, va
|
||||
vaddr_t sva, va;
|
||||
vsize_t sz, esz;
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: locore.s,v 1.131 2000/05/31 05:28:29 thorpej Exp $ */
|
||||
/* $NetBSD: locore.s,v 1.132 2000/05/31 11:23:21 pk Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996 Paul Kranenburg
|
||||
@ -3903,7 +3903,7 @@ Lgandul: nop
|
||||
sethi %hi(cpcb), %l0
|
||||
st %o0, [%l0 + %lo(cpcb)]
|
||||
|
||||
sethi %hi(CPUINFO_VA), %o0 | cpuinfo.ci_self = &cpuinfo;
|
||||
sethi %hi(CPUINFO_VA), %o0 ! cpuinfo.ci_self = &cpuinfo;
|
||||
sethi %hi(_CISELFP), %l0
|
||||
st %o0, [%l0 + %lo(_CISELFP)]
|
||||
|
||||
@ -4696,7 +4696,8 @@ Lsw_scan:
|
||||
|
||||
/* p->p_cpu initialized in fork1() for single-processor */
|
||||
#if defined(MULTIPROCESSOR)
|
||||
ld [%g7 + %lo(_CISELFP)], %o0 ! p->p_cpu = cpuinfo.ci_self;
|
||||
sethi %hi(_CISELFP), %o0 ! p->p_cpu = cpuinfo.ci_self;
|
||||
ld [%o0 + %lo(_CISELFP)], %o0
|
||||
st %o0, [%g3 + P_CPU]
|
||||
#endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pmap.c,v 1.164 2000/05/31 05:28:30 thorpej Exp $ */
|
||||
/* $NetBSD: pmap.c,v 1.165 2000/05/31 11:23:21 pk Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996
|
||||
@ -3403,8 +3403,8 @@ pmap_globalize_boot_cpuinfo(cpi)
|
||||
vaddr_t va;
|
||||
vsize_t off;
|
||||
|
||||
for (va = (vaddr_t)cpi, sz = sizeof(*cpi);
|
||||
off < sizeof(*cpi); va += NBPG, off += NBPG) {
|
||||
off = 0;
|
||||
for (va = (vaddr_t)cpi; off < sizeof(*cpi); va += NBPG, off += NBPG) {
|
||||
paddr_t pa = VA2PA((caddr_t)CPUINFO_VA + off);
|
||||
pmap_enter(pmap_kernel(), va, pa,
|
||||
VM_PROT_READ|VM_PROT_WRITE,
|
||||
|
Loading…
Reference in New Issue
Block a user