Commit Graph

6868 Commits

Author SHA1 Message Date
thorpej 5c67e5fad9 New device attachment scheme:
- split softc size and match/attach out from cfdriver into
	  a new struct cfattach.

	- new "attach" directive for files.*.  May specify the name of
	  the cfattach structure, so that devices may be easily attached
	  to parents with different autoconfiguration semantics.
1996-03-17 01:16:48 +00:00
thorpej 08607bc611 New device attachment scheme:
- split softc size and match/attach out from cfdriver into
	  a new struct cfattach.

	- new "attach" directive for files.*.  May specify the name of
	  the cfattach structure, so that devices may be easily attached
	  to parents with different autoconfiguration semantics.
1996-03-17 01:03:02 +00:00
mrg 4fe3a900f3 comment: LEAPYEAR is not entirely correct 1996-03-17 00:56:24 +00:00
christos 5b2bf5a548 add rom routines declarations 1996-03-16 23:51:44 +00:00
christos 64356e6df3 fix printf format strings 1996-03-16 23:31:45 +00:00
christos dafa7f2c60 fix format strings. move rom routine decls in bsd_openprom.h 1996-03-16 23:31:42 +00:00
christos ed2239daea Fix format strings in panic() 1996-03-16 23:31:40 +00:00
christos 0c4805af23 Fix typo in fsrtoname() use && as intended instead of & 1996-03-16 23:31:36 +00:00
christos 4b636d71eb cast argument to probeget() 1996-03-16 23:28:37 +00:00
christos 2cb7b87853 fix formats in printf() and panic() 1996-03-16 23:28:35 +00:00
christos 5c32202b7e fix format in printf() 1996-03-16 23:28:33 +00:00
christos fe4bb997c9 fix format in panic() 1996-03-16 23:28:30 +00:00
christos 09ff5d56a7 fix format in printf() 1996-03-16 23:28:28 +00:00
christos aab8906300 fix format in log() 1996-03-16 23:28:27 +00:00
christos f2b8b6e73e include <sys/systm.h> 1996-03-16 23:28:25 +00:00
christos 02bcb06a88 This could have never worked (fb in attach was never initialized); include <sys/systm.h> 1996-03-16 23:28:23 +00:00
mhitch ae815da330 change Debugger() from an int function to a void function to match the
prototype in sys/systm.h.
1996-03-16 18:45:44 +00:00
ragge f9ee92c45a Support installation of /usr/mdec files. 1996-03-16 11:03:11 +00:00
ragge 33aad32f37 Accept adapter numbering in boot. 1996-03-16 11:02:28 +00:00
mhitch a5c0ced572 Removed Debugger() declaration - the prototype is in sys/systm.h. 1996-03-16 08:19:43 +00:00
thorpej 0c71728320 Change the PS/2 mouse driver to be a child of the "pckbd" attribute,
which represents the "keyboard controller".  Give "pc" and "vt" drivers
the "pckbd" attribute.  In pcattach() (pccons and pcvt), attach children
of the keyboard controller.
1996-03-16 06:08:46 +00:00
jtc 2ce5f1478b Add _BSD_WINT_T_ definition so we can handle wint_t type added in NA1. 1996-03-16 01:31:45 +00:00
thorpej 58a3d4e742 RCS id police. 1996-03-16 00:17:52 +00:00
thorpej 0bbcd292a1 RCS id police. 1996-03-16 00:07:07 +00:00
mhitch 48118d719d Correct 53c710 initialization for the A4000T. Remove the A4000T probe
debugging output.
1996-03-15 22:11:09 +00:00
is 1c6c1c4af9 If compiling with "options M68060", tell compiler not to use
instructions which have to be emulated by the operating system on that
chip.  This code will still run on M68020, M68030 and M68040, but
might be a bit slower on those chips.
1996-03-15 20:09:52 +00:00
is ed24bc5ba8 AMIGA_68060 flag in cpu.h and genassym.c. 1996-03-15 19:47:45 +00:00
chuck 1079c8c2aa change Debugger() from an int function to a void function to match the
prototype in sys/systm.h (which was just put in in by christos)
with revision 1.43 of sys/systm.h
	revision 1.43
	date: 1996/03/14 18:59:12;  author: christos;  state: Exp;  lines: +1 -3
	systm.h: Bring Debugger() prototype into scope.
