TRUE -> true, FALSE -> false

This commit is contained in:
thorpej 2007-02-28 04:21:51 +00:00
parent 81bb031653
commit 09c5f9cc49
42 changed files with 182 additions and 182 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: db_trace.c,v 1.2 2007/02/21 22:59:45 thorpej Exp $ */
/* $NetBSD: db_trace.c,v 1.3 2007/02/28 04:21:51 thorpej Exp $ */
/* Inspired by reading alpha/db_trace.c */
@ -76,8 +76,8 @@ db_stack_trace_print(db_expr_t addr, bool have_addr, db_expr_t count,
{
char c;
const char *cp = modif;
bool trace_thread = FALSE;
bool trace_user = FALSE;
bool trace_thread = false;
bool trace_user = false;
struct trapframe *tf;
struct unwind_frame current_frame;
db_addr_t ip;

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.4 2007/02/09 21:55:05 ad Exp $ */
/* $NetBSD: machdep.c,v 1.5 2007/02/28 04:21:51 thorpej Exp $ */
/*-
* Copyright (c) 2003,2004 Marcel Moolenaar
@ -286,13 +286,13 @@ cpu_startup()
* limits the number of processes exec'ing at any time.
*/
exec_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
16 * NCARGS, VM_MAP_PAGEABLE, FALSE, NULL);
16 * NCARGS, VM_MAP_PAGEABLE, false, NULL);
/*
* Allocate a submap for physio
*/
phys_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
VM_PHYS_SIZE, 0, FALSE, NULL);
VM_PHYS_SIZE, 0, false, NULL);
/*
* No need to allocate an mbuf cluster submap. Mbuf clusters

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.5 2007/02/21 22:59:45 thorpej Exp $ */
/* $NetBSD: pmap.c,v 1.6 2007/02/28 04:21:51 thorpej Exp $ */
/*-
@ -92,7 +92,7 @@
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.5 2007/02/21 22:59:45 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.6 2007/02/28 04:21:51 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -336,7 +336,7 @@ pmap_steal_memory(vsize_t size, vaddr_t *vstartp, vaddr_t *vendp)
#endif
for (lcv = 0; lcv < vm_nphysseg; lcv++) {
if (uvm.page_init_done == TRUE)
if (uvm.page_init_done == true)
panic("pmap_steal_memory: called _after_ bootstrap");
#if 0
@ -419,7 +419,7 @@ pmap_steal_vhpt_memory(vsize_t size)
#endif
for (lcv = 0; lcv < vm_nphysseg; lcv++) {
if (uvm.page_init_done == TRUE)
if (uvm.page_init_done == true)
panic("pmap_vhpt_steal_memory: called _after_ bootstrap");
#if 1
@ -812,7 +812,7 @@ pmap_init(void)
/*
* Now it is safe to enable pv entry recording.
*/
pmap_initialized = TRUE;
pmap_initialized = true;
}
@ -828,7 +828,7 @@ vtophys(va)
{
paddr_t pa;
if (pmap_extract(pmap_kernel(), va, &pa) == TRUE)
if (pmap_extract(pmap_kernel(), va, &pa) == true)
return (pa);
return (0);
}
@ -1057,7 +1057,7 @@ pmap_kenter_pa(vaddr_t va, paddr_t pa, vm_prot_t prot)
else
pmap_enter_vhpt(pte, va);
pmap_pte_prot(pmap_kernel(), pte, prot);
pmap_set_pte(pte, va, pa, FALSE, FALSE);
pmap_set_pte(pte, va, pa, false, false);
}
@ -1260,10 +1260,10 @@ pmap_extract(pmap_t pmap, vaddr_t va, paddr_t *pap)
if (pte != NULL && pmap_present(pte))
pap = (paddr_t *) pmap_ppn(pte);
else
return FALSE;
return false;
pmap_install(oldpmap);
simple_unlock(pmap->pm_slock);
return TRUE;
return true;
}
@ -1275,7 +1275,7 @@ pmap_extract(pmap_t pmap, vaddr_t va, paddr_t *pap)
bool
pmap_clear_modify(struct vm_page *pg)
{
bool rv = FALSE;
bool rv = false;
struct ia64_lpte *pte;
pmap_t oldpmap;
pv_entry_t pv;
@ -1289,7 +1289,7 @@ pmap_clear_modify(struct vm_page *pg)
pte = pmap_find_vhpt(pv->pv_va);
KASSERT(pte != NULL);
if (pmap_dirty(pte)) {
rv = TRUE;
rv = true;
pmap_clear_dirty(pte);
pmap_invalidate_page(pv->pv_pmap, pv->pv_va);
}
@ -1363,7 +1363,7 @@ pmap_reference(pmap_t pmap)
bool
pmap_clear_reference(struct vm_page *pg)
{
return (FALSE);
return (false);
}
/*
@ -1416,7 +1416,7 @@ pmap_enter(pmap_t pmap, vaddr_t va, paddr_t pa, vm_prot_t prot, int flags)
va &= ~PAGE_MASK;
managed = FALSE;
managed = false;
wired = (flags & PMAP_WIRED) !=0;
@ -1463,7 +1463,7 @@ pmap_enter(pmap_t pmap, vaddr_t va, paddr_t pa, vm_prot_t prot, int flags)
else if (!wired && pmap_wired(&origpte))
pmap->pm_stats.wired_count--;
managed = (pmap_managed(&origpte)) ? TRUE : FALSE;
managed = (pmap_managed(&origpte)) ? true : false;
/*
@ -1492,7 +1492,7 @@ pmap_enter(pmap_t pmap, vaddr_t va, paddr_t pa, vm_prot_t prot, int flags)
if ((flags & (PG_FAKE)) == 0) {
pmap_insert_entry(pmap, va, pg);
managed = TRUE;
managed = true;
}
/*
@ -2145,9 +2145,9 @@ pmap_poolpage_alloc(paddr_t *pap)
simple_unlock(&pg->mdpage.pv_slock);
#endif
*pap = pa;
return (TRUE);
return (true);
}
return (FALSE);
return (false);
}
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: stackframe.c,v 1.2 2007/02/21 22:59:45 thorpej Exp $ */
/* $NetBSD: stackframe.c,v 1.3 2007/02/28 04:21:51 thorpej Exp $ */
/* Contributed to the NetBSD foundation by Cherry G. Mathew <cherry@mahiti.org>
* This file contains routines to use decoded unwind descriptor entries
@ -37,7 +37,7 @@ void buildrecordchain(uint64_t unwind_infop, struct recordchain *xxx)
uint64_t unwindstart, unwindend;
uint64_t unwindlen;
uint64_t region_len = 0;
bool region_type = FALSE; /* Prologue */
bool region_type = false; /* Prologue */
struct unwind_hdr_t {
uint64_t uwh;
@ -76,7 +76,7 @@ void buildrecordchain(uint64_t unwind_infop, struct recordchain *xxx)
if ((nextrecp = unwind_decode_R2(recptr, &strc[rec_cnt].udesc))){
region_len = strc[rec_cnt].udesc.R2.rlen;
region_type = FALSE; /* R2 regions are prologue regions */
region_type = false; /* R2 regions are prologue regions */
strc[rec_cnt].type = R2;
recptr = nextrecp;
continue;
@ -90,7 +90,7 @@ void buildrecordchain(uint64_t unwind_infop, struct recordchain *xxx)
continue;
}
if(region_type == FALSE) { /* Prologue Region */
if(region_type == false) { /* Prologue Region */
if ((nextrecp = unwind_decode_P1(recptr, &strc[rec_cnt].udesc))){
strc[rec_cnt].type = P1;
recptr = nextrecp;
@ -976,7 +976,7 @@ struct staterecord *buildrecordstack(struct recordchain *rchain, uint64_t procof
rdepth = procoffset - roffset;
if (rdepth < 0) goto out; /* Overshot Region containing procoffset. Bailout. */
roffset += rlen;
rtype = FALSE; /* prologue region */
rtype = false; /* prologue region */
pushrecord(&current_state);
/* R2 has save info. Continue down. */

View File

@ -1,4 +1,4 @@
/* $NetBSD: autoconf.c,v 1.5 2006/10/31 14:04:29 thorpej Exp $ */
/* $NetBSD: autoconf.c,v 1.6 2007/02/28 04:21:52 thorpej Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@ -145,7 +145,7 @@ device_register(device_t dev, void *aux)
if (BUILTIN_ETHERNET_P(pa)) {
if (! prop_dictionary_set_bool(device_properties(dev),
"am79c970-no-eeprom",
TRUE)) {
true)) {
printf("WARNING: unable to set "
"am79c970-no-eeprom property for %s\n",
dev->dv_xname);

View File

@ -1,4 +1,4 @@
/* $NetBSD: autoconf.c,v 1.7 2006/05/05 18:04:41 thorpej Exp $ */
/* $NetBSD: autoconf.c,v 1.8 2007/02/28 04:21:52 thorpej Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.7 2006/05/05 18:04:41 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.8 2007/02/28 04:21:52 thorpej Exp $");
#include "opt_md.h"
@ -104,7 +104,7 @@ cpu_configure(void)
#define SETPROP(x, y) \
do { \
if (prop_dictionary_set(device_properties(dev), \
x, y) == FALSE) { \
x, y) == false) { \
printf("WARNING: unable to set " x " " \
"property for %s\n", dev->dv_xname); \
} \

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.3 2007/01/24 13:08:11 hubertf Exp $ */
/* $NetBSD: machdep.c,v 1.4 2007/02/28 04:21:52 thorpej Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@ -72,7 +72,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.3 2007/01/24 13:08:11 hubertf Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.4 2007/02/28 04:21:52 thorpej Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -215,7 +215,7 @@ landisk_startup(int howto, void *bi)
#ifdef KLOADER
/* copy boot parameter for kloader */
kloader_bootinfo_set(&kbootinfo, 0, NULL, NULL, TRUE);
kloader_bootinfo_set(&kbootinfo, 0, NULL, NULL, true);
#endif
/* Load memory to UVM */

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.48 2007/02/09 21:55:05 ad Exp $ */
/* $NetBSD: machdep.c,v 1.49 2007/02/28 04:21:52 thorpej Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -38,7 +38,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.48 2007/02/09 21:55:05 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.49 2007/02/28 04:21:52 thorpej Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -270,20 +270,20 @@ cpu_startup()
* limits the number of processes exec'ing at any time.
*/
exec_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
16*NCARGS, VM_MAP_PAGEABLE, FALSE, NULL);
16*NCARGS, VM_MAP_PAGEABLE, false, NULL);
/*
* Allocate a submap for physio
*/
phys_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
VM_PHYS_SIZE, 0, FALSE, NULL);
VM_PHYS_SIZE, 0, false, NULL);
/*
* Finally, allocate mbuf cluster submap.
*/
mb_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
nmbclusters * mclbytes, VM_MAP_INTRSAFE,
FALSE, NULL);
false, NULL);
format_bytes(pbuf, sizeof(pbuf), ptoa(uvmexp.free));
printf("avail memory = %s\n", pbuf);

