fixed to be compliant, subservient, and to take advantage of the newly

hacked config(8)
This commit is contained in:
glass 1993-04-10 12:04:35 +00:00
parent 7ce4be329c
commit 806f3c7244
26 changed files with 93 additions and 98 deletions

View File

@ -64,12 +64,11 @@
/* */
#ifdef __386BSD__
#include "ddb.h"
#if NDDB > 0
#ifdef DDB
int Debugger();
#else NDDB
#else
#define Debugger() panic("should call debugger here (adaptec.c)")
#endif NDDB
#endif /*DDB*/
#endif __386BSD__
#ifdef MACH

View File

@ -1 +1 @@
revision 1.2 intentionally removed
revision 1.3 intentionally removed

View File

@ -44,8 +44,7 @@
* 15 Aug 92 William Jolitz Large memory bug
* 15 Aug 92 Terry Lambert Fixed CMOS RAM size bug
*/
static char rcsid[] = "$Header: /cvsroot/src/sys/arch/i386/i386/machdep.c,v 1.4 1993/04/01 00:06:04 cgd Exp $";
static char rcsid[] = "$Header: /cvsroot/src/sys/arch/i386/i386/machdep.c,v 1.5 1993/04/10 12:04:40 glass Exp $";
#include "param.h"
#include "systm.h"
@ -878,8 +877,7 @@ init386(first)
lidt(&r_idt);
lldt(GSEL(GLDT_SEL, SEL_KPL));
#include "ddb.h"
#if NDDB > 0
#ifdef DDB
kdb_init();
if (boothowto & RB_KDB)
Debugger();

View File