1996-03-15 00:07:18 +00:00
christos 6d492269e0 Add -Wall -Wstrict-prototypes -Wmissing-prototypes
to the kernel build. The sparc is clean now!
1996-03-15 00:02:28 +00:00
christos 9af46afa21 Fix prototypes for the latest kpc changes. 1996-03-15 00:01:21 +00:00
christos 9673aca601 Fix prototypes that were added with the latest kpc changes. 1996-03-15 00:00:39 +00:00
mark 6cb2a43b5e RCS Id police. 1996-03-14 23:10:59 +00:00
christos 99fff354c6 fdopen -> filedescopen 1996-03-14 22:18:02 +00:00
leo 55b65fb49a Switch to the mi ramdisk driver. 1996-03-14 21:41:04 +00:00
christos 25b31cbc91 fdopen -> filedescopen 1996-03-14 21:31:56 +00:00
christos ab0e60a42f fdopen -> filedescopen 1996-03-14 21:20:59 +00:00
christos 9c75606e8c Add prototypes and fix bugs:
- softclock was called with extra argument.
    - missing %x formats in printf's
    - kgdb_copy called with only two arguments.

Fix conf.c so that it used the _conf.h files from other places instead of
rolling its own.
1996-03-14 21:08:50 +00:00
christos 9a07d9dec9 Add missing prototypes and fix the fp struct for svr4. 1996-03-14 19:49:04 +00:00
christos 03b701e393 Bring prototypes into scope and fix compiler warnings. 1996-03-14 19:44:30 +00:00
christos ab59f984ab Add and bring prototypes into scope. 1996-03-14 19:41:49 +00:00
scottr 2a5cf25e29 Back out previous change; kernel longjmp() has 1 arg. 1996-03-14 16:42:44 +00:00
scottr 24dcca72bd Optimize user-side TLB invalidation when !defined(M68020). 1996-03-14 05:50:06 +00:00
cgd 0926920201 (1) remove the #ifdef i386 from pci.c, and provide a machine-dependent
hook (pci_md_attach_hook()) to do any machine-dependent attachment
    gunk, e.g. on the i386 printing out the configuration mode (if bus 0)
(2) don't pass max device number for a given bus in, use
    PCI_MAX_DEVICE_NUMBER, which can be defined on a per-machine basis.
    (defaults to 32.  on i386, it's 32 if pci conf mode == 1, 16 if 2.)
1996-03-14 02:37:59 +00:00
cgd 20af97b2c0 don't pass max device number for a given bus in, use
PCI_MAX_DEVICE_NUMBER, which can be defined on a per-machine basis.
(defaults to 32.  on i386, it's 32 if pci conf mode == 1, 16 if 2.)
1996-03-14 02:37:28 +00:00
pk 485ccae478 Insert child_return() for the benefit of child return path from cpu_fork(). 1996-03-14 00:55:59 +00:00
pk 0b1cba4b0b Implement cpu_set_kpc() and use its machinery to by-pass a child out
of the kernel from cpu_fork().
1996-03-14 00:54:34 +00:00
pk d48d8e1512 Install machinery for cpu_set_kpc(). 1996-03-14 00:54:06 +00:00
pk 808df5543f Remove cpu_set_init_frame(). 1996-03-14 00:49:20 +00:00
pk 894fde6bdd Remove __FORK_BRAINDAMAGE. 1996-03-14 00:48:30 +00:00
pk dc3c7fb2ba Actually enter executables where promised... 1996-03-14 00:11:29 +00:00