View File

@ -1,4 +1,4 @@
/* $NetBSD: trap.c,v 1.40 2007/02/09 21:55:05 ad Exp $ */
/* $NetBSD: trap.c,v 1.41 2007/02/28 04:21:52 thorpej Exp $ */
/*
* Copyright (c) 1982, 1986, 1990, 1993
@ -78,7 +78,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.40 2007/02/09 21:55:05 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.41 2007/02/28 04:21:52 thorpej Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -950,7 +950,7 @@ dumpwb(num, s, a, d)
num, a, d, f7sz[(s & SSW4_SZMASK) >> 5],
f7tt[(s & SSW4_TTMASK) >> 3], f7tm[s & SSW4_TMMASK]);
printf(" PA ");
if (pmap_extract(p->p_vmspace->vm_map.pmap, (vaddr_t)a, &pa) == FALSE)
if (pmap_extract(p->p_vmspace->vm_map.pmap, (vaddr_t)a, &pa) == false)
printf("<invalid address>");
else
printf("%lx, current value %lx", pa, fuword((caddr_t)a));

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.311 2007/02/09 21:55:06 ad Exp $ */
/* $NetBSD: machdep.c,v 1.312 2007/02/28 04:21:52 thorpej Exp $ */
/*
* Copyright (c) 1982, 1990 The Regents of the University of California.
@ -107,7 +107,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.311 2007/02/09 21:55:06 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.312 2007/02/28 04:21:52 thorpej Exp $");
#include "opt_adb.h"
#include "opt_ddb.h"
@ -458,19 +458,19 @@ cpu_startup(void)
* limits the number of processes exec'ing at any time.
*/
exec_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
16 * NCARGS, VM_MAP_PAGEABLE, FALSE, NULL);
16 * NCARGS, VM_MAP_PAGEABLE, false, NULL);
/*
* Allocate a submap for physio
*/
phys_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
VM_PHYS_SIZE, 0, FALSE, NULL);
VM_PHYS_SIZE, 0, false, NULL);
/*
* Finally, allocate mbuf cluster submap.
*/
mb_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
nmbclusters * mclbytes, VM_MAP_INTRSAFE, FALSE, NULL);
nmbclusters * mclbytes, VM_MAP_INTRSAFE, false, NULL);
format_bytes(pbuf, sizeof(pbuf), ptoa(uvmexp.free));
printf("avail memory = %s\n", pbuf);
@ -1145,7 +1145,7 @@ getenv(const char *str)
}
s++;
if (*s == '\0') { /* Not found */
/* Boolean flags are FALSE (0) if not there */
/* Boolean flags are false (0) if not there */
return 0;
}
continue;