@ -35,7 +35,7 @@
*
* @(#)trap.c 7.4 (Berkeley) 5/13/91
*/
static char rcsid[] = "$Header: /cvsroot/src/sys/arch/i386/i386/trap.c,v 1.1.1.1 1993/03/21 09:45:37 cgd Exp $";
static char rcsid[] = "$Header: /cvsroot/src/sys/arch/i386/i386/trap.c,v 1.2 1993/04/10 12:04:42 glass Exp $";
/*
* 386 Trap and System call handleing
@ -90,8 +90,7 @@ trap(frame)
frame.tf_eflags &= ~PSL_NT; /* clear nested trap XXX */
type = frame.tf_trapno;
#include "ddb.h"
#if NDDB > 0
#ifdef DDB
if (curpcb && curpcb->pcb_onfault) {
if (frame.tf_trapno == T_BPTFLT
|| frame.tf_trapno == T_TRCTRAP)
@ -128,7 +127,7 @@ copyfault:
if (kdb_trap(&psl))
return;
#endif
#if NDDB > 0
#ifdef DDB
if (kdb_trap (type, 0, &frame))
return;
#endif
@ -288,7 +287,7 @@ nogo:
break;
}
#if NDDB == 0
#ifndef DDB
case T_TRCTRAP: /* trace trap -- someone single stepping lcall's */
frame.tf_eflags &= ~PSL_T;
@ -306,7 +305,7 @@ nogo:
#if NISA > 0
case T_NMI:
case T_NMI|T_USER:
#if NDDB > 0
#ifdef DDB
/* NMI can be hooked up to a pushbutton for debugging */
printf ("NMI ... going to debugger\n");
if (kdb_trap (type, 0, &frame))

View File

@ -28,13 +28,17 @@
/*
* HISTORY
* $Log: aha1542.c,v $
* Revision 1.2 1993/04/08 08:26:46 deraadt
* Revision 1.3 1993/04/10 12:05:04 glass
* fixed to be compliant, subservient, and to take advantage of the newly
* hacked config(8)
*
* Revision 1.2 1993/04/08 08:26:46 deraadt
* dmesg output at boottime now tries to print out information as
* soon as it is available. The output looks much more like Sunos.
*
* Revision 1.1 1993/03/21 18:09:54 cgd
* after 0.2.2 "stable" patches applied
*
*
* Revision 1.6 1992/08/24 21:01:58 jason
* many changes and bugfixes for osf1
*
@ -122,17 +126,14 @@
#include <i386/isa/isa_device.h>
#include <scsi/scsi_all.h>
#include <scsi/scsiconf.h>
#endif __386BSD__
#ifdef __386BSD__
#include "ddb.h"
#if NDDB > 0
#ifdef DDB
int Debugger();
#else NDDB
#else
#define Debugger() panic("should call debugger here (adaptec.c)")
#endif NDDB
#endif __386BSD__
#endif /*!DDB*/
#endif /*__386BSD__*/
extern int delaycount; /* from clock setup code */
/************************** board definitions *******************************/

View File

@ -64,12 +64,11 @@
/* */
#ifdef __386BSD__
#include "ddb.h"
#if NDDB > 0
#ifdef DDB
int Debugger();
#else NDDB
#else
#define Debugger() panic("should call debugger here (adaptec.c)")
#endif NDDB
#endif /*DDB*/
#endif __386BSD__
#ifdef MACH

View File

@ -24,9 +24,13 @@
/*
* HISTORY
* $Log: bt742a.c,v $
* Revision 1.1 1993/03/21 18:04:42 cgd
* after 0.2.2 "stable" patches applied
* Revision 1.2 1993/04/10 12:05:14 glass
* fixed to be compliant, subservient, and to take advantage of the newly
* hacked config(8)
*
* Revision 1.1 1993/03/21 18:10:06 cgd
* after 0.2.2 "stable" patches applied
*
* Revision 1.7 1992/08/24 22:40:16 jason
* BIG_DMA ifdef for 512 dma segments instead of 128 segments
*
@ -98,12 +102,11 @@
#ifdef __386BSD__
#include "ddb.h"
#if NDDB > 0
#ifdef DDB
int Debugger();
#else NDDB
#else
#define Debugger() panic("should call debugger here (adaptec.c)")
#endif NDDB
#endif /*!DDB*/
#endif __386BSD__
#ifdef MACH

View File

@ -42,7 +42,7 @@
* 09 Aug 92 Christoph Robitschko Correct minor number on com ports
* 10 Feb 93 Jordan K. Hubbard Added select code
*/
static char rcsid[] = "$Header: /cvsroot/src/sys/arch/i386/isa/Attic/com.c,v 1.5 1993/04/09 16:43:56 cgd Exp $";
static char rcsid[] = "$Header: /cvsroot/src/sys/arch/i386/isa/Attic/com.c,v 1.6 1993/04/10 12:05:19 glass Exp $";
#include "com.h"
#if NCOM > 0
@ -61,6 +61,7 @@ static char rcsid[] = "$Header: /cvsroot/src/sys/arch/i386/isa/Attic/com.c,v 1.5
#include "uio.h"
#include "kernel.h"
#include "syslog.h"
#include "types.h"
#include "i386/isa/isa_device.h"
#include "i386/isa/comreg.h"
@ -763,4 +764,5 @@ comselect(dev, rw, p)
splx(s);
return (1);
}
#endif

View File

@ -51,7 +51,8 @@
* 14 Mar 93 Chris G. Demetriou Moved pg() to i386/cons.c, code
* cleanup, removed ctl-alt-del.
*/
static char rcsid[] = "$Header: /cvsroot/src/sys/arch/i386/isa/Attic/pccons.c,v 1.3 1993/04/08 08:26:57 deraadt Exp $";
static char rcsid[] = "$Header: /cvsroot/src/sys/arch/i386/isa/Attic/pccons.c,v 1.4 1993/04/10 12:05:22 glass Exp $";
/*
* code to work keyboard & display for PC-style console
@ -1466,8 +1467,7 @@ loop:
#endif /* !XSERVER*/
}
#include "ddb.h"
#if NDDB > 0
#ifdef DDB
/*
* Check for cntl-alt-esc
*/

View File

@ -67,12 +67,11 @@
/* */
#ifdef __386BSD__
#include "ddb.h"
#if NDDB > 0
#ifdef DDB
int Debugger();
#else NDDB
#else
#define Debugger() panic("should call debugger here")
#endif NDDB
#endif /*!DDB*/
#endif __386BSD__
#ifdef MACH

