Clean up some white space niggles.

This commit is contained in:
simonb 2002-07-11 01:38:48 +00:00
parent dd2d708bd5
commit 873edaed34
10 changed files with 122 additions and 123 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: 4xx_trap_subr.S,v 1.1 2001/06/13 06:01:48 simonb Exp $ */
/* $NetBSD: 4xx_trap_subr.S,v 1.2 2002/07/11 01:38:48 simonb Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.

View File

@ -1,4 +1,4 @@
/* $NetBSD: clock.c,v 1.2 2002/03/15 21:12:07 eeh Exp $ */
/* $NetBSD: clock.c,v 1.3 2002/07/11 01:38:48 simonb Exp $ */
/* $OpenBSD: clock.c,v 1.3 1997/10/13 13:42:53 pefo Exp $ */
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: copyinstr.c,v 1.1 2001/06/13 06:01:48 simonb Exp $ */
/* $NetBSD: copyinstr.c,v 1.2 2002/07/11 01:38:48 simonb Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.

View File

@ -1,4 +1,4 @@
/* $NetBSD: copyoutstr.c,v 1.1 2001/06/13 06:01:48 simonb Exp $ */
/* $NetBSD: copyoutstr.c,v 1.2 2002/07/11 01:38:48 simonb Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.c,v 1.2 2002/03/15 21:12:07 eeh Exp $ */
/* $NetBSD: cpu.c,v 1.3 2002/07/11 01:38:48 simonb Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@ -90,7 +90,7 @@ cpumatch(struct device *parent, struct cfdata *cf, void *aux)
/* make sure that we're looking for a CPU */
if (strcmp(maa->mb_name, cf->cf_driver->cd_name) != 0)
return (0);
return (0);
return !cpufound;
}
@ -153,7 +153,7 @@ cpuattach(struct device *parent, struct device *self, void *aux)
/* Initialize ECC error-logging handler. This is always enabled,
* but it will never be called on systems that do not have ECC
* enabled by POST code in the bootloader.
*/
*/
printf("Enabling ecc handler\n");
intr_ecc_tb = 0;
@ -340,7 +340,7 @@ intr_ecc(void * arg)
/* Only report errors every once per second max. Do this using the TB, */
/* because the system time (via microtime) may be adjusted when the date is set */
/* and can't reliably be used to measure intervals. */
/* and can't reliably be used to measure intervals. */
asm ("1: mftbu %0; mftb %0+1; mftbu %1; cmpw %0,%1; bne 1b"
: "=r"(tb), "=r"(tmp));

View File

@ -1,4 +1,4 @@
/* $NetBSD: intr.c,v 1.2 2002/05/13 07:04:24 matt Exp $ */
/* $NetBSD: intr.c,v 1.3 2002/07/11 01:38:48 simonb Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.

View File

@ -1,4 +1,4 @@
/* $NetBSD: mainbus.c,v 1.1 2002/03/13 01:04:16 eeh Exp $ */
/* $NetBSD: mainbus.c,v 1.2 2002/07/11 01:38:48 simonb Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.11 2002/03/28 18:07:31 eeh Exp $ */
/* $NetBSD: pmap.c,v 1.12 2002/07/11 01:38:49 simonb Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@ -498,7 +498,7 @@ vaddr_t kbreak = VM_MIN_KERNEL_ADDRESS;
vaddr_t
pmap_growkernel(maxkvaddr)
vaddr_t maxkvaddr;
vaddr_t maxkvaddr;
{
int s;
int seg;
@ -897,9 +897,9 @@ pmap_unwire(struct pmap *pm, vaddr_t va)
paddr_t pa;
int s = splvm();
if (pm == NULL) {
return;
}
if (pm == NULL) {
return;
}
if (!pmap_extract(pm, va, &pa)) {
return;
@ -1297,7 +1297,6 @@ ppc4xx_tlb_enter(int ctx, vaddr_t va, u_int pte)
paddr_t pa;
int s, sz;
tlbenter_ev.ev_count++;
sz = (pte & TTE_SZ_MASK) >> TTE_SZ_SHIFT;

View File

@ -1,4 +1,4 @@
/* $NetBSD: trap.c,v 1.6 2002/07/05 18:45:20 matt Exp $ */
/* $NetBSD: trap.c,v 1.7 2002/07/11 01:38:49 simonb Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.

View File

@ -1,4 +1,4 @@
/* $NetBSD: trap_subr.S,v 1.3 2002/03/13 19:11:53 eeh Exp $ */
/* $NetBSD: trap_subr.S,v 1.4 2002/07/11 01:38:49 simonb Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@ -315,14 +315,14 @@ _C_LABEL(ipkdbsize) = .-_C_LABEL(ipkdblow)
realtrap: /* entry point after IPKDB is done with exception */
/* Test whether we already had PR set */
mfsrr1 1
mtcr 1
mfsprg 1,1 /* restore SP (might have been
overwritten) */
bc 4,17,s_trap /* branch if PSL_PR is false */
lis 1,_C_LABEL(curpcb)@ha
lwz 1,_C_LABEL(curpcb)@l(1)
addi 1,1,USPACE /* stack is top of user struct */
mfsrr1 1
mtcr 1
mfsprg 1,1 /* restore SP (might have been
overwritten) */
bc 4,17,s_trap /* branch if PSL_PR is false */
lis 1,_C_LABEL(curpcb)@ha
lwz 1,_C_LABEL(curpcb)@l(1)
addi 1,1,USPACE /* stack is top of user struct */
/*
* Now the common trap catching code.
*/