View File

@ -1,4 +1,4 @@
/* $NetBSD: trap.c,v 1.122 2007/02/09 21:55:06 ad Exp $ */
/* $NetBSD: trap.c,v 1.123 2007/02/28 04:21:52 thorpej Exp $ */
/*
* Copyright (c) 1982, 1986, 1990, 1993
@ -77,7 +77,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.122 2007/02/09 21:55:06 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.123 2007/02/28 04:21:52 thorpej Exp $");
#include "opt_ddb.h"
#include "opt_execfmt.h"
@ -979,7 +979,7 @@ dumpwb(int num, u_short s, u_int a, u_int d)
num, a, d, f7sz[(s & SSW4_SZMASK) >> 5],
f7tt[(s & SSW4_TTMASK) >> 3], f7tm[s & SSW4_TMMASK]);
printf(" PA ");
if (pmap_extract(p->p_vmspace->vm_map.pmap, (vaddr_t)a, &pa) == FALSE)
if (pmap_extract(p->p_vmspace->vm_map.pmap, (vaddr_t)a, &pa) == false)
printf("<invalid address>");
else
printf("%lx, current value %lx", pa, fuword((caddr_t)a));

View File

@ -1,4 +1,4 @@
/* $NetBSD: awacs.c,v 1.25 2007/01/17 23:34:29 macallan Exp $ */
/* $NetBSD: awacs.c,v 1.26 2007/02/28 04:21:51 thorpej Exp $ */
/*-
* Copyright (c) 2000 Tsubai Masanari. All rights reserved.
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: awacs.c,v 1.25 2007/01/17 23:34:29 macallan Exp $");
__KERNEL_RCSID(0, "$NetBSD: awacs.c,v 1.26 2007/02/28 04:21:51 thorpej Exp $");
#include <sys/param.h>
#include <sys/audioio.h>
@ -655,7 +655,7 @@ awacs_set_params(void *h, int setmode, int usemode,
}
awacs_write_reg(sc, AWACS_BYTE_SWAP, 0);
i = auconv_set_converter(sc->sc_formats, AWACS_NFORMATS,
mode, p, TRUE, fil);
mode, p, true, fil);
if (i < 0)
return EINVAL;
if (i == AWACS_FORMATS_LE)

View File

@ -1,4 +1,4 @@
/* $NetBSD: ofb.c,v 1.54 2007/01/20 21:42:12 he Exp $ */
/* $NetBSD: ofb.c,v 1.55 2007/02/28 04:21:51 thorpej Exp $ */
/*
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ofb.c,v 1.54 2007/01/20 21:42:12 he Exp $");
__KERNEL_RCSID(0, "$NetBSD: ofb.c,v 1.55 2007/02/28 04:21:51 thorpej Exp $");
#include <sys/param.h>
#include <sys/buf.h>
@ -164,7 +164,7 @@ ofbattach(struct device *parent, struct device *self, void *aux)
sub = OF_peer(sub);
}
if (sub == console_node) {
console = TRUE;
console = true;
}
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: ofb_cons.c,v 1.6 2007/02/05 04:02:01 macallan Exp $ */
/* $NetBSD: ofb_cons.c,v 1.7 2007/02/28 04:21:51 thorpej Exp $ */
/*
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
@ -28,7 +28,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ofb_cons.c,v 1.6 2007/02/05 04:02:01 macallan Exp $");
__KERNEL_RCSID(0, "$NetBSD: ofb_cons.c,v 1.7 2007/02/28 04:21:51 thorpej Exp $");
#include <sys/param.h>
#include <sys/buf.h>
@ -197,7 +197,7 @@ ofb_init_rasops(int node, struct rasops_info *ri)
OF_interpret("frame-buffer-adr", 0, 1, &fbaddr);
if (width == -1 || height == -1 || fbaddr == 0 || fbaddr == -1)
return FALSE;
return false;
/* Enable write-through cache. */
#if defined (PPC_OEA) && !defined (PPC_OEA64) && !defined (PPC_OEA64_BRIDGE)
@ -257,7 +257,7 @@ ofb_init_rasops(int node, struct rasops_info *ri)
width / ri->ri_font->fontwidth);
}
return TRUE;
return true;
}
#else /* NWSDISPLAY > 0 */
int

View File