View File

@ -64,12 +64,11 @@
/* */
#ifdef __386BSD__
#include "ddb.h"
#if NDDB > 0
#ifdef DDB
int Debugger();
#else NDDB
#else
#define Debugger() panic("should call debugger here (adaptec.c)")
#endif NDDB
#endif /*DDB*/
#endif __386BSD__
#ifdef MACH

View File

@ -42,7 +42,7 @@
* 09 Aug 92 Christoph Robitschko Correct minor number on com ports
* 10 Feb 93 Jordan K. Hubbard Added select code
*/
static char rcsid[] = "$Header: /cvsroot/src/sys/dev/ic/com.c,v 1.5 1993/04/09 16:43:56 cgd Exp $";
static char rcsid[] = "$Header: /cvsroot/src/sys/dev/ic/com.c,v 1.6 1993/04/10 12:05:19 glass Exp $";
#include "com.h"
#if NCOM > 0
@ -61,6 +61,7 @@ static char rcsid[] = "$Header: /cvsroot/src/sys/dev/ic/com.c,v 1.5 1993/04/09 1
#include "uio.h"
#include "kernel.h"
#include "syslog.h"
#include "types.h"
#include "i386/isa/isa_device.h"
#include "i386/isa/comreg.h"
@ -763,4 +764,5 @@ comselect(dev, rw, p)
splx(s);
return (1);
}
#endif

View File

@ -28,13 +28,17 @@
/*
* HISTORY
* $Log: aha1542.c,v $
* Revision 1.2 1993/04/08 08:26:46 deraadt
* Revision 1.3 1993/04/10 12:05:04 glass
* fixed to be compliant, subservient, and to take advantage of the newly
* hacked config(8)
*
* Revision 1.2 1993/04/08 08:26:46 deraadt
* dmesg output at boottime now tries to print out information as
* soon as it is available. The output looks much more like Sunos.
*
* Revision 1.1 1993/03/21 18:09:54 cgd
* after 0.2.2 "stable" patches applied
*
*
* Revision 1.6 1992/08/24 21:01:58 jason
* many changes and bugfixes for osf1
*
@ -122,17 +126,14 @@
#include <i386/isa/isa_device.h>
#include <scsi/scsi_all.h>
#include <scsi/scsiconf.h>
#endif __386BSD__
#ifdef __386BSD__
#include "ddb.h"
#if NDDB > 0
#ifdef DDB
int Debugger();
#else NDDB
#else
#define Debugger() panic("should call debugger here (adaptec.c)")
#endif NDDB
#endif __386BSD__
#endif /*!DDB*/
#endif /*__386BSD__*/
extern int delaycount; /* from clock setup code */
/************************** board definitions *******************************/

View File

@ -24,9 +24,13 @@
/*
* HISTORY
* $Log: bt742a.c,v $
* Revision 1.1 1993/03/21 18:04:42 cgd
* after 0.2.2 "stable" patches applied
* Revision 1.2 1993/04/10 12:05:14 glass
* fixed to be compliant, subservient, and to take advantage of the newly
* hacked config(8)
*
* Revision 1.1 1993/03/21 18:10:06 cgd
* after 0.2.2 "stable" patches applied
*
* Revision 1.7 1992/08/24 22:40:16 jason
* BIG_DMA ifdef for 512 dma segments instead of 128 segments
*
@ -98,12 +102,11 @@
#ifdef __386BSD__
#include "ddb.h"
#if NDDB > 0
#ifdef DDB
int Debugger();
#else NDDB
#else
#define Debugger() panic("should call debugger here (adaptec.c)")
#endif NDDB
#endif /*!DDB*/
#endif __386BSD__
#ifdef MACH

View File

