nuke trailing whitespace
This commit is contained in:
parent
b244cb9316
commit
612dd97193
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: agpio.h,v 1.2 2003/02/24 21:59:52 tron Exp $ */
|
||||
/* $NetBSD: agpio.h,v 1.3 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2000 Doug Rabson
|
||||
@ -111,9 +111,9 @@ typedef struct _agp_allocate {
|
||||
int key; /* tag of allocation */
|
||||
size_t pg_count; /* number of pages */
|
||||
u_int32_t type; /* 0 == normal, other devspec */
|
||||
paddr_t physical; /* device specific (some devices
|
||||
* need a phys address of the
|
||||
* actual page behind the gatt
|
||||
paddr_t physical; /* device specific (some devices
|
||||
* need a phys address of the
|
||||
* actual page behind the gatt
|
||||
* table) */
|
||||
} agp_allocate;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ataio.h,v 1.5 2004/08/02 19:47:11 bouyer Exp $ */
|
||||
/* $NetBSD: ataio.h,v 1.6 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
#ifndef _SYS_ATAIO_H_
|
||||
#define _SYS_ATAIO_H_
|
||||
@ -38,7 +38,7 @@ typedef struct atareq {
|
||||
/*
|
||||
* ATA bus IOCTL
|
||||
*/
|
||||
/* Scan bus for new devices. */
|
||||
/* Scan bus for new devices. */
|
||||
struct atabusioscan_args {
|
||||
int at_dev; /* device to scan, -1 for wildcard */
|
||||
};
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: bootblock.h,v 1.36 2005/02/26 13:05:08 dsl Exp $ */
|
||||
/* $NetBSD: bootblock.h,v 1.37 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2002-2004 The NetBSD Foundation, Inc.
|
||||
@ -724,9 +724,9 @@ int xlat_mbr_fstype(int); /* in sys/lib/libkern/xlat_mbr_fstype.c */
|
||||
struct mbr_sector {
|
||||
/* Jump instruction to boot code. */
|
||||
/* Usually 0xE9nnnn or 0xEBnn90 */
|
||||
uint8_t mbr_jmpboot[3];
|
||||
uint8_t mbr_jmpboot[3];
|
||||
/* OEM name and version */
|
||||
uint8_t mbr_oemname[8];
|
||||
uint8_t mbr_oemname[8];
|
||||
union { /* BIOS Parameter Block */
|
||||
struct mbr_bpbFAT12 bpb12;
|
||||
struct mbr_bpbFAT16 bpb16;
|
||||
@ -1029,7 +1029,7 @@ struct hp700_lifload {
|
||||
#define HP700_LIF_FILESTART 4096
|
||||
|
||||
#define hp700_btolifs(b) (((b) + (HP700_LIF_SECTSIZE - 1)) / HP700_LIF_SECTSIZE)
|
||||
#define hp700_lifstob(s) ((s) * HP700_LIF_SECTSIZE)
|
||||
#define hp700_lifstob(s) ((s) * HP700_LIF_SECTSIZE)
|
||||
#define hp700_lifstodb(s) ((s) * HP700_LIF_SECTSIZE / DEV_BSIZE)
|
||||
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: buf.h,v 1.79 2005/01/25 23:55:21 wrstuden Exp $ */
|
||||
/* $NetBSD: buf.h,v 1.80 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
|
||||
@ -87,8 +87,8 @@ struct vnode;
|
||||
#define NOLIST ((struct buf *)0x87654321)
|
||||
|
||||
/*
|
||||
* To avoid including <ufs/ffs/softdep.h>
|
||||
*/
|
||||
* To avoid including <ufs/ffs/softdep.h>
|
||||
*/
|
||||
LIST_HEAD(workhead, worklist);
|
||||
|
||||
|
||||
|
@ -1,21 +1,21 @@
|
||||
/* $NetBSD: cdefs_elf.h,v 1.21 2004/06/07 18:41:38 drochner Exp $ */
|
||||
/* $NetBSD: cdefs_elf.h,v 1.22 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1995, 1996 Carnegie-Mellon University.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Author: Chris G. Demetriou
|
||||
*
|
||||
*
|
||||
* Permission to use, copy, modify and distribute this software and
|
||||
* its documentation is hereby granted, provided that both the copyright
|
||||
* notice and this permission notice appear in all copies of the
|
||||
* software, derivative works or modified versions, and any portions
|
||||
* thereof, and that both notices appear in supporting documentation.
|
||||
*
|
||||
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
|
||||
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
|
||||
*
|
||||
* CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
|
||||
* CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND
|
||||
* FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
|
||||
*
|
||||
*
|
||||
* Carnegie Mellon requests users of this software to return to
|
||||
*
|
||||
* Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: cdio.h,v 1.20 2005/02/01 00:31:02 reinoud Exp $ */
|
||||
/* $NetBSD: cdio.h,v 1.21 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
#ifndef _SYS_CDIO_H_
|
||||
#define _SYS_CDIO_H_
|
||||
@ -65,16 +65,16 @@ struct cd_sub_channel_q_data {
|
||||
u_char mc_valid:1;
|
||||
u_char :7;
|
||||
#endif
|
||||
u_char mc_number[15];
|
||||
u_char mc_number[15];
|
||||
#if BYTE_ORDER == LITTLE_ENDIAN
|
||||
u_char :7;
|
||||
u_char ti_valid:1;
|
||||
u_char ti_valid:1;
|
||||
#endif
|
||||
#if BYTE_ORDER == BIG_ENDIAN
|
||||
u_char ti_valid:1;
|
||||
u_char ti_valid:1;
|
||||
u_char :7;
|
||||
#endif
|
||||
u_char ti_number[15];
|
||||
u_char ti_number[15];
|
||||
};
|
||||
|
||||
struct cd_sub_channel_position_data {
|
||||
|
@ -1,11 +1,11 @@
|
||||
/* $NetBSD: clockctl.h,v 1.9 2005/02/03 19:20:01 perry Exp $ */
|
||||
/* $NetBSD: clockctl.h,v 1.10 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2001 The NetBSD Foundation, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This code is derived from software contributed to The NetBSD Foundation
|
||||
* by Emmanuel Dreyfus.
|
||||
* by Emmanuel Dreyfus.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
|
@ -1,9 +1,9 @@
|
||||
/* $NetBSD: device.h,v 1.72 2004/10/23 17:14:12 thorpej Exp $ */
|
||||
/* $NetBSD: device.h,v 1.73 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1996, 2000 Christopher G. Demetriou
|
||||
* All rights reserved.
|
||||
*
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
@ -19,7 +19,7 @@
|
||||
* information about NetBSD.
|
||||
* 4. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
@ -30,7 +30,7 @@
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*
|
||||
*
|
||||
* --(license Id: LICENSE.proto,v 1.1 2000/06/13 21:40:26 cgd Exp )--
|
||||
*/
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: dvdio.h,v 1.5 2001/12/09 22:54:51 veego Exp $ */
|
||||
/* $NetBSD: dvdio.h,v 1.6 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <sys/ioccom.h>
|
||||
@ -35,7 +35,7 @@ struct dvd_layer {
|
||||
u_int32_t end_sector;
|
||||
u_int32_t end_sector_l0;
|
||||
};
|
||||
|
||||
|
||||
struct dvd_physical {
|
||||
u_int8_t type;
|
||||
u_int8_t layer_num;
|
||||
@ -166,7 +166,7 @@ struct dvd_host_send_rpcstate {
|
||||
u_int8_t type;
|
||||
u_int8_t pdrc;
|
||||
};
|
||||
|
||||
|
||||
struct dvd_lu_send_rpcstate {
|
||||
u_int8_t type : 2;
|
||||
u_int8_t vra : 3;
|
||||
@ -191,7 +191,7 @@ typedef union {
|
||||
|
||||
typedef struct {
|
||||
u_int16_t report_key_length;
|
||||
u_int8_t reserved1[2];
|
||||
u_int8_t reserved1[2];
|
||||
u_int8_t ucca : 3;
|
||||
u_int8_t vra : 3;
|
||||
u_int8_t type_code : 2;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: event.h,v 1.14 2005/02/03 19:20:01 perry Exp $ */
|
||||
/* $NetBSD: event.h,v 1.15 2005/02/26 22:25:34 perry Exp $ */
|
||||
/*-
|
||||
* Copyright (c) 1999,2000,2001 Jonathan Lemon <jlemon@FreeBSD.org>
|
||||
* All rights reserved.
|
||||
@ -121,7 +121,7 @@ struct kevent {
|
||||
* This is currently visible to userland to work around broken
|
||||
* programs which pull in <sys/proc.h> or <sys/select.h>.
|
||||
*/
|
||||
#include <sys/queue.h>
|
||||
#include <sys/queue.h>
|
||||
struct knote;
|
||||
SLIST_HEAD(klist, knote);
|
||||
|
||||
@ -137,7 +137,7 @@ struct kfilter_mapping {
|
||||
uint32_t filter; /* filter to lookup or return */
|
||||
};
|
||||
|
||||
/* map filter to name (max size len) */
|
||||
/* map filter to name (max size len) */
|
||||
#define KFILTER_BYFILTER _IOWR('k', 0, struct kfilter_mapping)
|
||||
/* map name to filter (len ignored) */
|
||||
#define KFILTER_BYNAME _IOWR('k', 1, struct kfilter_mapping)
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: eventvar.h,v 1.4 2003/02/23 22:05:35 pk Exp $ */
|
||||
/* $NetBSD: eventvar.h,v 1.5 2005/02/26 22:25:34 perry Exp $ */
|
||||
/*-
|
||||
* Copyright (c) 1999,2000 Jonathan Lemon <jlemon@FreeBSD.org>
|
||||
* All rights reserved.
|
||||
@ -39,7 +39,7 @@ struct kqueue {
|
||||
TAILQ_HEAD(kqlist, knote) kq_head; /* list of pending event */
|
||||
int kq_count; /* number of pending events */
|
||||
struct simplelock kq_lock; /* mutex for queue access */
|
||||
struct selinfo kq_sel;
|
||||
struct selinfo kq_sel;
|
||||
struct filedesc *kq_fdp;
|
||||
int kq_state;
|
||||
#define KQ_SLEEP 0x01
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: exec_elf.h,v 1.80 2005/02/03 19:20:01 perry Exp $ */
|
||||
/* $NetBSD: exec_elf.h,v 1.81 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1994 The NetBSD Foundation, Inc.
|
||||
@ -819,7 +819,7 @@ struct elf_args {
|
||||
|
||||
#ifdef EXEC_ELF32
|
||||
int exec_elf32_makecmds(struct proc *, struct exec_package *);
|
||||
int elf32_copyargs(struct proc *, struct exec_package *,
|
||||
int elf32_copyargs(struct proc *, struct exec_package *,
|
||||
struct ps_strings *, char **, void *);
|
||||
|
||||
int coredump_elf32(struct lwp *, struct vnode *, struct ucred *);
|
||||
@ -832,7 +832,7 @@ int elf32_check_header(Elf32_Ehdr *, int);
|
||||
#ifdef EXEC_ELF64
|
||||
int exec_elf64_makecmds(struct proc *, struct exec_package *);
|
||||
int elf64_read_from(struct proc *, struct vnode *, u_long, caddr_t, int);
|
||||
int elf64_copyargs(struct proc *, struct exec_package *,
|
||||
int elf64_copyargs(struct proc *, struct exec_package *,
|
||||
struct ps_strings *, char **, void *);
|
||||
|
||||
int coredump_elf64(struct lwp *, struct vnode *, struct ucred *);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: exec_macho.h,v 1.15 2005/02/03 19:20:01 perry Exp $ */
|
||||
/* $NetBSD: exec_macho.h,v 1.16 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2001 The NetBSD Foundation, Inc.
|
||||
@ -93,7 +93,7 @@ struct exec_macho_fat_arch {
|
||||
*/
|
||||
#define MACHO_CPU_SUBTYPE_MC680x0_ALL 1
|
||||
#define MACHO_CPU_SUBTYPE_MC68030 1
|
||||
#define MACHO_CPU_SUBTYPE_MC68040 2
|
||||
#define MACHO_CPU_SUBTYPE_MC68040 2
|
||||
#define MACHO_CPU_SUBTYPE_MC68030_ONLY 3
|
||||
|
||||
/*
|
||||
@ -143,7 +143,7 @@ struct exec_macho_object_header {
|
||||
#define MACHO_MOH_MAGIC 0xfeedface
|
||||
|
||||
/*
|
||||
* Object header filetype
|
||||
* Object header filetype
|
||||
*/
|
||||
#define MACHO_MOH_OBJECT 0x1
|
||||
#define MACHO_MOH_EXECUTE 0x2
|
||||
@ -181,7 +181,7 @@ struct exec_macho_load_command {
|
||||
#define MACHO_LC_IDFVMLIB 0x07
|
||||
#define MACHO_LC_IDENT 0x08
|
||||
#define MACHO_LC_FVMFILE 0x09
|
||||
#define MACHO_LC_PREPAGE 0x0a
|
||||
#define MACHO_LC_PREPAGE 0x0a
|
||||
#define MACHO_LC_DYSYMTAB 0x0b
|
||||
#define MACHO_LC_LOAD_DYLIB 0x0c
|
||||
#define MACHO_LC_ID_DYLIB 0x0d
|
||||
@ -253,7 +253,7 @@ struct exec_macho_emul_arg {
|
||||
#include "opt_execfmt.h"
|
||||
#endif
|
||||
|
||||
#ifdef _KERNEL
|
||||
#ifdef _KERNEL
|
||||
struct exec_package;
|
||||
struct ps_strings;
|
||||
u_long exec_macho_thread_entry(struct exec_macho_thread_command *);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: kprintf.h,v 1.5 2005/02/03 19:20:01 perry Exp $ */
|
||||
/* $NetBSD: kprintf.h,v 1.6 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1986, 1988, 1991, 1993
|
||||
@ -50,7 +50,7 @@
|
||||
|
||||
extern struct simplelock kprintf_slock;
|
||||
|
||||
/*
|
||||
/*
|
||||
* Use cpu_simple_lock() and cpu_simple_unlock(). These are the actual
|
||||
* atomic locking operations, and never attempt to print debugging
|
||||
* information.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ktrace.h,v 1.40 2004/09/22 22:15:03 enami Exp $ */
|
||||
/* $NetBSD: ktrace.h,v 1.41 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988, 1993
|
||||
@ -157,8 +157,8 @@ struct ktr_user {
|
||||
* KTR_MMSG - Mach message
|
||||
*/
|
||||
#define KTR_MMSG 9
|
||||
struct ktr_mmsg {
|
||||
/*
|
||||
struct ktr_mmsg {
|
||||
/*
|
||||
* This is a Mach message header
|
||||
*/
|
||||
int ktr_bits;
|
||||
@ -167,7 +167,7 @@ struct ktr_mmsg {
|
||||
int ktr_local_port;
|
||||
int ktr_reserved;
|
||||
int ktr_id;
|
||||
/*
|
||||
/*
|
||||
* Followed by ktr_size - sizeof(mach_msg_header_t) of message payload
|
||||
*/
|
||||
};
|
||||
@ -231,7 +231,7 @@ void ktremul(struct proc *);
|
||||
void ktrgenio(struct proc *, int, enum uio_rw, struct iovec *, int, int);
|
||||
void ktrnamei(struct proc *, char *);
|
||||
void ktrpsig(struct proc *, int, sig_t, const sigset_t *, const ksiginfo_t *);
|
||||
void ktrsyscall(struct proc *, register_t, register_t,
|
||||
void ktrsyscall(struct proc *, register_t, register_t,
|
||||
const struct sysent *, register_t []);
|
||||
void ktrsysret(struct proc *, register_t, int, register_t *);
|
||||
void ktruser(struct proc *, const char *, void *, size_t, int);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: lock.h,v 1.57 2004/10/23 21:27:33 yamt Exp $ */
|
||||
/* $NetBSD: lock.h,v 1.58 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
|
||||
@ -40,7 +40,7 @@
|
||||
* POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
/*
|
||||
/*
|
||||
* Copyright (c) 1995
|
||||
* The Regents of the University of California. All rights reserved.
|
||||
*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: lwp.h,v 1.25 2005/01/30 16:56:27 chs Exp $ */
|
||||
/* $NetBSD: lwp.h,v 1.26 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2001 The NetBSD Foundation, Inc.
|
||||
@ -65,7 +65,7 @@ struct lwp {
|
||||
#define l_startzero l_swtime
|
||||
u_int l_swtime; /* Time swapped in or out. */
|
||||
u_int l_slptime; /* Time since last blocked. */
|
||||
|
||||
|
||||
const void *l_wchan; /* Sleep address. */
|
||||
struct callout l_tsleep_ch; /* callout for tsleep */
|
||||
const char *l_wmesg; /* Reason for sleep. */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: mbuf.h,v 1.103 2005/02/21 02:12:48 thorpej Exp $ */
|
||||
/* $NetBSD: mbuf.h,v 1.104 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1996, 1997, 1999, 2001 The NetBSD Foundation, Inc.
|
||||
@ -887,7 +887,7 @@ m_length(struct mbuf *m)
|
||||
struct mbuf *m0;
|
||||
u_int pktlen;
|
||||
|
||||
if ((m->m_flags & M_PKTHDR) != 0)
|
||||
if ((m->m_flags & M_PKTHDR) != 0)
|
||||
return m->m_pkthdr.len;
|
||||
|
||||
pktlen = 0;
|
||||
@ -897,7 +897,7 @@ m_length(struct mbuf *m)
|
||||
}
|
||||
|
||||
/*
|
||||
* m_ext_free: release a reference to the mbuf external storage.
|
||||
* m_ext_free: release a reference to the mbuf external storage.
|
||||
*
|
||||
* => if 'dofree', free the mbuf m itsself as well.
|
||||
* => called at splvm.
|
||||
|
@ -1,8 +1,8 @@
|
||||
/* $NetBSD: md4.h,v 1.3 2005/02/03 19:20:01 perry Exp $ */
|
||||
/* $NetBSD: md4.h,v 1.4 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*
|
||||
* This file is derived from the RSA Data Security, Inc. MD4 Message-Digest
|
||||
* Algorithm and has been modified by Jason R. Thorpe <thorpej@NetBSD.org>
|
||||
* This file is derived from the RSA Data Security, Inc. MD4 Message-Digest
|
||||
* Algorithm and has been modified by Jason R. Thorpe <thorpej@NetBSD.org>
|
||||
* for portability and formatting.
|
||||
*/
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: md5.h,v 1.4 2005/02/03 19:20:01 perry Exp $ */
|
||||
/* $NetBSD: md5.h,v 1.5 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*
|
||||
* This file is derived from the RSA Data Security, Inc. MD5 Message-Digest
|
||||
@ -14,17 +14,17 @@
|
||||
* is identified as the "RSA Data Security, Inc. MD5 Message-Digest
|
||||
* Algorithm" in all material mentioning or referencing this software
|
||||
* or this function.
|
||||
*
|
||||
*
|
||||
* License is also granted to make and use derivative works provided
|
||||
* that such works are identified as "derived from the RSA Data
|
||||
* Security, Inc. MD5 Message-Digest Algorithm" in all material
|
||||
* mentioning or referencing the derived work.
|
||||
*
|
||||
*
|
||||
* RSA Data Security, Inc. makes no representations concerning either
|
||||
* the merchantability of this software or the suitability of this
|
||||
* software for any particular purpose. It is provided "as is"
|
||||
* without express or implied warranty of any kind.
|
||||
*
|
||||
*
|
||||
* These notices must be retained in any copies of any part of this
|
||||
* documentation and/or software.
|
||||
*/
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: midiio.h,v 1.10 2003/12/04 13:57:32 keihan Exp $ */
|
||||
/* $NetBSD: midiio.h,v 1.11 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
@ -123,7 +123,7 @@ struct synth_info {
|
||||
|
||||
int nr_voices;
|
||||
int instr_bank_size;
|
||||
u_int capabilities;
|
||||
u_int capabilities;
|
||||
#define SYNTH_CAP_OPL3 0x00000002
|
||||
#define SYNTH_CAP_INPUT 0x00000004
|
||||
};
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: param.h,v 1.210 2005/02/15 21:11:01 cube Exp $ */
|
||||
/* $NetBSD: param.h,v 1.211 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1982, 1986, 1989, 1993
|
||||
@ -146,16 +146,16 @@
|
||||
#include <machine/limits.h>
|
||||
|
||||
/*
|
||||
* Stack macros. On most architectures, the stack grows down,
|
||||
* towards lower addresses; it is the rare architecture where
|
||||
* Stack macros. On most architectures, the stack grows down,
|
||||
* towards lower addresses; it is the rare architecture where
|
||||
* it grows up, towards higher addresses.
|
||||
*
|
||||
* STACK_GROW and STACK_SHRINK adjust a stack pointer by some
|
||||
*
|
||||
* STACK_GROW and STACK_SHRINK adjust a stack pointer by some
|
||||
* size, no questions asked. STACK_ALIGN aligns a stack pointer.
|
||||
*
|
||||
* STACK_ALLOC returns a pointer to allocated stack space of
|
||||
* some size; given such a pointer and a size, STACK_MAX gives
|
||||
* the maximum (in the "maxsaddr" sense) stack address of the
|
||||
* STACK_ALLOC returns a pointer to allocated stack space of
|
||||
* some size; given such a pointer and a size, STACK_MAX gives
|
||||
* the maximum (in the "maxsaddr" sense) stack address of the
|
||||
* allocated memory.
|
||||
*/
|
||||
#if defined(_KERNEL) || defined(__EXPOSE_STACK)
|
||||
@ -197,7 +197,7 @@
|
||||
#define PCATCH 0x100 /* OR'd with pri for tsleep to check signals */
|
||||
#define PNORELOCK 0x200 /* OR'd with pri for cond_wait() to not relock
|
||||
the interlock */
|
||||
#define PNOEXITERR 0x400 /* OR'd with pri for tsleep to not exit
|
||||
#define PNOEXITERR 0x400 /* OR'd with pri for tsleep to not exit
|
||||
with an error code when LWPs are exiting */
|
||||
#define NBPW sizeof(int) /* number of bytes per word (integer) */
|
||||
|
||||
@ -289,16 +289,16 @@
|
||||
#define FSHIFT 11 /* bits to right of fixed binary point */
|
||||
#define FSCALE (1<<FSHIFT)
|
||||
|
||||
/*
|
||||
* The time for a process to be blocked before being very swappable.
|
||||
* This is a number of seconds which the system takes as being a non-trivial
|
||||
* amount of real time. You probably shouldn't change this;
|
||||
* it is used in subtle ways (fractions and multiples of it are, that is, like
|
||||
* half of a ``long time'', almost a long time, etc.)
|
||||
* It is related to human patience and other factors which don't really
|
||||
* change over time.
|
||||
*/
|
||||
#define MAXSLP 20
|
||||
/*
|
||||
* The time for a process to be blocked before being very swappable.
|
||||
* This is a number of seconds which the system takes as being a non-trivial
|
||||
* amount of real time. You probably shouldn't change this;
|
||||
* it is used in subtle ways (fractions and multiples of it are, that is, like
|
||||
* half of a ``long time'', almost a long time, etc.)
|
||||
* It is related to human patience and other factors which don't really
|
||||
* change over time.
|
||||
*/
|
||||
#define MAXSLP 20
|
||||
|
||||
/*
|
||||
* Defaults for Unified Buffer Cache parameters.
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pmc.h,v 1.2 2002/08/08 16:23:19 thorpej Exp $ */
|
||||
/* $NetBSD: pmc.h,v 1.3 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2002 Wasabi Systems, Inc.
|
||||
@ -46,12 +46,12 @@ struct pmc_counter_cfg {
|
||||
|
||||
#if defined(_KERNEL)
|
||||
|
||||
/*
|
||||
/*
|
||||
* The following functions are defined in machine/pmc.h as either
|
||||
* functions or macros.
|
||||
*
|
||||
* int pmc_get_num_counters(void);
|
||||
*
|
||||
*
|
||||
* void pmc_save_context(struct proc *p);
|
||||
* void pmc_restore_context(struct proc *p);
|
||||
*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: proc.h,v 1.196 2005/02/03 19:20:01 perry Exp $ */
|
||||
/* $NetBSD: proc.h,v 1.197 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1986, 1989, 1991, 1993
|
||||
@ -128,7 +128,7 @@ struct emul {
|
||||
int (*e_fault)(struct proc *, vaddr_t, int, int);
|
||||
};
|
||||
|
||||
/*
|
||||
/*
|
||||
* Emulation miscelaneous flags
|
||||
*/
|
||||
#define EMUL_HAS_SYS___syscall 0x001 /* Has SYS___syscall */
|
||||
@ -214,13 +214,13 @@ struct proc {
|
||||
|
||||
const struct emul *p_emul; /* Emulation information */
|
||||
void *p_emuldata; /* Per-process emulation data, or NULL.
|
||||
* Malloc type M_EMULDATA
|
||||
* Malloc type M_EMULDATA
|
||||
*/
|
||||
|
||||
void (*p_userret)(struct lwp *, void *);
|
||||
/* Function to call at userret(). */
|
||||
|
||||
void (*p_userret)(struct lwp *, void *);
|
||||
/* Function to call at userret(). */
|
||||
void *p_userret_arg;
|
||||
|
||||
|
||||
const struct execsw *p_execsw; /* Exec package information */
|
||||
struct klist p_klist; /* Knotes attached to this process */
|
||||
|
||||
@ -247,7 +247,7 @@ struct proc {
|
||||
size_t p_psenv; /* offset of ps_envstr in above */
|
||||
size_t p_psnenv; /* offset of ps_nenvstr in above */
|
||||
|
||||
/*
|
||||
/*
|
||||
* End area that is copied on creation
|
||||
*/
|
||||
#define p_endcopy p_xstat
|
||||
|
@ -1,6 +1,6 @@
|
||||
/* $NetBSD: properties.h,v 1.4 2003/07/04 07:42:04 itojun Exp $ */
|
||||
/* $NetBSD: properties.h,v 1.5 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*
|
||||
/*
|
||||
* Copyright (c) 2001 Eduardo Horvath.
|
||||
* All rights reserved.
|
||||
*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: pty.h,v 1.3 2004/11/24 22:18:35 christos Exp $ */
|
||||
/* $NetBSD: pty.h,v 1.4 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2004 The NetBSD Foundation, Inc.
|
||||
@ -52,7 +52,7 @@ struct ptm_pty *pty_sethandler(struct ptm_pty *);
|
||||
|
||||
struct ptm_pty {
|
||||
int (*allocvp)(struct ptm_pty *, struct proc *, struct vnode **, dev_t,
|
||||
char);
|
||||
char);
|
||||
int (*makename)(struct ptm_pty *, char *, size_t, dev_t, char);
|
||||
void (*getvattr)(struct ptm_pty *, struct proc *, struct vattr *);
|
||||
void *arg;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: queue.h,v 1.39 2004/04/18 14:25:34 lukem Exp $ */
|
||||
/* $NetBSD: queue.h,v 1.40 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1991, 1993
|
||||
@ -182,12 +182,12 @@ struct name { \
|
||||
|
||||
#define SLIST_HEAD_INITIALIZER(head) \
|
||||
{ NULL }
|
||||
|
||||
|
||||
#define SLIST_ENTRY(type) \
|
||||
struct { \
|
||||
struct type *sle_next; /* next element */ \
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Singly-linked List functions.
|
||||
*/
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sched.h,v 1.19 2003/08/07 16:34:12 agc Exp $ */
|
||||
/* $NetBSD: sched.h,v 1.20 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999, 2000, 2001, 2002 The NetBSD Foundation, Inc.
|
||||
@ -151,7 +151,7 @@ struct schedstate_percpu {
|
||||
u_char spc_curpriority; /* usrpri of curproc */
|
||||
int spc_rrticks; /* ticks until roundrobin() */
|
||||
int spc_pscnt; /* prof/stat counter */
|
||||
int spc_psdiv; /* prof/stat divisor */
|
||||
int spc_psdiv; /* prof/stat divisor */
|
||||
};
|
||||
|
||||
/* spc_flags */
|
||||
@ -169,7 +169,7 @@ struct schedstate_percpu {
|
||||
#define CLONE_FILES 0x00000400 /* share file descriptors */
|
||||
#define CLONE_SIGHAND 0x00000800 /* share signal actions */
|
||||
#define CLONE_PID 0x00001000 /* share process ID */
|
||||
#define CLONE_PTRACE 0x00002000 /* ptrace(2) continues on
|
||||
#define CLONE_PTRACE 0x00002000 /* ptrace(2) continues on
|
||||
child */
|
||||
#define CLONE_VFORK 0x00004000 /* parent blocks until child
|
||||
exits */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sha1.h,v 1.4 2005/02/03 19:20:02 perry Exp $ */
|
||||
/* $NetBSD: sha1.h,v 1.5 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*
|
||||
* SHA-1 in C
|
||||
@ -13,10 +13,10 @@
|
||||
|
||||
typedef struct {
|
||||
u_int32_t state[5];
|
||||
u_int32_t count[2];
|
||||
u_int32_t count[2];
|
||||
u_char buffer[64];
|
||||
} SHA1_CTX;
|
||||
|
||||
|
||||
void SHA1Transform(u_int32_t[5], const u_char[64]);
|
||||
void SHA1Init(SHA1_CTX *);
|
||||
void SHA1Update(SHA1_CTX *, const u_char *, u_int);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: signal.h,v 1.59 2005/02/03 19:20:02 perry Exp $ */
|
||||
/* $NetBSD: signal.h,v 1.60 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1986, 1989, 1991, 1993
|
||||
@ -254,7 +254,7 @@ struct sigevent {
|
||||
#define SIGEV_THREAD 2
|
||||
#define SIGEV_SA 3
|
||||
#endif /* (_POSIX_C_SOURCE - 0) >= 199309L || ... */
|
||||
|
||||
|
||||
#endif /* _POSIX_C_SOURCE || _XOPEN_SOURCE || _NETBSD_SOURCE */
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sigtypes.h,v 1.5 2003/10/13 18:50:43 fvdl Exp $ */
|
||||
/* $NetBSD: sigtypes.h,v 1.6 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1986, 1989, 1991, 1993
|
||||
@ -152,7 +152,7 @@ struct __sigaltstack32 {
|
||||
uint32_t ss_size;
|
||||
int32_t ss_flags;
|
||||
};
|
||||
|
||||
|
||||
typedef struct __sigaltstack32 stack32_t;
|
||||
|
||||
#endif /* COMPAT_NETBSD32 && _KERNEL */
|
||||
|
@ -1,9 +1,9 @@
|
||||
/* $NetBSD: socket.h,v 1.70 2005/02/03 19:20:02 perry Exp $ */
|
||||
/* $NetBSD: socket.h,v 1.71 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
||||
* All rights reserved.
|
||||
*
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
@ -15,7 +15,7 @@
|
||||
* 3. Neither the name of the project nor the names of its contributors
|
||||
* may be used to endorse or promote products derived from this software
|
||||
* without specific prior written permission.
|
||||
*
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
|
||||
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: sockio.h,v 1.21 2003/08/07 16:34:15 agc Exp $ */
|
||||
/* $NetBSD: sockio.h,v 1.22 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1982, 1986, 1990, 1993, 1994
|
||||
@ -77,7 +77,7 @@
|
||||
|
||||
#define SIOCAIFADDR _IOW('i', 26, struct ifaliasreq)/* add/chg IF alias */
|
||||
#define SIOCGIFALIAS _IOWR('i', 27, struct ifaliasreq)/* get IF alias */
|
||||
|
||||
|
||||
#define SIOCALIFADDR _IOW('i', 28, struct if_laddrreq) /* add IF addr */
|
||||
#define SIOCGLIFADDR _IOWR('i', 29, struct if_laddrreq) /* get IF addr */
|
||||
#define SIOCDLIFADDR _IOW('i', 30, struct if_laddrreq) /* delete IF addr */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: time.h,v 1.44 2005/02/03 19:20:02 perry Exp $ */
|
||||
/* $NetBSD: time.h,v 1.45 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1986, 1993
|
||||
@ -189,7 +189,7 @@ struct ptimer {
|
||||
int pt_poverruns; /* Overruns associated w/ a delivery */
|
||||
int pt_type;
|
||||
int pt_entry;
|
||||
struct proc *pt_proc;
|
||||
struct proc *pt_proc;
|
||||
};
|
||||
|
||||
#define pt_ch pt_data.pt_ch
|
||||
@ -216,7 +216,7 @@ void microtime(struct timeval *tv);
|
||||
int settime(struct timeval *);
|
||||
int ratecheck(struct timeval *, const struct timeval *);
|
||||
int ppsratecheck(struct timeval *, int *, int);
|
||||
int settimeofday1(const struct timeval *, const struct timezone *,
|
||||
int settimeofday1(const struct timeval *, const struct timezone *,
|
||||
struct proc *);
|
||||
int adjtime1(const struct timeval *, struct timeval *, struct proc *);
|
||||
int clock_settime1(clockid_t, const struct timespec *);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: timepps.h,v 1.7 2005/02/03 19:20:02 perry Exp $ */
|
||||
/* $NetBSD: timepps.h,v 1.8 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1998 Jonathan Stone
|
||||
@ -181,7 +181,7 @@ time_pps_getparams(handle, ppsparams)
|
||||
return (ioctl(handle, PPS_IOC_GETPARAMS, ppsparams));
|
||||
}
|
||||
|
||||
static __inline int
|
||||
static __inline int
|
||||
time_pps_getcap(handle, mode)
|
||||
pps_handle_t handle;
|
||||
int *mode;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: tree.h,v 1.8 2004/03/28 19:38:30 provos Exp $ */
|
||||
/* $NetBSD: tree.h,v 1.9 2005/02/26 22:25:34 perry Exp $ */
|
||||
/* $OpenBSD: tree.h,v 1.7 2002/10/17 21:51:54 art Exp $ */
|
||||
/*
|
||||
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
|
||||
@ -84,7 +84,7 @@ struct { \
|
||||
SPLAY_RIGHT(tmp, field) = (head)->sph_root; \
|
||||
(head)->sph_root = tmp; \
|
||||
} while (/*CONSTCOND*/ 0)
|
||||
|
||||
|
||||
#define SPLAY_ROTATE_LEFT(head, tmp, field) do { \
|
||||
SPLAY_RIGHT((head)->sph_root, field) = SPLAY_LEFT(tmp, field); \
|
||||
SPLAY_LEFT(tmp, field) = (head)->sph_root; \
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ucontext.h,v 1.5 2004/07/18 21:26:00 chs Exp $ */
|
||||
/* $NetBSD: ucontext.h,v 1.6 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1999, 2003 The NetBSD Foundation, Inc.
|
||||
@ -86,7 +86,7 @@ struct __ucontext32 {
|
||||
#define _UC_CPU 0x04 /* valid GPR context in uc_mcontext */
|
||||
#define _UC_FPU 0x08 /* valid FPU context in uc_mcontext */
|
||||
|
||||
/*
|
||||
/*
|
||||
* The following macros are used to convert from a ucontext to sigcontext,
|
||||
* and vice-versa. This is for building a sigcontext to deliver to old-style
|
||||
* signal handlers, and converting back (in the event the handler modifies
|
||||
@ -98,7 +98,7 @@ struct __ucontext32 {
|
||||
*
|
||||
* The _MCONTEXT_TO_SIGCONTEXT() and _SIGCONTEXT_TO_MCONTEXT() macros
|
||||
* should be provided by <machine/signal.h>.
|
||||
*/
|
||||
*/
|
||||
#define _UCONTEXT_TO_SIGCONTEXT(uc, sc) \
|
||||
do { \
|
||||
(sc)->sc_mask = (uc)->uc_sigmask; \
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: ucred.h,v 1.20 2004/07/10 06:07:52 itohy Exp $ */
|
||||
/* $NetBSD: ucred.h,v 1.21 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
@ -42,7 +42,7 @@
|
||||
|
||||
/* Userland's view of credentials. This should not change */
|
||||
struct uucred {
|
||||
u_short cr_unused; /* not used, compat */
|
||||
u_short cr_unused; /* not used, compat */
|
||||
uid_t cr_uid; /* effective user id */
|
||||
gid_t cr_gid; /* effective group id */
|
||||
short cr_ngroups; /* number of groups */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: verified_exec.h,v 1.5 2005/02/03 19:20:02 perry Exp $ */
|
||||
/* $NetBSD: verified_exec.h,v 1.6 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998-1999 Brett Lymn
|
||||
@ -83,7 +83,7 @@ struct veriexec_dev_list {
|
||||
LIST_ENTRY(veriexec_dev_list) entries;
|
||||
};
|
||||
|
||||
struct veriexec_inode_list
|
||||
struct veriexec_inode_list
|
||||
{
|
||||
unsigned char type;
|
||||
unsigned char fp_type;
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: vnode.h,v 1.133 2005/02/03 19:20:02 perry Exp $ */
|
||||
/* $NetBSD: vnode.h,v 1.134 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989, 1993
|
||||
@ -170,7 +170,7 @@ struct vnode {
|
||||
#define VSIZENOTSET ((voff_t)-1)
|
||||
|
||||
/*
|
||||
* Use a global lock for all v_numoutput updates.
|
||||
* Use a global lock for all v_numoutput updates.
|
||||
* Define a convenience macro to increment by one.
|
||||
* Note: the only place where v_numoutput is decremented is in vwakeup().
|
||||
*/
|
||||
@ -682,7 +682,7 @@ int vaccess(enum vtype, mode_t, uid_t, gid_t, mode_t, struct ucred *);
|
||||
void vattr_null(struct vattr *);
|
||||
int vcount(struct vnode *);
|
||||
void vdevgone(int, int, int, enum vtype);
|
||||
int vfinddev(dev_t, enum vtype, struct vnode **);
|
||||
int vfinddev(dev_t, enum vtype, struct vnode **);
|
||||
int vflush(struct mount *, struct vnode *, int);
|
||||
void vflushbuf(struct vnode *, int);
|
||||
int vget(struct vnode *, int);
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: wait.h,v 1.22 2005/02/03 19:20:02 perry Exp $ */
|
||||
/* $NetBSD: wait.h,v 1.23 2005/02/26 22:25:34 perry Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1986, 1989, 1993, 1994
|
||||
@ -94,11 +94,11 @@
|
||||
#define __WCLONE WALTSIG
|
||||
#define __WALL WALLSIG
|
||||
|
||||
/*
|
||||
/*
|
||||
* These bits are used in order to support SVR4 (etc) functionality
|
||||
* without replicating sys_wait4 5 times.
|
||||
*/
|
||||
#define WNOWAIT 0x00010000 /* Don't mark child 'P_WAITED' */
|
||||
#define WNOWAIT 0x00010000 /* Don't mark child 'P_WAITED' */
|
||||
#define WNOZOMBIE 0x00020000 /* Ignore zombies */
|
||||
#endif /* _XOPEN_SOURCE || _NETBSD_SOURCE */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user