@ -1,4 +1,4 @@
/* $NetBSD: snapper.c,v 1.15 2006/12/17 21:26:04 macallan Exp $ */
/* $NetBSD: snapper.c,v 1.16 2007/02/28 04:21:51 thorpej Exp $ */
/* Id: snapper.c,v 1.11 2002/10/31 17:42:13 tsubai Exp */
/* Id: i2s.c,v 1.12 2005/01/15 14:32:35 tsubai Exp */
/*-
@ -789,7 +789,7 @@ snapper_set_params(void *h, int setmode, int usemode,
fil = mode == AUMODE_PLAY ? pfil : rfil;
if (auconv_set_converter(snapper_formats, SNAPPER_NFORMATS,
mode, p, TRUE, fil) < 0) {
mode, p, true, fil) < 0) {
DPRINTF("snapper_set_params: auconv_set_converter failed\n");
return EINVAL;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: autoconf.c,v 1.55 2007/02/09 21:15:54 macallan Exp $ */
/* $NetBSD: autoconf.c,v 1.56 2007/02/28 04:21:51 thorpej Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.55 2007/02/09 21:15:54 macallan Exp $");
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.56 2007/02/28 04:21:51 thorpej Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@ -280,7 +280,7 @@ device_register(dev, aux)
sub = OF_peer(sub);
}
if (sub == console_node) {
console = TRUE;
console = true;
}
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: au1000.c,v 1.6 2007/02/21 22:59:47 thorpej Exp $ */
/* $NetBSD: au1000.c,v 1.7 2007/02/28 04:21:52 thorpej Exp $ */
/*-
* Copyright (c) 2006 Itronix Inc.
@ -207,7 +207,7 @@ au1000_match(struct au_chipdep **cpp)
if (MIPS_PRID_COPTS(cpu_id) == MIPS_AU1000) {
*cpp = &au1000_chipdep;
return TRUE;
return true;
}
return FALSE;
return false;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: au1100.c,v 1.6 2007/02/21 22:59:47 thorpej Exp $ */
/* $NetBSD: au1100.c,v 1.7 2007/02/28 04:21:52 thorpej Exp $ */
/*-
* Copyright (c) 2006 Itronix Inc.
@ -97,7 +97,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: au1100.c,v 1.6 2007/02/21 22:59:47 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: au1100.c,v 1.7 2007/02/28 04:21:52 thorpej Exp $");
#include <sys/param.h>
#include <machine/bus.h>
@ -208,7 +208,7 @@ au1100_match(struct au_chipdep **cpp)
if (MIPS_PRID_COPTS(cpu_id) == MIPS_AU1100) {
*cpp = &au1100_chipdep;
return TRUE;
return true;
}
return FALSE;
return false;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: au1500.c,v 1.7 2007/02/21 22:59:47 thorpej Exp $ */
/* $NetBSD: au1500.c,v 1.8 2007/02/28 04:21:52 thorpej Exp $ */
/*-
* Copyright (c) 2006 Itronix Inc.
@ -97,7 +97,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: au1500.c,v 1.7 2007/02/21 22:59:47 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: au1500.c,v 1.8 2007/02/28 04:21:52 thorpej Exp $");
#include <sys/param.h>
#include <machine/bus.h>
@ -204,7 +204,7 @@ au1500_match(struct au_chipdep **cpp)
if (MIPS_PRID_COPTS(cpu_id) == MIPS_AU1500) {
*cpp = &au1500_chipdep;
return TRUE;
return true;
}
return FALSE;
return false;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: au1550.c,v 1.10 2007/02/21 22:59:47 thorpej Exp $ */
/* $NetBSD: au1550.c,v 1.11 2007/02/28 04:21:52 thorpej Exp $ */
/*-
* Copyright (c) 2006 Itronix Inc.
@ -97,7 +97,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: au1550.c,v 1.10 2007/02/21 22:59:47 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: au1550.c,v 1.11 2007/02/28 04:21:52 thorpej Exp $");
#include <sys/param.h>
#include <machine/bus.h>
@ -209,7 +209,7 @@ au1550_match(struct au_chipdep **cpp)
if (MIPS_PRID_COPTS(cpu_id) == MIPS_AU1550) {
*cpp = &au1550_chipdep;
return TRUE;
return true;
}
return FALSE;
return false;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: au_himem_space.c,v 1.6 2007/02/21 22:59:47 thorpej Exp $ */
/* $NetBSD: au_himem_space.c,v 1.7 2007/02/28 04:21:53 thorpej Exp $ */
/*-
* Copyright (c) 2006 Itronix Inc.
@ -68,7 +68,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: au_himem_space.c,v 1.6 2007/02/21 22:59:47 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: au_himem_space.c,v 1.7 2007/02/28 04:21:53 thorpej Exp $");
/*
* This provides mappings for the upper I/O regions used on some
@ -288,7 +288,7 @@ au_himem_unmap(void *cookie, bus_space_handle_t bsh, bus_size_t size, int acct)
* extent manager. this is the unfortunate thing about using
* virtual memory instead of just a 1:1 mapping scheme.
*/
if (pmap_extract(pmap_kernel(), va, &pa) == FALSE)
if (pmap_extract(pmap_kernel(), va, &pa) == false)
panic("au_himem_unmap: virtual address invalid!");
/* now remove it from the pmap */

View File

@ -1,4 +1,4 @@
/* $NetBSD: aupci.c,v 1.7 2007/02/21 22:59:47 thorpej Exp $ */
/* $NetBSD: aupci.c,v 1.8 2007/02/28 04:21:53 thorpej Exp $ */
/*-
* Copyright (c) 2006 Itronix Inc.
@ -35,7 +35,7 @@
#include "pci.h"
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: aupci.c,v 1.7 2007/02/21 22:59:47 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: aupci.c,v 1.8 2007/02/28 04:21:53 thorpej Exp $");
#include <sys/types.h>
#include <sys/param.h>
@ -345,17 +345,17 @@ aupci_conf_access(void *v, int dir, pcitag_t tag, int reg, pcireg_t *datap)
addr = 0x80000000 | tag;
} else if (d > 19) {
/* device num too big for bus 0 */
return FALSE;
return false;
} else {
addr = (0x800 << d) | (f << 8);
}
/* probing illegal target is OK, return an error indication */
if (addr == 0)
return FALSE;
return false;
if (bus_space_map(sc->sc_cfgt, addr, 256, 0, &h) != 0)
return FALSE;
return false;
s = splhigh();
@ -377,9 +377,9 @@ aupci_conf_access(void *v, int dir, pcitag_t tag, int reg, pcireg_t *datap)
/* if we got a PCI master abort, fail it */
if (status & AUPCI_CONFIG_EF)
return FALSE;
return false;
return TRUE;
return true;
}
pcireg_t
@ -387,7 +387,7 @@ aupci_conf_read(void *v, pcitag_t tag, int reg)
{
pcireg_t data;
if (aupci_conf_access(v, PCI_CFG_READ, tag, reg, &data) == FALSE)
if (aupci_conf_access(v, PCI_CFG_READ, tag, reg, &data) == false)
return 0xffffffff;
return (data);

View File

@ -1,4 +1,4 @@
/* $NetBSD: auspi.c,v 1.2 2007/02/21 22:59:47 thorpej Exp $ */
/* $NetBSD: auspi.c,v 1.3 2007/02/28 04:21:53 thorpej Exp $ */
/*-
* Copyright (c) 2006 Urbana-Champaign Independent Media Center.
@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: auspi.c,v 1.2 2007/02/21 22:59:47 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: auspi.c,v 1.3 2007/02/28 04:21:53 thorpej Exp $");
#include "locators.h"
@ -337,11 +337,11 @@ auspi_sched(struct auspi_softc *sc)
auspi_send(sc);
/* now kick the master start to get the chip running */
PUTREG(sc, AUPSC_SPIPCR, SPIPCR_MS);
sc->sc_running = TRUE;
sc->sc_running = true;
return;
}
auspi_select(sc, -1);
sc->sc_running = FALSE;
sc->sc_running = false;
}
void

