Commit Graph

20344 Commits

Author SHA1 Message Date
jonathan 33fcef8a24 more cleanups for -Wall:
Fix the the  definitions of dtop cdevsw entry point functions to match
    their  declarations. Add explicit "int" declarations to functions.
    Add prototyped declarations for all local functions.
    Return zero from dtopstop().
    Include the external declarations from dtopvar.h.
1996-05-19 01:12:40 +00:00
jonathan fe392301cd more cleanups for -Wall:
Fix the the  definitions of cdevsw entry point functions to match their
    declarations. Add explicit "int" declarations, and fix the type
    of rconsmmap().
1996-05-19 01:06:14 +00:00
jonathan fe111dde22 more cleanups for -Wall:
Fix lk201 driver to include lk201var.h.
1996-05-19 01:03:00 +00:00
jonathan 9bdcc60e97 more cleanups for -Wall:
Fix generic framebuffer (X-server interface)  cdevsw entry points to match
    declarations.
1996-05-19 01:01:10 +00:00
jonathan 50dd608c3b more cleanups for -Wall:
Fix dc driver cdevsw entry points to match declarations.
    Change MachEmptyWriteBuffer() to wbflush().
1996-05-19 00:58:03 +00:00
jonathan 153ec93cf9 Create device-driver external declarations for the following pmax drivers:
lk201 in-kernel keyboard decoder (lk201var.h)
1996-05-19 00:53:43 +00:00
jonathan cce901c20c Create device-driver external declarations for the following pmax drivers:
qvss/pm-compatible  framebuffer ioctl()s (qvssvar.h)
	MAXINE desktop bus driver (dtopvar.h)
	3100/2100 pm framebuffer low-level driver ( pmvar.h)
	MAXINE baseboard framebuffer (xcfbvar.h)

which should compile with -Wall.
1996-05-19 00:48:43 +00:00
pk d292da40b2 Remove obsolete HWTOSW/SWTOHW macros.
VA2PA: flush TLB before proceeding with L2 probe (per the manual) [4m].
More KNF.
1996-05-19 00:32:15 +00:00
jonathan 0064a12f68 Create mips_machdep.c, which contains Mips-specific functions common
to all mips ports.

So far, this consists of code to initialize a vector, or jump-table, of
pointers to locore functions that require different definitions on different
Mips CPUs (eg., r2000/3000 and r4000); a generic wrapper for setting up
CPU-specific exception vectors; and CPU and FPU identification code.
1996-05-19 00:31:57 +00:00
pk 98a9570a8e Make sure DELAY(0) returns within an hour.. 1996-05-19 00:25:16 +00:00
jonathan 503d421a0a Add alternate "mips_r2000_<XXX>" entry points for the r2000/r3000-specific
locore functions.  The new names are used by C code to construct a jump-table,.
making it less infeasible to have a single kernel image work on both
r3000 and r4000 systems.
1996-05-19 00:25:14 +00:00
thorpej f969979dea Back most (not all) of the previous delay-related changes now that
delay is calibrated properly.
1996-05-18 23:56:59 +00:00
thorpej 62f7f3ad57 Implement a real delay calibration routine, adapted from Chuck Cranor's
mvme68k delay calibration algorithm.
1996-05-18 23:30:09 +00:00
christos a7136623a9 Added prototypes for inline functions atoi() and strchr(). 1996-05-18 22:58:01 +00:00
veego d5db0e464d Put this into an #ifdef COMPAT_OLDTTY.
look in <sys/tty.h> for more infomations about that.
1996-05-18 22:17:49 +00:00
jtc 159bafea3c Split yp_first, yp_next, yp_maplist and yperr_prot out of yplib.c. 1996-05-18 19:06:39 +00:00
jtc 2039c263f3 Split yp_first, yp_next, yp_maplist and yperr_prot out of yplib.c.
Use a constant struct timeval for yp timeouts instead of creating
a new struct timeval in each yp function at runtime.
Check arguments and return YPERR_BADARGS if invalid.
1996-05-18 19:03:45 +00:00
jtc 0724069f60 Use a constant struct timeval for yp timeouts instead of creating
a new struct timeval in each yp function at runtime.
Check arguments and return YPERR_BADARGS if invalid.
1996-05-18 19:01:19 +00:00
briggs 2635a9c602 Serial driver with interface to a slightly modified version of the machine-
independent z8530 driver.  When that driver is updated, the local copy
of those files may be removed.  From Bill Studenmund.
Compiler warnings fixed by me.
1996-05-18 18:53:50 +00:00
briggs 78c78f916e Fixup a few prototypes and put 'em in their place. 1996-05-18 18:52:41 +00:00
jtc 76bf46a33e Split yp_first, yp_next, yp_maplist and yperr_prot out of yplib.c.
Use a constant struct timeval for yp timeouts instead of creating
a new struct timeval in each yp function at runtime.
1996-05-18 18:43:24 +00:00
christos dbd08073ba - remove cpu_exec_aout_prep_oldzmagic and add exec_aout_prep_old{z,n,o}magic 1996-05-18 17:20:54 +00:00
jtk 71b374789d Adjust the base for time estimates to ignore time we spent waiting
for operator input.
enhancements from PR #900
1996-05-18 16:16:17 +00:00
christos 4f3ac596f5 - rename cpu_exec_aout_prep_oldzmagic to exec_aout_prep_oldzmagic 1996-05-18 16:02:08 +00:00
christos 8c29c79939 - remove cpu_exec_prep_oldzmagic and use exec_aout_prep_oldzmagic 1996-05-18 16:01:00 +00:00
christos 52d3532adb - remove cpu_exec_aout_prep_oldzmagic and use exec_aout_prep_oldzmagic 1996-05-18 15:58:07 +00:00
christos 15ac7da805 - remove cpu_exec_aout_prep_oldzmagic and use exec_aout_prep_oldzmagic
- add exec_aout_prep_oldnmagic and exec_aout_prep_oldomagic. Now we support
  all BSDI executable formats.