@ -42,7 +42,7 @@
* 09 Aug 92 Christoph Robitschko Correct minor number on com ports
* 10 Feb 93 Jordan K. Hubbard Added select code
*/
static char rcsid[] = "$Header: /cvsroot/src/sys/dev/isa/Attic/com.c,v 1.5 1993/04/09 16:43:56 cgd Exp $";
static char rcsid[] = "$Header: /cvsroot/src/sys/dev/isa/Attic/com.c,v 1.6 1993/04/10 12:05:19 glass Exp $";
#include "com.h"
#if NCOM > 0
@ -61,6 +61,7 @@ static char rcsid[] = "$Header: /cvsroot/src/sys/dev/isa/Attic/com.c,v 1.5 1993/
#include "uio.h"
#include "kernel.h"
#include "syslog.h"
#include "types.h"
#include "i386/isa/isa_device.h"
#include "i386/isa/comreg.h"
@ -763,4 +764,5 @@ comselect(dev, rw, p)
splx(s);
return (1);
}
#endif

View File

@ -67,12 +67,11 @@
/* */
#ifdef __386BSD__
#include "ddb.h"
#if NDDB > 0
#ifdef DDB
int Debugger();
#else NDDB
#else
#define Debugger() panic("should call debugger here")
#endif NDDB
#endif /*!DDB*/
#endif __386BSD__
#ifdef MACH

View File

@ -51,12 +51,11 @@
long int cdstrats,cdqueues;
#include <ddb.h>
#if NDDB > 0
#ifdef DDB
int Debugger();
#else NDDB > 0
#else
#define Debugger()
#endif NDDB > 0
#endif
#define PAGESIZ 4096

View File

@ -48,12 +48,11 @@
long int sdstrats,sdqueues;
#include <ddb.h>
#if NDDB > 0
#ifdef DDB
int Debugger();
#else NDDB > 0
#else
#define Debugger()
#endif NDDB > 0
#endif
#define PAGESIZ 4096

View File

@ -1 +1 @@
revision 1.2 intentionally removed
revision 1.3 intentionally removed

View File

@ -1 +1 @@
revision 1.2 intentionally removed
revision 1.3 intentionally removed

View File

@ -40,7 +40,9 @@
* Line discipline for RS232 tablets;
* supplies binary coordinate data.
*/
#include "param.h"
#include "ioctl.h"
#include "tablet.h"
#include "tty.h"

View File

@ -72,8 +72,7 @@ domaininit()
#ifdef CCITT
ADDDOMAIN(ccitt);
#endif
#include "imp.h"
#if NIMP > 0
#ifdef IMP
ADDDOMAIN(imp);
#endif
#endif

View File

@ -60,8 +60,7 @@ int rip_input(),rip_output(),rip_ctloutput(), rip_usrreq();
* Using the raw interface entry to get the timer routine
* in is a kludge.
*/
#include "imp.h"
#if NIMP > 0
#ifdef IMP
int rimp_output(), hostslowtimo();
#endif

View File

@ -51,12 +51,11 @@
long int cdstrats,cdqueues;
#include <ddb.h>
#if NDDB > 0
#ifdef DDB
int Debugger();
#else NDDB > 0
#else
#define Debugger()
#endif NDDB > 0
#endif
#define PAGESIZ 4096

View File

@ -48,12 +48,11 @@
long int sdstrats,sdqueues;
#include <ddb.h>
#if NDDB > 0
#ifdef DDB
int Debugger();
#else NDDB > 0
#else
#define Debugger()
#endif NDDB > 0
#endif
#define PAGESIZ 4096

View File

@ -39,12 +39,6 @@
/*
* Tablet line discipline.
*/
#ifdef KERNEL
#include "../h/ioctl.h"
#else
#include <sys/ioctl.h>
#endif
/*
* Reads on the tablet return one of the following structures, depending on
* the underlying tablet type. The first two are defined such that a read of
@ -94,6 +88,5 @@ struct polpos {
#define TBDIGIHIRES 0x8 /* gtco digi-pad, high res */
#define BIOSTYPE _IOW('b', 3, int) /* set tablet type */
#define BIOGTYPE _IOR('b', 4, int) /* get tablet type*/
#endif
#endif /* !_TABLET_H_ */