View File

@ -1,4 +1,4 @@
/* $NetBSD: ar5312.c,v 1.3 2006/09/26 06:37:32 gdamore Exp $ */
/* $NetBSD: ar5312.c,v 1.4 2007/02/28 04:21:53 thorpej Exp $ */
/*
* Copyright (c) 2006 Urbana-Champaign Independent Media Center.
@ -214,7 +214,7 @@ addprop_data(struct device *dev, const char *name, const uint8_t *data,
prop_data_t pd;
pd = prop_data_create_data(data, len);
KASSERT(pd != NULL);
if (prop_dictionary_set(device_properties(dev), name, pd) == FALSE) {
if (prop_dictionary_set(device_properties(dev), name, pd) == false) {
printf("WARNING: unable to set %s property for %s\n",
name, device_xname(dev));
}
@ -227,7 +227,7 @@ addprop_integer(struct device *dev, const char *name, uint32_t val)
prop_number_t pn;
pn = prop_number_create_integer(val);
KASSERT(pn != NULL);
if (prop_dictionary_set(device_properties(dev), name, pn) == FALSE) {
if (prop_dictionary_set(device_properties(dev), name, pn) == false) {
printf("WARNING: unable to set %s property for %s",
name, device_xname(dev));
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: ar5315.c,v 1.3 2006/10/07 07:18:02 gdamore Exp $ */
/* $NetBSD: ar5315.c,v 1.4 2007/02/28 04:21:53 thorpej Exp $ */
/*
* Copyright (c) 2006 Urbana-Champaign Independent Media Center.
@ -48,7 +48,7 @@
* family.
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: ar5315.c,v 1.3 2006/10/07 07:18:02 gdamore Exp $");
__KERNEL_RCSID(0, "$NetBSD: ar5315.c,v 1.4 2007/02/28 04:21:53 thorpej Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -245,7 +245,7 @@ addprop_data(struct device *dev, const char *name, const uint8_t *data,
prop_data_t pd;
pd = prop_data_create_data(data, len);
KASSERT(pd != NULL);
if (prop_dictionary_set(device_properties(dev), name, pd) == FALSE) {
if (prop_dictionary_set(device_properties(dev), name, pd) == false) {
printf("WARNING: unable to set %s property for %s\n",
name, device_xname(dev));
}
@ -258,7 +258,7 @@ addprop_integer(struct device *dev, const char *name, uint32_t val)
prop_number_t pn;
pn = prop_number_create_integer(val);
KASSERT(pn != NULL);
if (prop_dictionary_set(device_properties(dev), name, pn) == FALSE) {
if (prop_dictionary_set(device_properties(dev), name, pn) == false) {
printf("WARNING: unable to set %s property for %s",
name, device_xname(dev));
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: arspi.c,v 1.4 2007/02/21 22:59:47 thorpej Exp $ */
/* $NetBSD: arspi.c,v 1.5 2007/02/28 04:21:53 thorpej Exp $ */
/*-
* Copyright (c) 2006 Urbana-Champaign Independent Media Center.
@ -42,7 +42,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: arspi.c,v 1.4 2007/02/21 22:59:47 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: arspi.c,v 1.5 2007/02/28 04:21:53 thorpej Exp $");
#include "locators.h"
@ -212,7 +212,7 @@ arspi_interrupts(struct device *self)
int s;
s = splserial();
sc->sc_interrupts = TRUE;
sc->sc_interrupts = true;
splx(s);
#endif
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: db_machdep.h,v 1.21 2007/02/22 05:28:53 matt Exp $ */
/* $NetBSD: db_machdep.h,v 1.22 2007/02/28 04:21:53 thorpej Exp $ */
/*
* Copyright (c) 1997 Jonathan Stone (hereinafter referred to as the author)
@ -52,14 +52,14 @@ extern db_regs_t ddb_regs; /* register state */
#define PC_REGS(regs) ((regs)->f_regs[_R_PC])
#define PC_ADVANCE(regs) do { \
if ((db_get_value((regs)->f_regs[_R_PC], sizeof(int), FALSE) &\
if ((db_get_value((regs)->f_regs[_R_PC], sizeof(int), false) &\
0xfc00003f) == 0xd) \
(regs)->f_regs[_R_PC] += BKPT_SIZE; \
} while(0)
/* Similar to PC_ADVANCE(), except only advance on cpu_Debugger()'s bpt */
#define PC_BREAK_ADVANCE(regs) do { \
if (db_get_value((regs)->f_regs[_R_PC], sizeof(int), FALSE) == 0xd) \
if (db_get_value((regs)->f_regs[_R_PC], sizeof(int), false) == 0xd) \
(regs)->f_regs[_R_PC] += BKPT_SIZE; \
} while(0)

View File

