summaryrefslogtreecommitdiffstats
path: root/sys/i386/include
diff options
context:
space:
mode:
authorrgrimes <rgrimes@FreeBSD.org>1995-05-30 08:16:23 +0000
committerrgrimes <rgrimes@FreeBSD.org>1995-05-30 08:16:23 +0000
commitc86f0c7a71e7ade3e38b325c186a9cf374e0411e (patch)
tree176f04f674860c7cfae9ac5d2ff4d4e1d73cb2b7 /sys/i386/include
parent423ba8f9bc23d93bfc244aca9b12563b1c9de90d (diff)
downloadFreeBSD-src-c86f0c7a71e7ade3e38b325c186a9cf374e0411e.zip
FreeBSD-src-c86f0c7a71e7ade3e38b325c186a9cf374e0411e.tar.gz
Remove trailing whitespace.
Diffstat (limited to 'sys/i386/include')
-rw-r--r--sys/i386/include/ansi.h4
-rw-r--r--sys/i386/include/apm_bios.h8
-rw-r--r--sys/i386/include/apm_segments.h8
-rw-r--r--sys/i386/include/bootinfo.h4
-rw-r--r--sys/i386/include/console.h10
-rw-r--r--sys/i386/include/cpufunc.h4
-rw-r--r--sys/i386/include/cronyx.h2
-rw-r--r--sys/i386/include/db_machdep.h14
-rw-r--r--sys/i386/include/devconf.h4
-rw-r--r--sys/i386/include/ioctl_ctx.h8
-rw-r--r--sys/i386/include/lpt.h8
-rw-r--r--sys/i386/include/md_var.h4
-rw-r--r--sys/i386/include/pcaudioio.h4
-rw-r--r--sys/i386/include/pcvt_ioctl.h12
-rw-r--r--sys/i386/include/pmap.h8
-rw-r--r--sys/i386/include/pte.h8
-rw-r--r--sys/i386/include/segments.h8
-rw-r--r--sys/i386/include/soundcard.h50
-rw-r--r--sys/i386/include/specialreg.h4
-rw-r--r--sys/i386/include/spigot.h2
-rw-r--r--sys/i386/include/tss.h14
21 files changed, 94 insertions, 94 deletions
diff --git a/sys/i386/include/ansi.h b/sys/i386/include/ansi.h
index 18cc757..601b0df 100644
--- a/sys/i386/include/ansi.h
+++ b/sys/i386/include/ansi.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ansi.h 8.2 (Berkeley) 1/4/94
- * $Id: ansi.h,v 1.5 1994/08/02 07:38:38 davidg Exp $
+ * $Id: ansi.h,v 1.6 1995/02/03 21:23:46 bde Exp $
*/
#ifndef _MACHINE_ANSI_H_
@@ -62,7 +62,7 @@
* chosen over a long is that the is*() and to*() routines take ints (says
* ANSI C), but they use _RUNE_T_ instead of int. By changing it here, you
* lose a bit of ANSI conformance, but your programs will still work.
- *
+ *
* Note that _WCHAR_T_ and _RUNE_T_ must be of the same type. When wchar_t
* and rune_t are typedef'd, _WCHAR_T_ will be undef'd, but _RUNE_T remains
* defined for ctype.h.
diff --git a/sys/i386/include/apm_bios.h b/sys/i386/include/apm_bios.h
index 67cdc38..868455b 100644
--- a/sys/i386/include/apm_bios.h
+++ b/sys/i386/include/apm_bios.h
@@ -5,14 +5,14 @@
*
* This software may be used, modified, copied, and distributed, in
* both source and binary form provided that the above copyright and
- * these terms are retained. Under no circumstances is the author
- * responsible for the proper functioning of this software, nor does
- * the author assume any responsibility for damages incurred with its
+ * these terms are retained. Under no circumstances is the author
+ * responsible for the proper functioning of this software, nor does
+ * the author assume any responsibility for damages incurred with its
* use.
*
* Aug, 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD)
*
- * $Id: apm_bios.h,v 1.3 1994/10/02 17:31:27 phk Exp $
+ * $Id: apm_bios.h,v 1.4 1995/02/17 02:22:45 phk Exp $
*/
#ifndef _MACHINE_APM_BIOS_H_
diff --git a/sys/i386/include/apm_segments.h b/sys/i386/include/apm_segments.h
index 8bee29e..c76df07 100644
--- a/sys/i386/include/apm_segments.h
+++ b/sys/i386/include/apm_segments.h
@@ -5,14 +5,14 @@
*
* This software may be used, modified, copied, and distributed, in
* both source and binary form provided that the above copyright and
- * these terms are retained. Under no circumstances is the author
- * responsible for the proper functioning of this software, nor does
- * the author assume any responsibility for damages incurred with its
+ * these terms are retained. Under no circumstances is the author
+ * responsible for the proper functioning of this software, nor does
+ * the author assume any responsibility for damages incurred with its
* use.
*
* Sep., 1994 Implemented on FreeBSD 1.1.5.1R (Toshiba AVS001WD)
*
- * $Id: apm_segments.h,v 1.2 1994/10/01 05:13:37 davidg Exp $
+ * $Id: apm_segments.h,v 1.3 1995/02/17 02:22:46 phk Exp $
*/
#ifndef _MACHINE_APM_SEGMENTS_H
diff --git a/sys/i386/include/bootinfo.h b/sys/i386/include/bootinfo.h
index 757e7e4..d0b471f 100644
--- a/sys/i386/include/bootinfo.h
+++ b/sys/i386/include/bootinfo.h
@@ -29,11 +29,11 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: bootinfo.h,v 1.3 1994/11/18 05:26:52 phk Exp $
+ * $Id: bootinfo.h,v 1.4 1995/01/25 21:40:32 bde Exp $
*/
#ifndef _MACHINE_BOOTINFO_H_
-#define _MACHINE_BOOTINFO_H_
+#define _MACHINE_BOOTINFO_H_
/* Only change the version number if you break compatibility. */
#define BOOTINFO_VERSION 1
diff --git a/sys/i386/include/console.h b/sys/i386/include/console.h
index 4f6ecca..870c5de 100644
--- a/sys/i386/include/console.h
+++ b/sys/i386/include/console.h
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: console.h,v 1.15 1995/01/20 08:35:18 sos Exp $
+ * $Id: console.h,v 1.18 1995/01/28 22:15:30 sos Exp $
*/
#ifndef _CONSOLE_H_
@@ -47,7 +47,7 @@
#define KIOCSOUND _IO('K', 63)
#define KDGKBTYPE _IOR('K', 64, int)
#define KDGETLED _IOR('K', 65, int)
-#define KDSETLED _IO('K', 66)
+#define KDSETLED _IO('K', 66)
#define KDSETRAD _IO('K', 67)
#define GETFKEY _IOWR('k', 0, fkeyarg_t)
@@ -79,14 +79,14 @@
#define CONS_GETVERS _IOR('c', 74, int)
#define VT_OPENQRY _IOR('v', 1, int)
-#define VT_SETMODE _IOW('v', 2, vtmode_t)
+#define VT_SETMODE _IOW('v', 2, vtmode_t)
#define VT_GETMODE _IOR('v', 3, vtmode_t)
#define VT_RELDISP _IO('v', 4)
#define VT_ACTIVATE _IO('v', 5)
#define VT_WAITACTIVE _IO('v', 6)
#define VT_GETACTIVE _IOR('v', 7, int)
-#define VT_FALSE 0
+#define VT_FALSE 0
#define VT_TRUE 1
#define VT_ACKACQ 2
@@ -135,7 +135,7 @@ struct mouse_info {
#define NLKED 2 /* Num locked */
#define SLKED 4 /* Scroll locked */
#define ALKED 8 /* AltGr locked */
-#define LED_CAP 1 /* Caps lock LED */
+#define LED_CAP 1 /* Caps lock LED */
#define LED_NUM 2 /* Num lock LED */
#define LED_SCR 4 /* Scroll lock LED */
diff --git a/sys/i386/include/cpufunc.h b/sys/i386/include/cpufunc.h
index a57dc9d..576ba23 100644
--- a/sys/i386/include/cpufunc.h
+++ b/sys/i386/include/cpufunc.h
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: cpufunc.h,v 1.35 1995/05/11 07:24:35 bde Exp $
+ * $Id: cpufunc.h,v 1.36 1995/05/14 22:25:11 davidg Exp $
*/
/*
@@ -279,7 +279,7 @@ read_eflags(void)
{
u_long ef;
- __asm __volatile("pushfl; popl %0" : "=r" (ef));
+ __asm __volatile("pushfl; popl %0" : "=r" (ef));
return (ef);
}
diff --git a/sys/i386/include/cronyx.h b/sys/i386/include/cronyx.h
index db56cf9..9421cbc 100644
--- a/sys/i386/include/cronyx.h
+++ b/sys/i386/include/cronyx.h
@@ -82,7 +82,7 @@ typedef struct { /* async channel option register 6 */
unsigned icrnl : 1; /* translate CR to NL on input */
unsigned igncr : 1; /* discard CR on input */
} cx_cor6_async_t;
-
+
typedef struct { /* async channel option register 7 */
unsigned ocrnl : 1; /* translate CR to NL on output */
unsigned onlcr : 1; /* translate NL to CR on output */
diff --git a/sys/i386/include/db_machdep.h b/sys/i386/include/db_machdep.h
index a59b632..cae2a45 100644
--- a/sys/i386/include/db_machdep.h
+++ b/sys/i386/include/db_machdep.h
@@ -1,29 +1,29 @@
-/*
+/*
* Mach Operating System
* Copyright (c) 1991,1990 Carnegie Mellon University
* All Rights Reserved.
- *
+ *
* 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 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
* School of Computer Science
* Carnegie Mellon University
* Pittsburgh PA 15213-3890
- *
+ *
* any improvements or extensions that they make and grant Carnegie Mellon
* the rights to redistribute these changes.
*
- * $Id: db_machdep.h,v 1.6 1994/10/19 21:13:51 bde Exp $
+ * $Id: db_machdep.h,v 1.7 1995/01/14 10:34:52 bde Exp $
*/
#ifndef _MACHINE_DB_MACHDEP_H_
diff --git a/sys/i386/include/devconf.h b/sys/i386/include/devconf.h
index 9b270d7..f4fbe34 100644
--- a/sys/i386/include/devconf.h
+++ b/sys/i386/include/devconf.h
@@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: devconf.h,v 1.7 1995/02/02 05:42:47 jkh Exp $
+ * $Id: devconf.h,v 1.8 1995/02/04 12:47:19 se Exp $
*/
/*
* devconf.h - machine-dependent device configuration table
@@ -62,7 +62,7 @@ struct machdep_devconf {
#define MACHDEP_COPYDEV(dc, kdc) ((dc)->dc_md = (kdc)->kdc_md)
#define dc_devtype dc_md.mddc_devtype
-#define dc_flags dc_md.mddc_flags
+#define dc_flags dc_md.mddc_flags
#define kdc_isa kdc_parentdata
#define kdc_scsi kdc_parentdata
diff --git a/sys/i386/include/ioctl_ctx.h b/sys/i386/include/ioctl_ctx.h
index a7de049..a330664 100644
--- a/sys/i386/include/ioctl_ctx.h
+++ b/sys/i386/include/ioctl_ctx.h
@@ -1,13 +1,13 @@
/*
*
- * Copyright (C) 1994, Paul S. LaFollette, Jr. This software may be used,
- * modified, copied, distributed, and sold, in both source and binary form
- * provided that the above copyright and these terms are retained. Under
+ * Copyright (C) 1994, Paul S. LaFollette, Jr. This software may be used,
+ * modified, copied, distributed, and sold, in both source and binary form
+ * provided that the above copyright and these terms are retained. Under
* no circumstances is the author responsible for the proper functioning
* of this software, nor does the author assume any responsibility
* for damages incurred with its use
*
- * $Id$
+ * $Id: ioctl_ctx.h,v 1.1 1994/10/01 17:59:38 davidg Exp $
*/
/*
diff --git a/sys/i386/include/lpt.h b/sys/i386/include/lpt.h
index 7e3df42..a203c7d 100644
--- a/sys/i386/include/lpt.h
+++ b/sys/i386/include/lpt.h
@@ -1,17 +1,17 @@
/*
* Copyright (C) 1994 Geoffrey M. Rehmet
*
- * This program is free software; you may redistribute it and/or
- * modify it, provided that it retain the above copyright notice
+ * This program is free software; you may redistribute it and/or
+ * modify it, provided that it retain the above copyright notice
* and the following disclaimer.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*
* Geoff Rehmet, Rhodes University, South Africa <csgr@cs.ru.ac.za>
*
- * $Id$
+ * $Id: lpt.h,v 1.2 1994/08/02 07:38:52 davidg Exp $
*/
#ifndef _LPT_PRINTER_H_
diff --git a/sys/i386/include/md_var.h b/sys/i386/include/md_var.h
index 6bc5808..34854b0 100644
--- a/sys/i386/include/md_var.h
+++ b/sys/i386/include/md_var.h
@@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: md_var.h,v 1.1 1995/03/16 18:11:43 bde Exp $
+ * $Id: md_var.h,v 1.2 1995/03/28 07:55:08 bde Exp $
*/
#ifndef _MACHINE_MD_VAR_H_
@@ -41,7 +41,7 @@ extern u_long cpu_feature;
extern u_long cpu_high;
extern u_long cpu_id;
extern char cpu_vendor[];
-extern char etext[];
+extern char etext[];
extern vm_offset_t isaphysmem;
extern char kstack[];
extern void (*netisrs[32]) __P((void));
diff --git a/sys/i386/include/pcaudioio.h b/sys/i386/include/pcaudioio.h
index b347c96..d887334 100644
--- a/sys/i386/include/pcaudioio.h
+++ b/sys/i386/include/pcaudioio.h
@@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: pcaudioio.h,v 1.2 1994/05/20 12:22:40 sos Exp $
+ * $Id: pcaudioio.h,v 1.3 1994/09/29 08:31:39 sos Exp $
*/
#ifndef _PCAUDIOIO_H_
@@ -54,7 +54,7 @@ typedef struct audio_prinfo {
typedef struct audio_info {
audio_prinfo_t play;
- audio_prinfo_t record;
+ audio_prinfo_t record;
unsigned monitor_gain;
unsigned _fill[4];
} audio_info_t;
diff --git a/sys/i386/include/pcvt_ioctl.h b/sys/i386/include/pcvt_ioctl.h
index c4dbe44..b5f0842 100644
--- a/sys/i386/include/pcvt_ioctl.h
+++ b/sys/i386/include/pcvt_ioctl.h
@@ -159,7 +159,7 @@ struct kbd_ovlkey /* complete definition of a key */
/* Max value for keynum field */
#define KBDMAXKEYS 128 /* Max No. of Keys */
-
+
/* Values for type field */
#define KBD_NONE 0 /* no function, key is disabled */
@@ -185,11 +185,11 @@ struct kbd_ovlkey /* complete definition of a key */
#define KBD_OVERLOAD 0x8000 /* Key is overloaded, ignored in ioctl */
-#define KBD_MASK (~KBD_OVERLOAD) /* mask for type */
+#define KBD_MASK (~KBD_OVERLOAD) /* mask for type */
#define KBDGCKEY _IOWR('K',16, struct kbd_ovlkey) /* get current key values */
#define KBDSCKEY _IOW('K',17, struct kbd_ovlkey) /* set new key assignment values*/
-#define KBDGOKEY _IOWR('K',18, struct kbd_ovlkey) /* get original key assignment values*/
+#define KBDGOKEY _IOWR('K',18, struct kbd_ovlkey) /* get original key assignment values*/
#define KBDRMKEY _IOW('K',19, int) /* remove a key assignment */
#define KBDDEFAULT _IO('K',20) /* remove all key assignments */
@@ -496,7 +496,7 @@ struct pcvtinfo { /* compile time option values */
* which would be identical to KBDGLEDS above. Since this command is not
* necessary for XFree86 2.0, we omit it.
*/
-
+
/* #define KDGKBMODE _IOR('K', 6, int) */ /* not yet implemented */
#define KDSKBMODE _IO('K', 7 /*, int */)
@@ -517,7 +517,7 @@ struct pcvtinfo { /* compile time option values */
#define KDDISABIO _IO('K', 61)
#define KDGETLED _IOR('K', 65, int)
-#define KDSETLED _IO('K', 66 /*, int */)
+#define KDSETLED _IO('K', 66 /*, int */)
#define LED_CAP 1
#define LED_NUM 2
#define LED_SCR 4
@@ -534,7 +534,7 @@ struct pcvtinfo { /* compile time option values */
#define GIO_KEYMAP _IOR('k', 6, keymap_t)
#define VT_OPENQRY _IOR('v', 1, int)
-#define VT_SETMODE _IOW('v', 2, vtmode_t)
+#define VT_SETMODE _IOW('v', 2, vtmode_t)
#define VT_GETMODE _IOR('v', 3, vtmode_t)
#define VT_RELDISP _IO('v', 4 /*, int */)
diff --git a/sys/i386/include/pmap.h b/sys/i386/include/pmap.h
index 3ebe003..6a35c05 100644
--- a/sys/i386/include/pmap.h
+++ b/sys/i386/include/pmap.h
@@ -1,4 +1,4 @@
-/*
+/*
* Copyright (c) 1991 Regents of the University of California.
* All rights reserved.
*
@@ -42,7 +42,7 @@
*
* from: hp300: @(#)pmap.h 7.2 (Berkeley) 12/16/90
* from: @(#)pmap.h 7.4 (Berkeley) 5/12/91
- * $Id: pmap.h,v 1.24 1995/03/16 18:11:44 bde Exp $
+ * $Id: pmap.h,v 1.25 1995/03/26 23:42:55 davidg Exp $
*/
#ifndef _MACHINE_PMAP_H_
@@ -108,12 +108,12 @@ extern int IdlePTD; /* physical address of "Idle" state directory */
*/
#define vtopte(va) (PTmap + i386_btop(va))
#define kvtopte(va) vtopte(va)
-#define ptetov(pt) (i386_ptob(pt - PTmap))
+#define ptetov(pt) (i386_ptob(pt - PTmap))
#define vtophys(va) (((int) (*vtopte(va))&PG_FRAME) | ((int)(va) & PGOFSET))
#define ispt(va) ((va) >= UPT_MIN_ADDRESS && (va) <= KPT_MAX_ADDRESS)
#define avtopte(va) (APTmap + i386_btop(va))
-#define ptetoav(pt) (i386_ptob(pt - APTmap))
+#define ptetoav(pt) (i386_ptob(pt - APTmap))
#define avtophys(va) (((int) (*avtopte(va))&PG_FRAME) | ((int)(va) & PGOFSET))
#ifdef KERNEL
diff --git a/sys/i386/include/pte.h b/sys/i386/include/pte.h
index 5f473d8..b68f716 100644
--- a/sys/i386/include/pte.h
+++ b/sys/i386/include/pte.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)pte.h 5.5 (Berkeley) 5/9/91
- * $Id: pte.h,v 1.6 1994/05/25 08:56:34 rgrimes Exp $
+ * $Id: pte.h,v 1.7 1994/09/04 23:10:25 davidg Exp $
*/
#ifndef _MACHINE_PTE_H_
@@ -54,7 +54,7 @@
#ifndef LOCORE
struct pde {
-unsigned int
+unsigned int
pd_v:1, /* valid bit */
pd_prot:2, /* access control */
pd_ncpwt:1, /* page cache write through */
@@ -67,7 +67,7 @@ unsigned int
};
struct pte {
-unsigned int
+unsigned int
pg_v:1, /* valid bit */
pg_prot:2, /* access control */
pg_ncpwt:1, /* page cache write through */
@@ -83,7 +83,7 @@ unsigned int
#define PD_MASK 0xffc00000 /* page directory address bits */
#define PD_SHIFT 22 /* page directory address bits */
#define PT_MASK 0x003ff000UL /* page table address bits */
-#define PG_SHIFT 12 /* page table address shift */
+#define PG_SHIFT 12 /* page table address shift */
#define PG_V 0x00000001
#define PG_RW 0x00000002
diff --git a/sys/i386/include/segments.h b/sys/i386/include/segments.h
index 0c236f5..dcac309 100644
--- a/sys/i386/include/segments.h
+++ b/sys/i386/include/segments.h
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)segments.h 7.1 (Berkeley) 5/9/91
- * $Id: segments.h,v 1.7 1994/11/15 14:12:40 bde Exp $
+ * $Id: segments.h,v 1.8 1995/02/14 19:21:15 sos Exp $
*/
#ifndef _MACHINE_SEGMENTS_H_
@@ -51,10 +51,10 @@
*/
#define ISPL(s) ((s)&3) /* what is the priority level of a selector */
-#define SEL_KPL 0 /* kernel priority level */
-#define SEL_UPL 3 /* user priority level */
+#define SEL_KPL 0 /* kernel priority level */
+#define SEL_UPL 3 /* user priority level */
#define ISLDT(s) ((s)&SEL_LDT) /* is it local or global */
-#define SEL_LDT 4 /* local descriptor table */
+#define SEL_LDT 4 /* local descriptor table */
#define IDXSEL(s) (((s)>>3) & 0x1fff) /* index of selector */
#define LSEL(s,r) (((s)<<3) | SEL_LDT | r) /* a local selector */
#define GSEL(s,r) (((s)<<3) | r) /* a global selector */
diff --git a/sys/i386/include/soundcard.h b/sys/i386/include/soundcard.h
index 8291c07..7bd55eb 100644
--- a/sys/i386/include/soundcard.h
+++ b/sys/i386/include/soundcard.h
@@ -25,12 +25,12 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: soundcard.h,v 1.11 1995/02/13 22:48:54 jkh Exp $
+ * $Id: soundcard.h,v 1.12 1995/03/08 18:43:49 ugen Exp $
*/
- /*
+ /*
* If you make modifications to this file, please contact me before
- * distributing the modified version. There is already enough
+ * distributing the modified version. There is already enough
* divercity in the world.
*
* Regards,
@@ -134,7 +134,7 @@ struct patch_info {
long len; /* Size of the wave data in bytes */
long loop_start, loop_end; /* Byte offsets from the beginning */
-/*
+/*
* The base_freq and base_note fields are used when computing the
* playback speed for a note. The base_note defines the tone frequency
* which is heard if the sample is played using the base_freq as the
@@ -163,7 +163,7 @@ struct patch_info {
unsigned char env_rate[ 6 ]; /* GUS HW ramping rate */
unsigned char env_offset[ 6 ]; /* 255 == 100% */
- /*
+ /*
* The tremolo, vibrato and scale info are not supported yet.
* Enable by setting the mode bits WAVE_TREMOLO, WAVE_VIBRATO or
* WAVE_SCALE
@@ -172,14 +172,14 @@ struct patch_info {
unsigned char tremolo_sweep;
unsigned char tremolo_rate;
unsigned char tremolo_depth;
-
+
unsigned char vibrato_sweep;
unsigned char vibrato_rate;
unsigned char vibrato_depth;
int scale_frequency;
unsigned int scale_factor; /* from 0 to 2048 or 0 to 2 */
-
+
int volume;
int spare[4];
char data[1]; /* The waveform data starts here */
@@ -216,7 +216,7 @@ struct sysex_info {
* This structure is also used with ioctl(SNDCTL_PGMR_IFACE) which allows
* a patch manager daemon to read and write device parameters. This
* ioctl available through /dev/sequencer also. Avoid using it since it's
- * extremely hardware dependent. In addition access trough /dev/sequencer
+ * extremely hardware dependent. In addition access trough /dev/sequencer
* may confuse the patch manager daemon.
*/
@@ -230,8 +230,8 @@ struct patmgr_info { /* Note! size must be < 4k since kmalloc() is used */
int device;
int command;
-/*
- * Commands 0x000 to 0xfff reserved for patch manager programs
+/*
+ * Commands 0x000 to 0xfff reserved for patch manager programs
*/
#define PM_GET_DEVTYPE 1 /* Returns type of the patch mgr interface of dev */
#define PMTYPE_FM2 1 /* 2 OP fm */
@@ -251,7 +251,7 @@ struct patmgr_info { /* Note! size must be < 4k since kmalloc() is used */
*/
#define _PM_LOAD_PATCH 0x100
-/*
+/*
* Commands above 0xffff reserved for device specific use
*/
@@ -282,7 +282,7 @@ struct patmgr_info { /* Note! size must be < 4k since kmalloc() is used */
* /dev/sequencer input events.
*
* The data written to the /dev/sequencer is a stream of events. Events
- * are records of 4 or 8 bytes. The first byte defines the size.
+ * are records of 4 or 8 bytes. The first byte defines the size.
* Any number of events can be written with a write call. There
* is a set of macros for sending these events. Use these macros if you
* want to maximize portability of your program.
@@ -421,13 +421,13 @@ struct patmgr_info { /* Note! size must be < 4k since kmalloc() is used */
* of the associated synthesizer device. There is no limit to the size
* of the extended events. These events are not queued but executed
* immediately when the write() is called (execution can take several
- * seconds of time).
+ * seconds of time).
*
* When a SEQ_FULLSIZE message is written to the device, it must
* be written using exactly one write() call. Other events cannot
* be mixed to the same write.
- *
- * For FM synths (YM3812/OPL3) use struct sbi_instrument and write it to the
+ *
+ * For FM synths (YM3812/OPL3) use struct sbi_instrument and write it to the
* /dev/sequencer. Don't write other data together with the instrument structure
* Set the key field of the structure to FM_PATCH. The device field is used to
* route the patch to the corresponding device.
@@ -471,7 +471,7 @@ struct synth_info { /* Read only */
int nr_voices;
int nr_drums; /* Obsolete field */
int instr_bank_size;
- unsigned long capabilities;
+ unsigned long capabilities;
#define SYNTH_CAP_PERCMODE 0x00000001 /* No longer used */
#define SYNTH_CAP_OPL3 0x00000002 /* Set if OPL3 supported */
#define SYNTH_CAP_INPUT 0x00000004 /* Input (MIDI) device */
@@ -572,12 +572,12 @@ struct pss_speaker {
/*********************************************
* IOCTL commands for /dev/mixer
*/
-
-/*
+
+/*
* Mixer devices
*
* There can be up to 20 different analog mixer channels. The
- * SOUND_MIXER_NRDEVICES gives the currently supported maximum.
+ * SOUND_MIXER_NRDEVICES gives the currently supported maximum.
* The SOUND_MIXER_READ_DEVMASK returns a bitmask which tells
* the devices supported by the particular mixer.
*/
@@ -688,7 +688,7 @@ struct pss_speaker {
/*
* The 4 most significant bits of byte 0 specify the class of
- * the event:
+ * the event:
*
* 0x8X = system level events,
* 0x9X = device/port specific events, event[1] = device/port,
@@ -742,7 +742,7 @@ struct pss_speaker {
#define TMR_SPP 10 /* Song position pointer */
#define TMR_TIMESIG 11 /* Time signature */
-#if (!defined(__KERNEL__) && !defined(KERNEL) && !defined(INKERNEL) && !defined(_KERNEL)) || defined(USE_SEQ_MACROS)
+#if (!defined(__KERNEL__) && !defined(KERNEL) && !defined(INKERNEL) && !defined(_KERNEL)) || defined(USE_SEQ_MACROS)
/*
* Some convenience macros to simplify programming of the
* /dev/sequencer interface
@@ -783,16 +783,16 @@ void seqbuf_dump(void); /* This function must be provided by programs */
/*
* This variation of the sequencer macros is used just to format one event
* using fixed buffer.
- *
+ *
* The program using the macro library must define the following macros before
* using this library.
*
- * #define _seqbuf name of the buffer (unsigned char[])
+ * #define _seqbuf name of the buffer (unsigned char[])
* #define _SEQ_ADVBUF(len) If the applic needs to know the exact
* size of the event, this macro can be used.
* Otherwise this must be defined as empty.
* #define _seqbufptr Define the name of index variable or 0 if
- * not required.
+ * not required.
*/
#define _SEQ_NEEDBUF(len) /* empty */
#endif
@@ -914,7 +914,7 @@ void seqbuf_dump(void); /* This function must be provided by programs */
#define SEQ_TIME_SIGNATURE(sig) _TIMER_EVENT(TMR_TIMESIG, sig)
/*
- * Events for the level 1 interface only
+ * Events for the level 1 interface only
*/
#define SEQ_MIDIOUT(device, byte) {_SEQ_NEEDBUF(4);\
diff --git a/sys/i386/include/specialreg.h b/sys/i386/include/specialreg.h
index aa87bec..75cc79d 100644
--- a/sys/i386/include/specialreg.h
+++ b/sys/i386/include/specialreg.h
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)specialreg.h 7.1 (Berkeley) 5/9/91
- * $Id: specialreg.h,v 1.5 1994/09/04 23:10:27 davidg Exp $
+ * $Id: specialreg.h,v 1.6 1995/01/14 10:44:55 bde Exp $
*/
#ifndef _MACHINE_SPECIALREG_H_
@@ -84,7 +84,7 @@
* NCRx+0: A31-A24 of starting address
* NCRx+1: A23-A16 of starting address
* NCRx+2: A15-A12 of starting address | NCR_SIZE_xx.
- *
+ *
* The non-cacheable region's starting address must be aligned to the
* size indicated by the NCR_SIZE_xx field.
*/
diff --git a/sys/i386/include/spigot.h b/sys/i386/include/spigot.h
index 6d95033..4f29db8 100644
--- a/sys/i386/include/spigot.h
+++ b/sys/i386/include/spigot.h
@@ -61,7 +61,7 @@ unsigned char spigot_status(void);
* spigot_open() returns a data address pointing to the spigot data.
* Each read from this address returns the next word. The ``dev'' passed
* is usually "/dev/spigot". Data is described in the phillips desktop
- * video data handbook under the 7191 chip. Formats may be either
+ * video data handbook under the 7191 chip. Formats may be either
* YUV 4:2:2 or YUV 4:1:1. A sample device driver for ``nv'' is included
* with this code.
*
diff --git a/sys/i386/include/tss.h b/sys/i386/include/tss.h
index 1fada6e..fd07e35 100644
--- a/sys/i386/include/tss.h
+++ b/sys/i386/include/tss.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)tss.h 5.4 (Berkeley) 1/18/91
- * $Id: tss.h,v 1.3 1993/11/07 17:43:16 wollman Exp $
+ * $Id: tss.h,v 1.4 1993/11/17 23:25:04 wollman Exp $
*/
#ifndef _MACHINE_TSS_H_
@@ -59,16 +59,16 @@ struct i386tss {
#define tss_pc tss_eip
int tss_eflags; /* program status longword */
#define tss_psl tss_eflags
- int tss_eax;
- int tss_ecx;
- int tss_edx;
- int tss_ebx;
+ int tss_eax;
+ int tss_ecx;
+ int tss_edx;
+ int tss_ebx;
int tss_esp; /* user stack pointer */
#define tss_usp tss_esp
int tss_ebp; /* user frame pointer */
#define tss_fp tss_ebp
- int tss_esi;
- int tss_edi;
+ int tss_esi;
+ int tss_edi;
int tss_es; /* actually 16 bits: top 16 bits must be zero */
int tss_cs; /* actually 16 bits: top 16 bits must be zero */
int tss_ss; /* actually 16 bits: top 16 bits must be zero */
OpenPOWER on IntegriCloud