416 Commits

Author SHA1 Message Date
jtc
c41b22b4f6 Removed CLK_TCK, it's value is not machine dependant.
It's supposed to be defined in <time.h>, not <limits.h> anyway.
1993-08-18 00:22:44 +00:00
jtc
35fdf4ad74 Declare ntohl, ntohs, htonl, and htons functions.
Use GCC's inline assembly iff we are using GCC.
Use bswap instruction if using gcc and defined(KERNEL) &&
	((defined(I486_CPU) || defined(I586_CPU)) && !defined(I386_CPU))
1993-08-16 18:30:35 +00:00
deraadt
af6c95dd23 sigh.. 1993-08-14 07:31:28 +00:00
deraadt
3604916e13 ppp from paul mackerras 1993-08-14 06:29:28 +00:00
mycroft
38239524ee Absolutely unimportant change to RCS identifier stuff. 1993-08-14 01:29:36 +00:00
deraadt
4ed4b0d387 delete a reference to the old 'as' device driver. 1993-08-10 08:42:25 +00:00
deraadt
342e987d36 Theo runs ppp 1993-08-10 04:01:03 +00:00
cgd
e5ea45d312 there are some devices out there which use... NO I/O PORTS! 1993-08-08 09:54:23 +00:00
cgd
cd56dd1638 merge in changes from netbsd-0-9-ALPHA2 1993-08-07 07:53:27 +00:00
mycroft
d7080696e9 Put RCS ids back... 1993-08-04 00:42:51 +00:00
mycroft
63c0a317bb Add ALIGNBYTES for new fts(). 1993-08-03 21:51:10 +00:00
brezak
f21b797b62 Bring to rtc clock code from Mach. Provides resettodr(). 1993-08-03 12:33:17 +00:00
mycroft
4e1ade1731 Further cleanup. Remove IDXSHIFT in favor of using PGSHIFT and an indexed
load.  (Same code size but faster.)
1993-08-03 07:03:01 +00:00
mycroft
a2a26e452b Make coding style a little more consistent and cleanup some constants. 1993-08-03 06:34:35 +00:00
mycroft
27ba85335c Emit KERNBASE. 1993-08-03 06:33:55 +00:00
mycroft
03302d8a3a Fix bogus use of splx() in is_reset(). 1993-08-03 05:06:49 +00:00
mycroft
c12fc78e87 Nuke RCS log. 1993-08-03 05:06:26 +00:00
glass
015cae18dd more /* in comment warning fixes. in this case it looks like something
was cut and pasted badly :)
1993-08-03 01:53:36 +00:00
glass
4a385c1228 with -Wall would bomb, on incomplete type 'selinfo'. bpfilter.h include
moved down, and select.h included.
1993-08-03 01:52:57 +00:00
mycroft
65456d9ca0 Add a panic() after the swtch() is cpu_exit() just in case, and to shut up
GCC.
1993-08-02 23:20:55 +00:00
mycroft
da7f7e95b4 Put in a gratuitous cast to shut up GCC 2. 1993-08-02 23:19:18 +00:00
mycroft
52efca41cd Nuke remaining patchkit headers. 1993-08-02 18:17:24 +00:00
mycroft
aee4b07b8a Add RCS identifiers, remove some completely useless RCS logs and patchkit
headers, and a few other insignificant changes.
1993-08-02 17:48:44 +00:00
mycroft
4862b84c92 Add RCS identifiers (this time on the correct side of the branch), and
incorporate recent changes in netbsd-0-9 branch.
1993-08-01 19:22:24 +00:00
mycroft
804be109a6 Feep. 1993-08-01 00:32:27 +00:00
mycroft
690cae8181 Add RCS indentifiers. 1993-07-31 15:17:49 +00:00
jtc
3643c134f1 Change "#endif FOO" to "#endif /* FOO */", to keep gcc -Wall, lint, etc.
from complaining about a trivial issue.
1993-07-29 21:42:19 +00:00
cgd
7b2afa7fe6 incorporate changes from 0-9-base to 0-9-ALPHA 1993-07-28 02:20:34 +00:00
brezak
b74ddcc84b Allow one to fault in DDB and survive. 1993-07-22 13:04:45 +00:00
brezak
556176fc24 Call ddb_init instead of kdb_init. 1993-07-22 13:04:21 +00:00
paul
2103705fc5 Added arpcom counters ipackets, opackets etc. 1993-07-21 04:25:07 +00:00
cgd
8141ce5d83 kill damned RCS Log 1993-07-19 16:58:20 +00:00
mycroft
b9b6bd3397 Add ${DEBUG} to CFLAGS and -f to dbsym. 1993-07-19 16:52:16 +00:00
cgd
886f6afa56 Reading file marks or writing end of tape return 0 bytes, AND THEY
DON'T SET THE ERROR BIT ON THE BUFFER UNLESS THE AUTHOR OF PHYSIO
IS STUPID!
1993-07-19 16:44:38 +00:00
cgd
9bd082f70e replace jolitz's vfs__bio with a better one from CMU via mw.
so, replace vfs__bio, and deal with attendant changes.
1993-07-19 16:38:35 +00:00
mycroft
570ad76179 Change open and close routines for swapdev back to enodev. What a kluge. 1993-07-19 10:57:30 +00:00
mycroft
fd13ccf3cc Fix open and close entries for swap in bdevsw. 1993-07-19 10:35:12 +00:00
cgd
e916333aea disable all AUTO_EOI's, at bde's suggestion--
they don't gain much, and on old chips it doesn't work properly
1993-07-19 08:27:06 +00:00
mycroft
e6c1d2670f Phooey. Need a better mechanism for dealing with multiple sets of local
changes.
1993-07-18 21:26:34 +00:00
cgd
1318be7191 CC should be cc. cc is gcc2... 1993-07-18 16:44:16 +00:00
mycroft
d2e484320a Add DUMMY_NOPS. 1993-07-18 15:11:31 +00:00
deraadt
a700cbd173 my bucket of mud has changed a bit.. 1993-07-18 13:29:27 +00:00
cgd
8fa2ba491b rework the way effectual NOPs are enabled/disabled to make they delay
things in the default case.
1993-07-18 13:08:41 +00:00
mycroft
2565e5e15a Change to work with new config stuff for specifying load address. 1993-07-18 10:08:22 +00:00
cgd
7b721ac9fa set mountroot to ufs_mountroot. swapgeneric is currently broken for other
reasons (the interface to SCSI disks isn't a clean match, and i'm
not entirely sure what a good way to do it is...)
1993-07-18 09:51:26 +00:00
mycroft
46570ee334 Oops. Back out a change that shouldn't be committed... 1993-07-18 09:48:49 +00:00
mycroft
28df966f59 Use new -T option to dbsym. 1993-07-18 09:47:40 +00:00
mycroft
003ff4e190 Add a `XXX'... 1993-07-18 08:43:19 +00:00
andrew
297f54dd01 * copyin/out(), copyin/outstr(), s/fubyte() et al protection fixes,
including COW support, using code based on that from Wolfgang Solfrank and
Christoph Robitschko.

* user segment descriptors fixed to disallow access to user area.

* bde's boot >= 1MB fixes.
1993-07-18 08:22:59 +00:00
mycroft
c558337807 Add some kitchen sinks. 1993-07-17 16:54:16 +00:00