@ -1,4 +1,4 @@
/* $NetBSD: db_disasm.c,v 1.18 2007/02/22 05:28:53 matt Exp $ */
/* $NetBSD: db_disasm.c,v 1.19 2007/02/28 04:21:53 thorpej Exp $ */
/*-
* Copyright (c) 1991, 1993
@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.18 2007/02/22 05:28:53 matt Exp $");
__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.19 2007/02/28 04:21:53 thorpej Exp $");
#include <sys/types.h>
#include <sys/systm.h>
@ -186,7 +186,7 @@ db_disasm(db_addr_t loc, bool altfmt)
db_addr_t
db_disasm_insn(int insn, db_addr_t loc, bool altfmt)
{
bool bdslot = FALSE;
bool bdslot = false;
InstFmt i;
i.word = insn;
@ -245,7 +245,7 @@ db_disasm_insn(int insn, db_addr_t loc, bool altfmt)
case OP_JR:
case OP_JALR:
db_printf("\t%s", reg_name[i.RType.rs]);
bdslot = TRUE;
bdslot = true;
break;
case OP_MTLO:
case OP_MTHI:
@ -324,7 +324,7 @@ db_disasm_insn(int insn, db_addr_t loc, bool altfmt)
reg_name[i.IType.rt]);
pr_displ:
print_addr(loc + 4 + ((short)i.IType.imm << 2));
bdslot = TRUE;
bdslot = true;
break;
case OP_COP0:
@ -409,7 +409,7 @@ db_disasm_insn(int insn, db_addr_t loc, bool altfmt)
case OP_JAL:
db_printf("%s\t", op_name[i.JType.op]);
print_addr((loc & 0xF0000000) | (i.JType.target << 2));
bdslot = TRUE;
bdslot = true;
break;
case OP_LWC1:
@ -486,7 +486,7 @@ db_disasm_insn(int insn, db_addr_t loc, bool altfmt)
db_printf("\n");
if (bdslot) {
db_printf("\t\tbdslot:\t");
db_disasm(loc+4, FALSE);
db_disasm(loc+4, false);
return (loc + 8);
}
return (loc + 4);

View File

@ -1,4 +1,4 @@
/* $NetBSD: db_interface.c,v 1.60 2007/02/22 05:28:53 matt Exp $ */
/* $NetBSD: db_interface.c,v 1.61 2007/02/28 04:21:53 thorpej Exp $ */
/*
* Mach Operating System
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.60 2007/02/22 05:28:53 matt Exp $");
__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.61 2007/02/28 04:21:53 thorpej Exp $");
#include "opt_cputype.h" /* which mips CPUs do we support? */
#include "opt_ddb.h"
@ -721,7 +721,7 @@ next_instr_address(db_addr_t pc, bool bd)
{
unsigned ins;
if (bd == FALSE)
if (bd == false)
return (pc + 4);
if (pc < MIPS_KSEG0_START)

View File

@ -1,4 +1,4 @@
/* $NetBSD: pmap.c,v 1.170 2007/02/21 22:59:48 thorpej Exp $ */
/* $NetBSD: pmap.c,v 1.171 2007/02/28 04:21:53 thorpej Exp $ */
/*-
* Copyright (c) 1998, 2001 The NetBSD Foundation, Inc.
@ -74,7 +74,7 @@
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.170 2007/02/21 22:59:48 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.171 2007/02/28 04:21:53 thorpej Exp $");
/*
* Manages physical address maps.
@ -213,10 +213,10 @@ struct pool pmap_pv_pool;
#endif
int pmap_pv_lowat = PMAP_PV_LOWAT;
bool pmap_initialized = FALSE;
bool pmap_initialized = false;
#define PAGE_IS_MANAGED(pa) \
(pmap_initialized == TRUE && vm_physseg_find(atop(pa), NULL) != -1)
(pmap_initialized == true && vm_physseg_find(atop(pa), NULL) != -1)
#define PMAP_IS_ACTIVE(pm) \
((pm) == pmap_kernel() || \
@ -435,7 +435,7 @@ pmap_steal_memory(vsize_t size, vaddr_t *vstartp, vaddr_t *vendp)
npgs = atop(size);
for (bank = 0; bank < vm_nphysseg; bank++) {
if (uvm.page_init_done == TRUE)
if (uvm.page_init_done == true)
panic("pmap_steal_memory: called _after_ bootstrap");
if (vm_physmem[bank].avail_start != vm_physmem[bank].start ||
@ -518,7 +518,7 @@ pmap_init(void)
/*
* Now it is safe to enable pv entry recording.
*/
pmap_initialized = TRUE;
pmap_initialized = true;
#ifdef MIPS3
if (MIPS_HAS_R4K_MMU) {
@ -1510,7 +1510,7 @@ pmap_extract(pmap_t pmap, vaddr_t va, paddr_t *pap)
if (pmapdebug & PDB_FOLLOW)
printf("not in segmap\n");
#endif
return FALSE;
return false;
}
pte += (va >> PGSHIFT) & (NPTEPG - 1);
}
@ -1519,7 +1519,7 @@ pmap_extract(pmap_t pmap, vaddr_t va, paddr_t *pap)
if (pmapdebug & PDB_FOLLOW)
printf("PTE not valid\n");
#endif
return FALSE;
return false;
}
pa = mips_tlbpfn_to_paddr(pte->pt_entry) | (va & PGOFSET);
done:
@ -1530,7 +1530,7 @@ done:
if (pmapdebug & PDB_FOLLOW)
printf("pa 0x%lx\n", (u_long)pa);
#endif
return TRUE;
return true;
}
/*
@ -1745,7 +1745,7 @@ pmap_clear_modify(struct vm_page *pg)
}
pv = pg->mdpage.pvh_list;
if (pv->pv_pmap == NULL) {
return TRUE;
return true;
}
/*
@ -1781,7 +1781,7 @@ pmap_clear_modify(struct vm_page *pg)
MIPS_TBIS(va | asid);
}
}
return TRUE;
return true;
}
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: trap.c,v 1.207 2007/02/09 21:55:06 ad Exp $ */
/* $NetBSD: trap.c,v 1.208 2007/02/28 04:21:53 thorpej Exp $ */
/*
* Copyright (c) 1992, 1993
@ -78,7 +78,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.207 2007/02/09 21:55:06 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.208 2007/02/28 04:21:53 thorpej Exp $");
#include "opt_cputype.h" /* which mips CPU levels do we support? */
#include "opt_ktrace.h"
@ -512,11 +512,11 @@ trap(unsigned int status, unsigned int cause, vaddr_t vaddr, vaddr_t opc,
sa = trunc_page(va);
ea = round_page(va + sizeof(int) - 1);
rv = uvm_map_protect(&p->p_vmspace->vm_map,
sa, ea, VM_PROT_ALL, FALSE);
sa, ea, VM_PROT_ALL, false);
if (rv == 0) {
rv = suiword((void *)va, l->l_md.md_ss_instr);
(void)uvm_map_protect(&p->p_vmspace->vm_map,
sa, ea, VM_PROT_READ|VM_PROT_EXECUTE, FALSE);
sa, ea, VM_PROT_READ|VM_PROT_EXECUTE, false);
}
}
mips_icache_sync_all(); /* XXXJRT -- necessary? */
@ -672,11 +672,11 @@ mips_singlestep(struct lwp *l)
sa = trunc_page(va);
ea = round_page(va + sizeof(int) - 1);
rv = uvm_map_protect(&p->p_vmspace->vm_map,
sa, ea, VM_PROT_ALL, FALSE);
sa, ea, VM_PROT_ALL, false);
if (rv == 0) {
rv = suiword((void *)va, MIPS_BREAK_SSTEP);
(void)uvm_map_protect(&p->p_vmspace->vm_map,
sa, ea, VM_PROT_READ|VM_PROT_EXECUTE, FALSE);
sa, ea, VM_PROT_READ|VM_PROT_EXECUTE, false);
}
}
#if 0

