Commit Graph

311 Commits

Author SHA1 Message Date
mycroft
7263209ce6 Make each disk and tape driver define its own read and write functions.
Deprecate rawread() and rawwrite() completely.  Remove d_strategy from cdevsw to
force the abstraction barrier.
1995-07-04 07:15:28 +00:00
cgd
c83f9c5568 remove unused cpu_exec() definitions. moved "broken swap" markers, for
ports that still need it, to types.h.
1995-06-28 02:55:18 +00:00
phil
ad4af073cd Updates from Matthias Pfaller. (leo@marco.de) 1995-06-26 23:13:54 +00:00
cgd
2d49c3885b clean up definitions of ctod(), dtoc(), ctob(), btoc(), btodb(), and
dbtob().  remove unused definitions of ctos(), stoc(), and dtob().
1995-06-26 06:55:38 +00:00
cgd
1c0be437b1 define __BDEVSW_DUMP_OLD_TYPE for ports where it's true. clean up
some m68k ports inclusion of common header.
1995-06-26 05:13:37 +00:00
christos
98df248f95 Makefile.arch: - Add -lcompat
- Change clean: target to be a double dep one,
			  so libraries can use the clean target too
			- Add genassym to the clean targets
1995-06-24 20:46:09 +00:00
jtc
55fbbc705d Wrap with #ifndef _XXX_FLOAT_H_/#define _XXX_FLOAT_H_/ ... /#endif. 1995-06-20 20:45:22 +00:00
jtc
1d65cdd4ab #include <sys/cdefs.h>.
Wrap __flt_rounds() declaration with __BEGIN_DECLS/__END_DECLS.
1995-06-20 20:32:22 +00:00
phil
2f62eae02d Checkpointing ... still has a couple of problems but it is better.
(include/{icu.h,psl.h} should be listed as part of this checkpoint.)
1995-06-18 07:18:02 +00:00
phil
8142065452 Updating to be like i386 version. 1995-06-18 07:13:46 +00:00
phil
9999c610fb Updated To.Do 1995-06-09 06:03:45 +00:00
phil
36c6fc31be Various updates for the new NCR scsi driver and tweeks to the interrupt
code. (From Matthias Pfaller)
1995-06-09 05:59:56 +00:00
phil
a8674363a7 Replacement of the NCR driver by the Leo Weppelman NCR driver as
ported by Matthias Pfaller (Thanks to both!) and a RCS id.
1995-06-09 04:36:14 +00:00
jtc
f90f8d10aa Removing -DKERNEL, transition to _KERNEL has been completed 1995-05-16 22:24:17 +00:00
phil
29db7c74b1 Changes from Matthias Pfaller: lpt driver changes, clock code similar
to i386, interrupts from static table to dynamic table, other small
fixes (locore.s byte operates -> double operands ...)
1995-05-16 07:30:30 +00:00
jtc
8aa6c376b6 KERNEL -> _KERNEL 1995-05-11 16:52:54 +00:00
phil
fae7c89fdd RCS id/header cleanup. 1995-05-08 19:37:45 +00:00
cgd
8703076975 define BROKEN_SWAP and/or cpu_swapout as appropriate. 1995-05-05 03:41:51 +00:00
cgd
c075955b09 kill historical cruft 1995-04-29 01:56:59 +00:00
jtc
ac3b1189c1 ns32k specific portions of ieeefp.h (fp_rnd, fp_except, constants, etc.). 1995-04-28 22:01:25 +00:00
jtc
7fea99983f Changed FLT_ROUNDS from constant to a call to __flt_rounds(), so that the
current rounding mode is accurately reported.
1995-04-28 21:58:57 +00:00
cgd
0e59975fac rename files files for new config/config.old naming 1995-04-28 08:19:12 +00:00
phil
b9c4f23337 needs-count => needs-flag 1995-04-27 07:26:08 +00:00
phil
042a0e2c63 remove warnings in pmap.c 1995-04-27 07:19:09 +00:00
phil
83e651c4c4 scntty & reorg using softc stuff. 1995-04-27 07:18:02 +00:00
phil
a186461a00 conf.c: ptstty ...
machdep.c: setregs parameter type change, remove warnings
process_machdep.c, pmap.c : remove warnings
1995-04-27 07:16:31 +00:00
christos
de42a28a1b - added sunos_machdep.c for sun3, atari, amiga and mac68k.
- changed machdep.c and trap.c to use struct emul.
- remove ep_setup references.
- added struct emul to all emulations.
1995-04-22 20:24:40 +00:00
phil
83d1965cc0 Remove the "#if 0" around vfs_unmountall(). 1995-04-21 20:20:15 +00:00
phil
c42a783b23 Add scncnpollc. 1995-04-21 18:36:32 +00:00
phil
6fbf1113f7 Fix a mycroft typo. 1995-04-20 07:16:30 +00:00
mycroft
4439f3b5f6 Remove deprecated prober/probew/kernacc/useracc. 1995-04-11 20:01:43 +00:00
mellon
df78dbb096 Reference cninit.c as well as cons.c 1995-04-11 09:52:11 +00:00
mycroft
e25c1817cf kernel_pmap --> pmap_kernel() 1995-04-10 13:08:28 +00:00
mycroft
22cefc03bc Bring back pmap_kernel(), for now always inlined as a pointer to
kernel_pmap_store.
1995-04-10 12:41:29 +00:00
mycroft
127e0761c9 Add mmopen(), mmclose(), and mmmmap() where appropriate. Lock vmmap when
needed.  Make types consistent.
1995-04-10 11:54:47 +00:00
mycroft
d751b03236 Minor consistency nits. 1995-04-10 10:01:40 +00:00
mycroft
7e450d5085 device.h is defunct. 1995-04-10 07:50:42 +00:00
mycroft
14241df959 Update for conf.h. 1995-04-10 07:43:49 +00:00
jtc
71ab4ed9dc KERNEL -> _KERNEL 1995-03-28 18:13:48 +00:00
cgd
fa2133533d invoke ktrsyscall with (vp, code, argsize, args) as args. 1995-03-26 08:03:29 +00:00
jtc
f86410093b Changed name of __weak_reference() to __indr_reference(). They really
are indirect references, and I want to add a real __weak_reference()
macro to <machine/cdefs.h> soon.
1995-03-23 19:58:48 +00:00
jtc
d57fb977bb Added -D_KERNEL to CFLAGS alongside each -DKERNEL. 1995-03-23 19:46:18 +00:00
cgd
b8403d582b don't be so quick to cast macro arguments to unsigned; if the
arguments are really off_t's (e.g. to btodb), then you can lose
information.  This was the "> 4G file systems don't work" bug; physio
uses btodb, which was broken.
1995-03-18 07:22:43 +00:00
mycroft
2f805fa51b copy*str() should use size_t. 1995-03-09 12:05:21 +00:00
mycroft
4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
phil
3a293934a9 Increase the VM limits and initial sizes limits. 1995-02-14 18:52:29 +00:00
phil
ef1389111f Do what it takes to make vnd a swap device :) 1995-02-12 03:53:45 +00:00
phil
5b95a4a41e Fix from Matthias for device closing. 1995-02-08 17:45:09 +00:00
phil
255317cd59 Update it! 1995-02-03 18:34:11 +00:00
jtc
830a53e394 ANSI says that <stdarg.h>'s va_end macro must expand to a void expression.
For consistancy, I'm changing <varargs.h> too.
1995-01-28 01:51:46 +00:00
cgd
b56a5f27d4 add 'maxpartitions' keyword as first 'intesting' thing in the file, to
facilitate the solution of config.new's hardcoded partition number
problems.
1995-01-25 20:45:33 +00:00
cgd
4cc138dd7a vn -> vnd renaming, for consistency 1995-01-25 05:34:51 +00:00
cgd
2ef4ca1f3d vn -> vnd renaming, for consistency 1995-01-25 04:48:07 +00:00
phil
0c91149a15 Do a shorter cache invalidate. (from Matthias) 1995-01-22 07:06:48 +00:00
mycroft
381715c52f Clean up deleted files. 1995-01-19 07:03:40 +00:00
phil
8579e47846 move nncr.c -> ncr.c, nscn.c -> scn.c 1995-01-19 07:03:35 +00:00
phil
770fe02aad change file names in clean for config.new. (nncr.c -> ncr.c, nscn.c -> scn.c) 1995-01-19 07:02:31 +00:00
jtc
9540190d45 This file, which will be included by <sys/cdefs.h>, will contain macros
such as __warn_references() and __weak_reference() which are actually
machine dependant.  This will make it easier for ports that are being
bootstraped with ELF and ECOFF based toolchains.

