TRUE -> true, FALSE -> false

This commit is contained in:
thorpej 2007-02-22 05:19:00 +00:00
parent 21669a0d68
commit 8b3bae6275
13 changed files with 59 additions and 59 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: aica.c,v 1.12 2006/05/10 06:24:02 skrll Exp $ */
/* $NetBSD: aica.c,v 1.13 2007/02/22 05:19:00 thorpej Exp $ */
/*
* Copyright (c) 2003 SHIMIZU Ryo <ryo@misakimix.org>
@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: aica.c,v 1.12 2006/05/10 06:24:02 skrll Exp $");
__KERNEL_RCSID(0, "$NetBSD: aica.c,v 1.13 2007/02/22 05:19:00 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -462,7 +462,7 @@ aica_set_params(void *addr, int setmode, int usemode,
int i;
i = auconv_set_converter(aica_formats, AICA_NFORMATS,
AUMODE_PLAY, play, FALSE, pfil);
AUMODE_PLAY, play, false, pfil);
if (i < 0)
return EINVAL;
hw = pfil->req_size > 0 ? &pfil->filters[0].param : play;

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.32 2005/12/24 23:24:00 perry Exp $ */
/* $NetBSD: machdep.c,v 1.33 2007/02/22 05:19:00 thorpej Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998, 2002 The NetBSD Foundation, Inc.
@ -72,7 +72,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.32 2005/12/24 23:24:00 perry Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.33 2007/02/22 05:19:00 thorpej Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -217,7 +217,7 @@ cpu_reboot(int howto, char *bootstr)
#ifdef KLOADER
/* No bootinfo is required. */
kloader_bootinfo_set(&kbi, 0, NULL, NULL, TRUE);
kloader_bootinfo_set(&kbi, 0, NULL, NULL, true);
if ((howto & RB_HALT) == 0) {
if ((howto & RB_STRING) && bootstr != NULL) {
printf("loading a new kernel: %s\n", bootstr);

View File

@ -1,4 +1,4 @@
/* $NetBSD: armadillo9_machdep.c,v 1.8 2006/05/17 04:22:46 mrg Exp $ */
/* $NetBSD: armadillo9_machdep.c,v 1.9 2007/02/22 05:25:22 thorpej Exp $ */
/*
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@ -110,7 +110,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: armadillo9_machdep.c,v 1.8 2006/05/17 04:22:46 mrg Exp $");
__KERNEL_RCSID(0, "$NetBSD: armadillo9_machdep.c,v 1.9 2007/02/22 05:25:22 thorpej Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -323,7 +323,7 @@ armadillo9_device_register(device_t dev, void *aux)
armadillo9_ethaddr, ETHER_ADDR_LEN);
KASSERT(pd != NULL);
if (prop_dictionary_set(device_properties(dev),
"mac-addr", pd) == FALSE) {
"mac-addr", pd) == false) {
printf("WARNING: unable to set mac-addr property "
"for %s\n", dev->dv_xname);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: autoconf.c,v 1.13 2006/11/17 21:01:03 tsutsui Exp $ */
/* $NetBSD: autoconf.c,v 1.14 2007/02/22 05:26:18 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.13 2006/11/17 21:01:03 tsutsui Exp $");
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.14 2007/02/22 05:26:18 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -125,7 +125,7 @@ device_register(struct device *dev, void *aux)
pd = prop_data_create_data(ethaddr, ETHER_ADDR_LEN);
KASSERT(pd != NULL);
if (prop_dictionary_set(device_properties(dev),
"mac-addr", pd) == FALSE) {
"mac-addr", pd) == false) {
printf("WARNING: unable to set mac-addr "
"property for %s\n", dev->dv_xname);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.31 2006/10/02 08:13:53 gdamore Exp $ */
/* $NetBSD: machdep.c,v 1.32 2007/02/22 05:26:18 thorpej Exp $ */
/*-
* Copyright (c) 2006 Itronix Inc.
@ -107,7 +107,7 @@
*/
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.31 2006/10/02 08:13:53 gdamore Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.32 2007/02/22 05:26:18 thorpej Exp $");
#include "opt_ddb.h"
#include "opt_kgdb.h"
@ -418,13 +418,13 @@ 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: gt_mainbus.c,v 1.13 2006/02/10 20:52:57 gdamore Exp $ */
/* $NetBSD: gt_mainbus.c,v 1.14 2007/02/22 05:27:47 thorpej Exp $ */
/*
* Copyright (c) 2002 Wasabi Systems, Inc.
@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: gt_mainbus.c,v 1.13 2006/02/10 20:52:57 gdamore Exp $");
__KERNEL_RCSID(0, "$NetBSD: gt_mainbus.c,v 1.14 2007/02/22 05:27:47 thorpej Exp $");
#include "opt_ev64260.h"
@ -130,10 +130,10 @@ gt_attach(struct device *parent, struct device *self, void *aux)
gt->gt_memt = &gt_mem_bs_tag;
gt->gt_pci0_memt = &gt_pci0_mem_bs_tag;
gt->gt_pci0_iot = &gt_pci0_io_bs_tag;
gt->gt_pci0_host = TRUE;
gt->gt_pci0_host = true;
gt->gt_pci1_memt = &gt_pci1_mem_bs_tag;
gt->gt_pci1_iot = &gt_pci1_io_bs_tag;
gt->gt_pci1_host = TRUE;
gt->gt_pci1_host = true;
gt->gt_memh = gt_memh;

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.16 2006/11/29 19:56:46 freza Exp $ */
/* $NetBSD: machdep.c,v 1.17 2007/02/22 05:27:47 thorpej Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.16 2006/11/29 19:56:46 freza Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.17 2007/02/22 05:27:47 thorpej Exp $");
#include "opt_explora.h"
#include "ksyms.h"
@ -329,13 +329,13 @@ 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
@ -354,14 +354,14 @@ cpu_startup(void)
pn = prop_number_create_integer(ctob(physmem));
KASSERT(pn != NULL);
if (prop_dictionary_set(board_properties, "mem-size", pn) == FALSE)
if (prop_dictionary_set(board_properties, "mem-size", pn) == false)
panic("setting mem-size");
prop_object_release(pn);
pn = prop_number_create_integer(cpuspeed);
KASSERT(pn != NULL);
if (prop_dictionary_set(board_properties, "processor-frequency",
pn) == FALSE)
pn) == false)
panic("setting processor-frequency");
prop_object_release(pn);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: century_bios.c,v 1.3 2006/05/05 18:04:41 thorpej Exp $ */
/* $NetBSD: century_bios.c,v 1.4 2007/02/22 05:27:47 thorpej Exp $ */
/*
* Copyright (c) 2004 Shigeyuki Fukushima.
@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: century_bios.c,v 1.3 2006/05/05 18:04:41 thorpej Exp $");
__KERNEL_RCSID(0, "$NetBSD: century_bios.c,v 1.4 2007/02/22 05:27:47 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -90,7 +90,7 @@ bios_board_info_set(void)
pn = prop_number_create_integer(board_mem_size);
KASSERT(pn != NULL);
if (prop_dictionary_set(board_properties, "mem-size", pn) == FALSE)
if (prop_dictionary_set(board_properties, "mem-size", pn) == false)
panic("setting mem-size");
prop_object_release(pn);
@ -98,26 +98,26 @@ bios_board_info_set(void)
sizeof(board_bios.mac_address_local));
KASSERT(pd != NULL);
if (prop_dictionary_set(board_properties, "emac0-mac-addr",
pd) == FALSE)
pd) == false)
panic("setting emac0-mac-addr");
prop_object_release(pd);
pn = prop_number_create_integer(board_cpu_speed);
KASSERT(pn != NULL);
if (prop_dictionary_set(board_properties, "processor-frequency",
pn) == FALSE)
pn) == false)
panic("setting processor-frequency");
prop_object_release(pn);
pn = prop_number_create_integer(board_plb_speed);
KASSERT(pn != NULL);
if (prop_dictionary_set(board_properties, "plb-frequency", pn) == FALSE)
if (prop_dictionary_set(board_properties, "plb-frequency", pn) == false)
panic("setting plb-frequency");
prop_object_release(pn);
pn = prop_number_create_integer(board_pci_speed);
KASSERT(pn != NULL);
if (prop_dictionary_set(board_properties, "pci-frequency", pn) == FALSE)
if (prop_dictionary_set(board_properties, "pci-frequency", pn) == false)
panic("setting pci-frequency");
prop_object_release(pn);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: design_gsrd2.c,v 1.1 2006/12/02 22:18:47 freza Exp $ */
/* $NetBSD: design_gsrd2.c,v 1.2 2007/02/22 05:27:47 thorpej Exp $ */
/*
* Copyright (c) 2006 Jachym Holecek
@ -32,7 +32,7 @@
#include "opt_virtex.h"
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: design_gsrd2.c,v 1.1 2006/12/02 22:18:47 freza Exp $");
__KERNEL_RCSID(0, "$NetBSD: design_gsrd2.c,v 1.2 2007/02/22 05:27:47 thorpej Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -492,7 +492,7 @@ device_register(struct device *dev, void *aux)
return ;
}
if (prop_dictionary_set(device_properties(dev),
"virtex-tft-pa", pn) != TRUE)
"virtex-tft-pa", pn) != true)
printf("WARNING: could not set virtex-tft-pa\n");
prop_object_release(pn);
@ -502,7 +502,7 @@ device_register(struct device *dev, void *aux)
return ;
}
if (prop_dictionary_set(device_properties(dev),
"virtex-tft-va", pn) != TRUE)
"virtex-tft-va", pn) != true)
printf("WARNING: could not set virtex-tft-va\n");
prop_object_release(pn);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.2 2007/02/09 21:55:03 ad Exp $ */
/* $NetBSD: machdep.c,v 1.3 2007/02/22 05:27:47 thorpej Exp $ */
/*
* Copyright (c) 2006 Jachym Holecek
@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.2 2007/02/09 21:55:03 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.3 2007/02/22 05:27:47 thorpej Exp $");
#include "opt_compat_netbsd.h"
#include "opt_ddb.h"
@ -328,13 +328,13 @@ 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
@ -352,14 +352,14 @@ cpu_startup(void)
pn = prop_number_create_integer(memsize);
KASSERT(pn != NULL);
if (prop_dictionary_set(board_properties, "mem-size", pn) == FALSE)
if (prop_dictionary_set(board_properties, "mem-size", pn) == false)
panic("setting mem-size");
prop_object_release(pn);
pn = prop_number_create_integer(cpuspeed);
KASSERT(pn != NULL);
if (prop_dictionary_set(board_properties, "processor-frequency",
pn) == FALSE)
pn) == false)
panic("setting processor-frequency");
prop_object_release(pn);

View File

@ -1,4 +1,4 @@
/* $NetBSD: autoconf.c,v 1.16 2006/10/07 14:59:53 tsutsui Exp $ */
/* $NetBSD: autoconf.c,v 1.17 2007/02/22 05:27:47 thorpej Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.16 2006/10/07 14:59:53 tsutsui Exp $");
__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.17 2007/02/22 05:27:47 thorpej Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@ -101,7 +101,7 @@ device_register(struct device *dev, void *aux)
KASSERT(pn != NULL);
if (prop_dictionary_set(device_properties(dev),
"clock-frequency", pn) == FALSE) {
"clock-frequency", pn) == false) {
printf("WARNING: unable to set clock-frequency "
"property for %s\n", dev->dv_xname);
}

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.33 2007/02/09 21:55:03 ad Exp $ */
/* $NetBSD: machdep.c,v 1.34 2007/02/22 05:27:47 thorpej Exp $ */
/*
* Copyright 2001, 2002 Wasabi Systems, Inc.
@ -67,7 +67,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.33 2007/02/09 21:55:03 ad Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.34 2007/02/22 05:27:47 thorpej Exp $");
#include "opt_compat_netbsd.h"
#include "opt_ddb.h"
@ -402,13 +402,13 @@ 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
@ -427,7 +427,7 @@ cpu_startup(void)
pn = prop_number_create_integer(board_data.mem_size);
KASSERT(pn != NULL);
if (prop_dictionary_set(board_properties, "mem-size", pn) == FALSE)
if (prop_dictionary_set(board_properties, "mem-size", pn) == false)
panic("setting mem-size");
prop_object_release(pn);
@ -435,7 +435,7 @@ cpu_startup(void)
sizeof(board_data.mac_address_local));
KASSERT(pd != NULL);
if (prop_dictionary_set(board_properties, "emac0-mac-addr",
pd) == FALSE)
pd) == false)
panic("setting emac0-mac-addr");
prop_object_release(pd);
@ -443,14 +443,14 @@ cpu_startup(void)
sizeof(board_data.mac_address_pci));
KASSERT(pd != NULL);
if (prop_dictionary_set(board_properties, "sip0-mac-addr",
pd) == FALSE)
pd) == false)
panic("setting sip0-mac-addr");
prop_object_release(pd);
pn = prop_number_create_integer(board_data.processor_speed);
KASSERT(pn != NULL);
if (prop_dictionary_set(board_properties, "processor-frequency",
pn) == FALSE)
pn) == false)
panic("setting processor-frequency");
prop_object_release(pn);

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.23 2005/12/24 20:07:03 perry Exp $ */
/* $NetBSD: machdep.c,v 1.24 2007/02/22 05:28:29 thorpej Exp $ */
/*
* Copyright 2002 Wasabi Systems, Inc.
@ -36,7 +36,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.23 2005/12/24 20:07:03 perry Exp $");
__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.24 2007/02/22 05:28:29 thorpej Exp $");
#include "opt_sh5_debug.h"
#include "opt_sh5_cpu.h"
@ -330,19 +330,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);
printf("%s%s", copyright, version);
strcpy(cpu_model, bootparams.bp_machine);