View File

@ -1,4 +1,4 @@
/* $NetBSD: vm_machdep.c,v 1.113 2007/02/09 21:55:06 ad Exp $ */
/* $NetBSD: vm_machdep.c,v 1.114 2007/02/28 04:21:54 thorpej Exp $ */
/*
* Copyright (c) 1992, 1993
@ -80,7 +80,7 @@
#include "opt_coredump.h"
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.113 2007/02/09 21:55:06 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: vm_machdep.c,v 1.114 2007/02/28 04:21:54 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -320,7 +320,7 @@ vmapbuf(struct buf *bp, vsize_t len)
bp->b_data = (caddr_t)(kva + off);
upmap = vm_map_pmap(&bp->b_proc->p_vmspace->vm_map);
do {
if (pmap_extract(upmap, uva, &pa) == FALSE)
if (pmap_extract(upmap, uva, &pa) == false)
panic("vmapbuf: null page frame");
pmap_enter(vm_map_pmap(phys_map), kva, pa,
VM_PROT_READ | VM_PROT_WRITE, PMAP_WIRED);

View File

@ -1,4 +1,4 @@
/* $NetBSD: wired_map.c,v 1.3 2007/02/21 22:59:48 thorpej Exp $ */
/* $NetBSD: wired_map.c,v 1.4 2007/02/28 04:21:54 thorpej Exp $ */
/*-
* Copyright (c) 2005 Tadpole Computer Inc.
@ -63,7 +63,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: wired_map.c,v 1.3 2007/02/21 22:59:48 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: wired_map.c,v 1.4 2007/02/28 04:21:54 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -118,7 +118,7 @@ mips3_wired_enter_page(vaddr_t va, paddr_t pa, vsize_t pgsize)
#ifdef DIAGNOSTIC
printf("mips3_wired_map: entries exhausted\n");
#endif
return FALSE;
return false;
}
index = mips3_nwired_page;
@ -158,7 +158,7 @@ mips3_wired_enter_page(vaddr_t va, paddr_t pa, vsize_t pgsize)
MIPS3_PG_IOPAGE(
PMAP_CCA_FOR_PA(mips3_wired_map[index].pa1));
MachTLBWriteIndexedVPS(MIPS3_TLB_WIRED_UPAGES + index, &tlb);
return TRUE;
return true;
}
@ -193,9 +193,9 @@ mips3_wired_enter_region(vaddr_t va, paddr_t pa, vsize_t size)
while (va < vend) {
if (!mips3_wired_enter_page(va, pa, MIPS3_WIRED_SIZE))
return FALSE;
return false;
va += MIPS3_WIRED_SIZE;
pa += MIPS3_WIRED_SIZE;
}
return TRUE;
return true;
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.50 2007/02/09 21:55:06 ad Exp $ */
/* $NetBSD: machdep.c,v 1.51 2007/02/28 04:21:54 thorpej Exp $ */
/*
* Copyright (c) 1992, 1993
@ -76,7 +76,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.50 2007/02/09 21:55:06 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.51 2007/02/28 04:21:54 thorpej Exp $");
/* from: Utah Hdr: machdep.c 1.63 91/04/24 */
@ -418,12 +418,12 @@ cpu_startup()
* limits the number of processes exec'ing at any time.
*/
exec_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
16 * NCARGS, TRUE, FALSE, NULL);
16 * NCARGS, true, false, NULL);
/*
* Allocate a submap for physio
*/
phys_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
VM_PHYS_SIZE, TRUE, FALSE, NULL);
VM_PHYS_SIZE, true, false, NULL);
/*
* No need to allocate an mbuf cluster submap. Mbuf clusters

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.118 2007/02/09 21:55:07 ad Exp $ */
/* $NetBSD: machdep.c,v 1.119 2007/02/28 04:21:54 thorpej Exp $ */
/*
* Copyright (c) 1982, 1986, 1990, 1993
@ -77,7 +77,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.118 2007/02/09 21:55:07 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.119 2007/02/28 04:21:54 thorpej Exp $");
#include "opt_ddb.h"
#include "opt_compat_hpux.h"
@ -514,19 +514,19 @@ cpu_startup()
* limits the number of processes exec'ing at any time.
*/
exec_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
16*NCARGS, VM_MAP_PAGEABLE, FALSE, NULL);
16*NCARGS, VM_MAP_PAGEABLE, false, NULL);
/*
* Allocate a submap for physio
*/
phys_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
VM_PHYS_SIZE, 0, FALSE, NULL);
VM_PHYS_SIZE, 0, false, NULL);
/*
* Finally, allocate mbuf cluster submap.
*/
mb_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
nmbclusters * mclbytes, VM_MAP_INTRSAFE,
FALSE, NULL);
false, NULL);
#ifdef DEBUG
pmapdebug = opmapdebug;

View File

@ -1,4 +1,4 @@
/* $NetBSD: trap.c,v 1.86 2007/02/09 21:55:07 ad Exp $ */
/* $NetBSD: trap.c,v 1.87 2007/02/28 04:21:54 thorpej Exp $ */
/*
* Copyright (c) 1982, 1986, 1990, 1993
@ -77,7 +77,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.86 2007/02/09 21:55:07 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.87 2007/02/28 04:21:54 thorpej Exp $");
#include "opt_ddb.h"
#include "opt_execfmt.h"
@ -1061,7 +1061,7 @@ dumpwb(num, s, a, d)
num, a, d, f7sz[(s & SSW4_SZMASK) >> 5],
f7tt[(s & SSW4_TTMASK) >> 3], f7tm[s & SSW4_TMMASK]);
printf(" PA ");
if (pmap_extract(p->p_vmspace->vm_map.pmap, (vaddr_t)a, &pa) == FALSE)
if (pmap_extract(p->p_vmspace->vm_map.pmap, (vaddr_t)a, &pa) == false)
printf("<invalid address>");
else
printf("%lx, current value %lx", pa, fuword((caddr_t)a));

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.64 2007/02/10 02:03:51 tsutsui Exp $ */
/* $NetBSD: machdep.c,v 1.65 2007/02/28 04:21:54 thorpej Exp $ */
/*
* Copyright (c) 1982, 1986, 1990, 1993
@ -77,7 +77,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.64 2007/02/10 02:03:51 tsutsui Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.65 2007/02/28 04:21:54 thorpej Exp $");
#include "opt_ddb.h"
#include "opt_compat_netbsd.h"
@ -274,19 +274,19 @@ cpu_startup(void)
* limits the number of processes exec'ing at any time.
*/
exec_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
16 * NCARGS, VM_MAP_PAGEABLE, FALSE, NULL);
16 * NCARGS, VM_MAP_PAGEABLE, false, NULL);
/*
* Allocate a submap for physio
*/
phys_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
VM_PHYS_SIZE, 0, FALSE, NULL);
VM_PHYS_SIZE, 0, false, NULL);
/*
* Finally, allocate mbuf cluster submap.
*/
mb_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
nmbclusters * mclbytes, VM_MAP_INTRSAFE, FALSE, NULL);
nmbclusters * mclbytes, VM_MAP_INTRSAFE, false, NULL);
#ifdef DEBUG
pmapdebug = opmapdebug;