1996-05-18 15:54:59 +00:00
christos f09036d6ec - Moving cpu_exec_aout_prep_oldzmagic -> exec_aout_prep_oldzmagic.
This is used by the i386, hp300 and mac68k ports.
- Added exec_aout_prep_oldomagic, and exec_aout_prep_oldnmagic
  These are just copies of the respective prep functions from
  kern_exec.c with text address starting at 0. Maybe a better fix
  is to pass the starting address as a third argument so we don't
  duplicate code, but this could be the next pass since the functions
  are used in many places. These functions are used for BSDI binaries.
1996-05-18 15:52:19 +00:00
mrg 9ce523cca7 disable the prom `sync' command before calling romboot() or
romhalt() (idea from OpenBSD).
1996-05-18 12:36:49 +00:00
mrg 4cba75e24a put promdev definition into <machine/bsd_openprom.h>.
also, minor KNF.
1996-05-18 12:35:18 +00:00
mrg b6988904e0 put promdev definition into <machine/bsd_openprom.h>. 1996-05-18 12:27:40 +00:00
mrg d7bc39fad1 don't set tmp twice. 1996-05-18 12:22:49 +00:00
mrg 68b2ff1bdb use __P 1996-05-18 12:19:14 +00:00
ragge 23435c0d84 Fix warning. 1996-05-18 10:29:07 +00:00
oki 91584e9199 x68k distribution floppy for upgrade protocol. 1996-05-18 01:51:44 +00:00
oki c6376213e3 vnd0a --> vnd0c 1996-05-18 01:42:22 +00:00
thorpej a8c7148dd2 XXX set up alldevs and allevents so that vmstat -i will work. 1996-05-18 01:39:57 +00:00
christos 268e6edf33 Support bsdi getkerninfo(SYSINFO,...) call so that the BSDI netscape
calling uname(3) can find out what os it is running on. Tested only with a
bsdi binary that calls getkerninfo directly. Funny thing is that I ran
the same binary on a bsdi machine, and they fill in fewer fields in the
emulation than we do; maybe I went overboard :-)
1996-05-18 01:24:34 +00:00
thorpej 63f4ec3e41 Put the vector table back in the text segment; putting it in the data
segment breaks doboot() on my 319 (but worked on my 380...bleh!)
1996-05-18 00:52:53 +00:00
cgd 4145f89f54 TurboChannel bus_mem_* functions. bus_mem_{read,write}_8, and
bus_mem_read_{1,2} are not yet supported for sparse space.
1996-05-18 00:00:51 +00:00
cgd 0307c36933 bus_io_* functions. These have no meaning on the TurboChannel, since
it's a memory-mapped bus and has no I/O space.  They all are
fancy wrappers around panic().
1996-05-17 23:59:31 +00:00
cgd 84b37ec80d set up a bus_chpiset_tag_t, and pass it to the TC code 1996-05-17 23:58:43 +00:00
cgd e49dcae424 add files for the implementation of the TC 'bus' mem & I/O functions 1996-05-17 23:44:02 +00:00
cgd a78f16f702 moved to ../tc 1996-05-17 23:41:36 +00:00
cgd 2872eeccac (on the alpha) pass the bus_chipset_tag_t given to the bus down to the
devices.
1996-05-17 23:39:19 +00:00
cgd af446a907a Update for new includes (<machine/bus.h> & <machine/intr.h>) on the
alpha.  At some point in the future, those headers should be provided
on the pmax, but until then, things are #ifdef'd so that the old
headers and definitions are still used.  Pass a bus_chipset_tag_t
to the TC bus attach code and to devices, on the alpha.
1996-05-17 23:38:16 +00:00
pk da5c96baa1 Correct an oversight and a silly past-o in last change. 1996-05-17 22:54:40 +00:00
gwr 9c5d297b0f New version that handles hardware flow-control (CRTSCTS) at the input
to the ring (or silo).  This eliminates ring overrun with crtscts.
Also handle deferred register changes earlier, and misc. cleanup.
Give credit to: Bill Studenmund and Ian Dall (Thanks!)
1996-05-17 22:49:23 +00:00
pk bcc0cb3fa0 Don't touch retval[] in socketpair(); manual page says this system call
return 0 on success (PR#2428).
1996-05-17 22:45:32 +00:00
mark e9396f78a2 Make gcc and ld for the arm32 port. 1996-05-17 22:39:52 +00:00