This change also introduces a new macro, _C_LABEL(x).  _C_LABEL expands
its argument, an identifier, to a character string of the identifier
name as it is represented in an object file.

For most ports, _C_LABEL(x) will expand to "_x", for ELF based ports
_C_LABEL(x) will expand to "x".
1995-01-19 01:38:36 +00:00
phil
3b18e56333 Add the fast console ram disk config. 1995-01-18 22:18:00 +00:00
mycroft
16489b2c3a Clean up deleted files. 1995-01-18 08:17:23 +00:00
phil
9ac887e591 Move to config.new (get ram disk working correctly), add lpt driver. 1995-01-18 08:14:29 +00:00
phil
dcb56cc3c5 Move to config.new, add lpt driver. 1995-01-18 08:13:29 +00:00
jtc
d7a8b2964f Only define sig_atomic_t when _ANSI_SOURCE is defined. 1995-01-10 19:01:00 +00:00
phil
053d0c603b add xs->resid = 0; to ncr5380_scsi_cmd(). 1995-01-09 08:18:43 +00:00
phil
4372c10cea Fix the inittodr bug. 1995-01-02 04:20:58 +00:00
phil
191f87cc1e the lpt driver by Matthias Pfaller. 1994-12-30 07:31:27 +00:00
phil
f082f22fee type on microtime and remove printf in dk_establish. 1994-12-30 05:09:00 +00:00
phil
7fd629ada2 First try at catching up with generic scsi code. 1994-12-30 01:40:01 +00:00
phil
0ad6b56de9 Fix it to work correctly with weird structures. 1994-12-29 19:43:52 +00:00
phil
befb0a21f3 add tun device. 1994-12-22 08:33:41 +00:00
phil
87efeb2886 cache flushing changes, core dump changes 1994-12-22 03:24:07 +00:00
phil
83c5692e19 Move to config.new, genassym static 1994-12-22 03:23:20 +00:00
cgd
e5049f4d59 make the definition of _JBLEN mach. dep. header-dependent. 1994-12-20 10:36:27 +00:00
phil
2fc0cde6e2 get "make depend" working. 1994-12-16 18:00:36 +00:00
mycroft
d42a8b725e Remove extra arg to d_open. 1994-12-14 19:10:08 +00:00
phil
cef7e3d0dc Changes from Matthias P. 1994-12-09 21:04:40 +00:00
phil
008d895ed1 config.new changes and sendsig change. 1994-12-05 19:27:38 +00:00
phil
51aa2cad2b USPACE change. 1994-12-05 19:27:20 +00:00
phil
dedd59e3c2 Twiddles to ge config.new working. 1994-12-05 19:26:56 +00:00
phil
0503a7c8a8 Fixed a bug in resettodr that set the month to 13 in the hardware clock! 1994-12-05 19:14:27 +00:00
christos
40abc70ce2 changed open prototype 1994-11-14 05:55:23 +00:00
cgd
dafacba9d5 new RCS ID format. 1994-10-26 08:23:50 +00:00
phil
97ad3ec4b8 fixes from Matthias. splimp and other stuff. 1994-10-21 07:03:57 +00:00
cgd
d4bf824ec2 update for new syscall args description mechanism 1994-10-20 05:17:21 +00:00
phil
20cb927177 add timezone support to inittodr (thanks to Phil Budne)
add a working resettodr (ditto)
rcs header
1994-10-19 17:15:16 +00:00
jtc
8c34217adb The ns32k uses IEEE, not vax, floating point arithmetic.
Adjusted constants appropriately.
1994-10-18 00:25:27 +00:00
cgd
f501e4e128 make <stdarg.h> a symlink, and clean up ports' stdarg.h and varargs.h files. 1994-10-15 04:57:29 +00:00
cgd
49c34d3337 move arch dependence to archs. clean up a bit. deal with weird MAXPARTITONS. 1994-10-14 18:26:22 +00:00
phil
a412f1e2db Get it to compile again. (agree with sys/ptrace.h) 1994-10-06 06:07:28 +00:00
jtc
badcc17a6d Add constants required by XPG3 1994-10-05 17:16:29 +00:00
phil
e4cfedf094 *SIGH* use the netinet version of in_cksum.c. Now tcp works on the pc532. 1994-09-25 04:23:17 +00:00
jtc
47b84c16db asm -> __asm (PR #463). 1994-09-10 01:19:45 +00:00
cgd
cefdccbf31 changes for the new sys_process.c, and some cleanup 1994-08-15 16:37:04 +00:00
phil
76987b5103 Clarify author and state of source. 1994-08-08 18:42:53 +00:00
phil
c343ac2001 It is about time to add this. 1994-08-08 04:51:03 +00:00
mycroft
558c00c001 Fix spelling of `STEREO'. 1994-08-05 22:56:19 +00:00
phil
000c57f728 fixed cdev vn config. *sigh* 1994-08-02 23:39:59 +00:00
phil
11bf31e8d7 add vn 1994-08-01 23:44:08 +00:00
phil
f9b2f20e7d proc_machdep.c => process_machdep.c 1994-08-01 22:58:42 +00:00
mycroft
f21e020e59 Clean up deleted files. 1994-08-01 22:57:01 +00:00
phil
787f57c486 name change. 1994-08-01 22:56:59 +00:00
phil
3ef27456a5 patches from Matthias Pfaller. 1994-08-01 19:32:52 +00:00
phil
9ef2196623 missed a f. 1994-07-31 15:50:52 +00:00
phil
1b0b6abb28 add target install to Makefile 1994-07-24 20:29:45 +00:00
phil
022d9d6300 Fix my sync() error in boot(). 1994-07-20 20:50:39 +00:00
cgd
3fbc338a62 define __BIT_TYPES_DEFINED__ for compatibility with things like BIND and nvi 1994-07-20 05:44:19 +00:00
phil
eaaed0e51e removed a "debugging" printf in pagemove. 1994-07-13 15:09:15 +00:00
phil
741394dc40 Fixing the dumb swapdev bug. 1994-07-13 07:08:18 +00:00
phil
6d82a5754b I missed this change a while ago. 1994-07-10 17:21:56 +00:00
phil
bfeb27c384 state save for config.new stuff 1994-07-01 04:25:48 +00:00
phil
9ccf79aae9 param.h: make #include conditional on KERNEL
vmparam.h: remove MINFREE ...
1994-07-01 04:25:20 +00:00
phil
ec163683a8 State save on work to get config.new working. It is close. 1994-07-01 04:23:57 +00:00
phil
8c1fd46d99 <scsi/xxx.h> => "../../scsi/xxx.h" for use with old conf and "pc532 special
scsi."  As soon as config.new is working on the pc532, pc532/scsi should
disappear.
1994-06-30 01:12:44 +00:00
deraadt
50b13742e4 _MACHINE_VARGS_H_ 1994-06-29 00:45:01 +00:00
phil
55485b69fe Checkpoint: closer to having config.new working with the pc532 1994-06-26 15:00:39 +00:00
phil
e64c23ff7e Checkpoint: closer to having config.new working with the pc532
These files should go away some day, but for now, to allow both
config and config.new to work at the same time ...
1994-06-26 15:00:06 +00:00
phil
2f40172e20 Checkpoint: closer to having config.new working with the pc532 1994-06-26 14:58:53 +00:00
phil
c0c42e4703 Makefile: fs changes
others: Start move to config.new
1994-06-17 07:09:39 +00:00
mycroft
90c519034d Clean up deleted files. 1994-06-05 06:37:50 +00:00
phil
c6d9e1ae96 Blow away last bits of icode. 1994-06-05 06:37:34 +00:00
phil
1c6336eec1 conf.c: new style
others: new init && clean up
1994-05-31 21:54:31 +00:00
phil
dc474fc5fe new init 1994-05-31 21:53:31 +00:00
phil
3e6203f54d boot from ufs program from Phil Bunde. 1994-05-30 19:58:42 +00:00
phil
237b9f1381 We need one. 1994-05-26 23:48:00 +00:00
phil
80678da8e7 4.4 integration (VM and others) and cleanup. 1994-05-25 00:03:06 +00:00
phil
9a848c126d 4.4 integration 1994-05-25 00:02:24 +00:00
phil
0c2481bc69 Kill maxfdecs. 1994-05-25 00:00:48 +00:00
phil
42fb05a042 Various ... reg.h changes, bug fixes, cpu_switch, ... 1994-05-20 06:44:26 +00:00
phil
a69b1b6104 Change defines so they won't conflict with other things. 1994-05-20 06:43:46 +00:00
phil
7b9d057505 Yet another one. 1994-05-20 06:43:12 +00:00
mycroft
08ac489a9e Clean up deleted files. 1994-05-17 17:31:43 +00:00
phil
54b24193e2 The "kitchen sink" update ... proc.h, signals, profile, setrq=>setrunqueue ... 1994-05-17 17:31:03 +00:00
phil
7d7d0eedfe moved pc532/pc532/icu.h to pc532/include. 1994-05-17 17:29:34 +00:00
phil
b4d3cf9bc2 Removing minix hack. 1994-05-17 17:28:36 +00:00
cgd
dd37e7f51f copyright foo 1994-05-17 02:17:17 +00:00
cgd
9b78e48fcf (almost) upgrade to latest versions, for phil 1994-05-17 02:12:16 +00:00
phil
4e523f8ddb clock.c/mem.c: real time clock detection fix/config change
pmap.c: zap mmap
1994-05-03 07:30:30 +00:00
phil
cbe2aab3b2 changes for shared libs and fast ntoh*/hton* routines. 1994-05-03 07:29:37 +00:00
mycroft
650e19b16d Clean up deleted files. 1994-05-03 07:27:06 +00:00
phil
4cf1fbc402 configuration name changes, cleanup on the Makefile 1994-05-03 07:26:59 +00:00
phil
128ceab54f Sigh .. forgot to kill one .globl 1994-04-26 20:47:46 +00:00
phil
fe9c815e20 using the "autoboot rom", the pc532 will now actually reboot ... locore.s can
now stop mapping and rerun the monitor as if the machine just had power
applied.
1994-04-26 20:46:40 +00:00
phil
6275189adf locore.s: attempts to get back to the pc532 rom monitor
machdep.c: debug cleanup and queues change
1994-04-25 18:13:41 +00:00
phil
8c0d7c128f Squash! Got that bug!
scn.c -- removing debugging on line 1
scnreg.h -- don't turn off the other line's interrupts!!
1994-04-21 22:31:32 +00:00
phil
ac0d47bf4e Forgot the copyright. 1994-04-19 17:18:31 +00:00
phil
da19ea4f05 changes for shared libs, new vm code, and debugging stuff for the
machdep.c routine that runs unmapped at the start of boot.  (The debugging
stuff should go away, but this is the 2nd time I had to write umprintf.c, so
I want it saved.)
1994-04-19 17:14:13 +00:00
phil
b7685a8087 changes for shared libs ... now saving sb register (as I should have all along) 1994-04-19 17:11:16 +00:00
phil
6c6a8ee7de minor clean up. 1994-04-19 17:10:34 +00:00
phil
a27d75afd8 patch to get sverre's disk working (Old scsi code) 1994-04-17 07:53:54 +00:00
phil
e983a66a6c New format for shared libs. 1994-04-17 07:53:25 +00:00