Commit Graph

10814 Commits

Author SHA1 Message Date
jonathan
74def7cfa4 fix "#define #define CLKF_USERMODE" typo. 1996-03-31 04:16:46 +00:00
jonathan
5163f64c0f merge mips and pica locore.S, pass 0:
* cut-and-paste all the code for both r2000 (MIPS-I) and r4000 (MIPS-III)
      into both the pica and pmax locore.S.

    * Change the names of the small segments of vector code that are
      bcopied to the machine vector locations, to avoid clashing.
      Get rid of the Sprite MachXXX names for the vector code, and
      use use mips_r2000_xxx and mips_r4000_xxx instead.

      Update the names used in the vector-copying code and trap handlers
      to match.

    * Most of the rest of the pica locore.S was copied from the pmax
      locore.S, and then edited to work on an r4000.  The names of
      functions and of manifest constants stayed the same, although
      both assmbler code and constant values changed.
      cut-and-paste such code into contiguous blocks protected by
      #if / #endif.  Much of the cache and trap-handling code
      needs r3000-only register fields, on the r3000, and r4000-only
      insns and registers on the r4000.

   * change the pmax r2000 exception-handling code to extract a trap
     code with the user/kernel bit at 0x20 rather than 0x10.
     (r2000s have 4-bit execption codes, r4000s have 5-bit.)
     Use the a 16 from-user-space + 16-from-kernel space jump table,
     just like on the r4000 pica port.

   * add NOPs to the common code where required by the r4000 pipeline
     constraints.
   * add _C_LABEL() macros to the r4000 locore.

Comitted to provide a snapshot for others to test, and work on a cleaner merge.
1996-03-31 03:38:21 +00:00
perry
f825488c3c Added (commented out) line for joystick driver. 1996-03-30 23:57:09 +00:00
jtk
7ab53a4163 fix up ddb at boottime for pcvt--device not allocated yet, and not used by pcintr 1996-03-30 23:40:18 +00:00
christos
b8e757d588 - remove unused variable
- add missing argument to printf statement
1996-03-30 23:08:29 +00:00
christos
e1930da21b Remove dependencies to dev_conf.h and the file itself. 1996-03-30 23:05:46 +00:00
christos
1e2c047be7 - Don't use dev_conf.h
- Remove unnecessary prototypes
- Fix ioctl arguments
- Don't use kprintf(...TO_LOG...); directly. This does not set the log
  priority, and uses priority of the previous message. Use log() with %:
1996-03-30 22:51:23 +00:00
christos
c5cd2c8f26 Remove dependence on svr4_conf.h and the file itself. 1996-03-30 22:40:55 +00:00
christos
6c2fd36998 Fixed debug printf format args. 1996-03-30 22:37:52 +00:00
christos
f9c1d40866 Fix db_printf format specifications. 1996-03-30 22:30:03 +00:00
christos
73a848c28f - Fix db_printf format args.
- Recognize ':' as recursive printf; fixes PR/835
- cleanup error(1) output.
1996-03-30 22:28:45 +00:00
christos
8b63c1fbac Goodbye kern_conf.h 1996-03-30 22:26:30 +00:00
christos
e2d37158ba Change %r -> %: as for recursive printf's 1996-03-30 22:25:18 +00:00
christos
87a65718ea Eliminate kern_conf.h 1996-03-30 22:24:38 +00:00
christos
0babd67cbc Fix db_printf formats. 1996-03-30 22:23:18 +00:00
christos
7af5cc8190 Eliminate need for and remove net_conf.h 1996-03-30 21:57:30 +00:00
christos
09ed6483fd - Parenthesize &
- Change %r -> %: as for recursive printf's
1996-03-30 21:54:33 +00:00
christos
dd7163922a Fix db_printf formats 1996-03-30 21:53:19 +00:00
christos
cffa09ad5f - Remove multi-inclusion protection.
- Add cdev_decl and bdev_decl for all kernel mi devices.
1996-03-30 21:52:04 +00:00
christos
ff63e6c744 Change %r -> %: as for recursive printf's 1996-03-30 21:50:45 +00:00
christos
9fdd088514 Remove unneeded file.. 1996-03-30 21:49:17 +00:00
christos
94d26d3017 - Eliminate scsi_conf.h
- Fix prototypes
- Fix PR/2248 [Problems with HP scanjet...]
1996-03-30 21:47:00 +00:00
christos
beec8ba94c Eliminate scsi_conf.h. 1996-03-30 21:44:50 +00:00
christos
b646bc023a New md conf.h per Jason's plan. 1996-03-30 21:17:55 +00:00
christos
393ad3332b Don't need this anymore; it's data are moved to <machine/conf.h> and conf.c 1996-03-30 21:15:03 +00:00
christos
2d29d17da3 Deprecate use of *_conf.h and use only <machine/conf.h> and <sys/conf.h> 1996-03-30 21:13:53 +00:00
christos
c3a3efa9e6 Fix db_printf formats. 1996-03-30 21:13:02 +00:00
christos
32fe9b6a79 iUse <machine/conf.h> instead of sparc_conf.h 1996-03-30 21:12:16 +00:00
christos
e4397b82d7 Use machine/conf.h, instead of sparc_conf.h 1996-03-30 21:11:33 +00:00
christos
a1777d0168 Remove u_int casts from the printf %b formats. 1996-03-30 21:10:37 +00:00
christos
933d138841 Change %r -> %: as for recursive printf's 1996-03-30 21:01:21 +00:00
is
62dcb879c0 Typo squished. 1996-03-30 16:22:55 +00:00
mycroft
778f21db6a Use `{in.out}b(iobase + ...' rather than including the base address in
the register definitions.
1996-03-30 16:13:24 +00:00
mycroft
bd6e60f0d5 Add explicit return types. 1996-03-30 07:51:51 +00:00
mycroft
72f4fb5692 Fix return type of wds_sense(). 1996-03-30 07:40:11 +00:00
mycroft
fba10af524 Add explicit return types. 1996-03-30 07:30:33 +00:00
mycroft
e1ceb9a557 Add wds0 and wds1 to generic kernels. 1996-03-30 05:42:45 +00:00
mycroft
78681855e4 This version is deprecated. 1996-03-30 05:36:32 +00:00
cgd
5c2768088c make sure that chipset tags are used properly (because the alpha cares),
and include <machine/intr.h> on the alpha, for interrupt information.
(i386 will probably switch to this eventually.)
1996-03-30 05:10:29 +00:00
mycroft
59e1daefcd Working WD7000 and TMC-7000 driver, from Julian Highfield, with additional work by me.
Needs some refinement, but it works.
1996-03-29 20:53:30 +00:00
mrg
1180bee580 eliminate unused variables. 1996-03-29 14:50:12 +00:00
briggs
8326aadde5 via.h -> machine/viareg.h. 1996-03-29 02:27:42 +00:00
briggs
b39b4939fc Fix minor oversight in a sanity check--caught by Jason, I think, and reported
by Scott.
1996-03-29 02:12:41 +00:00
briggs
08126b5bec via.h -> machine/viareg.h. 1996-03-29 02:06:04 +00:00
briggs
fdcac3b557 via.h -> machine/viareg.h and some other prototyping fixes. 1996-03-29 02:00:38 +00:00
christos
174916004d Fix another printf format warning. 1996-03-29 01:55:12 +00:00
briggs
efa0c4d683 Make NTOH[SL] and HTON[SL] (void) (x) instead of (x) to get around
compiler warnings.  Followed the lead set in the sparc port.
1996-03-29 01:40:31 +00:00
mycroft
df45c0b542 Prototype some internal functions. 1996-03-29 01:15:04 +00:00
cgd
19b97477b9 make this version of ROUNDUP() consistent with the others in this directory.
(only makes a diff on the alpha.)
1996-03-29 00:32:10 +00:00
cgd
f92325cf2f kill unnecessary (and sometimes dangerous) casts of ioctl commands to int 1996-03-29 00:25:30 +00:00