View File

@ -1,4 +1,4 @@
/* $NetBSD: trap.c,v 1.49 2007/02/10 02:01:26 tsutsui Exp $ */
/* $NetBSD: trap.c,v 1.50 2007/02/28 04:21:54 thorpej Exp $ */
/*
* Copyright (c) 1982, 1986, 1990, 1993
@ -77,7 +77,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.49 2007/02/10 02:01:26 tsutsui Exp $");
__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.50 2007/02/28 04:21:54 thorpej Exp $");
#include "opt_ddb.h"
#include "opt_execfmt.h"
@ -976,7 +976,7 @@ dumpwb(int num, u_short s, u_int a, u_int d)
num, a, d, f7sz[(s & SSW4_SZMASK) >> 5],
f7tt[(s & SSW4_TTMASK) >> 3], f7tm[s & SSW4_TMMASK]);
printf(" PA ");
if (pmap_extract(p->p_vmspace->vm_map.pmap, (vaddr_t)a, &pa) == FALSE)
if (pmap_extract(p->p_vmspace->vm_map.pmap, (vaddr_t)a, &pa) == false)
printf("<invalid address>");
else
printf("%lx, current value %lx", pa, fuword((caddr_t)a));

View File

@ -1,4 +1,4 @@
/* $NetBSD: spifi.c,v 1.14 2005/12/11 12:18:24 christos Exp $ */
/* $NetBSD: spifi.c,v 1.15 2007/02/28 04:21:54 thorpej Exp $ */
/*-
* Copyright (c) 2000 Tsubai Masanari. All rights reserved.
@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: spifi.c,v 1.14 2005/12/11 12:18:24 christos Exp $");
__KERNEL_RCSID(0, "$NetBSD: spifi.c,v 1.15 2007/02/28 04:21:54 thorpej Exp $");
#include <sys/param.h>
#include <sys/buf.h>
@ -727,7 +727,7 @@ spifi_done(struct spifi_softc *sc)
sc->sc_nexus = NULL;
spifi_sched(sc);
return FALSE;
return false;
}
void

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.87 2007/02/09 21:55:07 ad Exp $ */
/* $NetBSD: machdep.c,v 1.88 2007/02/28 04:21:55 thorpej Exp $ */
/*
* Copyright (c) 1992, 1993
@ -76,7 +76,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.87 2007/02/09 21:55:07 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.88 2007/02/28 04:21:55 thorpej Exp $");
/* from: Utah Hdr: machdep.c 1.63 91/04/24 */
@ -489,12 +489,12 @@ cpu_startup(void)
* limits the number of processes exec'ing at any time.
*/
exec_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
16 * NCARGS, VM_MAP_PAGEABLE, FALSE, NULL);
16 * NCARGS, VM_MAP_PAGEABLE, false, NULL);
/*
* Allocate a submap for physio
*/
phys_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
VM_PHYS_SIZE, 0, FALSE, NULL);
VM_PHYS_SIZE, 0, false, NULL);
/*
* No need to allocate an mbuf cluster submap. Mbuf clusters

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.77 2007/02/09 21:55:07 ad Exp $ */
/* $NetBSD: machdep.c,v 1.78 2007/02/28 04:21:55 thorpej Exp $ */
/*
* Copyright (c) 1998 Darrin B. Jewell
@ -79,7 +79,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.77 2007/02/09 21:55:07 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.78 2007/02/28 04:21:55 thorpej Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -349,19 +349,19 @@ cpu_startup(void)
* limits the number of processes exec'ing at any time.
*/
exec_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
16*NCARGS, VM_MAP_PAGEABLE, FALSE, NULL);
16*NCARGS, VM_MAP_PAGEABLE, false, NULL);
/*
* Allocate a submap for physio
*/
phys_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
VM_PHYS_SIZE, 0, FALSE, NULL);
VM_PHYS_SIZE, 0, false, NULL);
/*
* Finally, allocate mbuf cluster submap.
*/
mb_map = uvm_km_suballoc(kernel_map, &minaddr, &maxaddr,
nmbclusters * mclbytes, VM_MAP_INTRSAFE,
FALSE, NULL);
false, NULL);
#ifdef DEBUG
pmapdebug = opmapdebug;

View File

@ -1,4 +1,4 @@
/* $NetBSD: trap.c,v 1.62 2007/02/09 21:55:07 ad Exp $ */
/* $NetBSD: trap.c,v 1.63 2007/02/28 04:21:55 thorpej Exp $ */
/*
* This file was taken from mvme68k/mvme68k/trap.c
@ -84,7 +84,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.62 2007/02/09 21:55:07 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.63 2007/02/28 04:21:55 thorpej Exp $");
#include "opt_ddb.h"
#include "opt_execfmt.h"
@ -1031,7 +1031,7 @@ dumpwb(int num, u_short s, u_int a, u_int d)
num, a, d, f7sz[(s & SSW4_SZMASK) >> 5],
f7tt[(s & SSW4_TTMASK) >> 3], f7tm[s & SSW4_TMMASK]);
printf(" PA ");
if (pmap_extract(p->p_vmspace->vm_map.pmap, (vaddr_t)a, &pa) == FALSE)
if (pmap_extract(p->p_vmspace->vm_map.pmap, (vaddr_t)a, &pa) == false)
printf("<invalid address>");
else
printf("%lx, current value %lx", pa, fuword((caddr_t)a));