Commit Graph

879 Commits

Author SHA1 Message Date
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
mycroft
bbc8c11fd5 Nuke an extra `||' Chris inserted. 1993-08-03 02:45:20 +00:00
mycroft
a0aed26669 Remove a spurious `#' added two revisions ago. 1993-08-03 01:56:52 +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
glass
76f78fcf75 more "warning: `/*' within comment" fixes 1993-08-03 01:51:16 +00:00
glass
68ffbb2599 getting rid of some "warning: `/*' within comment" problems 1993-08-03 01:50:21 +00:00
cgd
d6b4910ac2 fix from Garrett Wollman <wollman@emba.uvm.edu> to return EPROTONOTSUPP
if user tries to get a socket for a protocol with no usrreq function
1993-08-03 01:36:10 +00:00
mycroft
5cc9898c12 Cosmetic change to VOP_ADVLOCK() fix. 1993-08-03 00:11:29 +00:00
mycroft
f9ce597695 Collapse a bunch of `if (a & x) b |= x; else b &= ~x;' statements.
Whoever wrote this fugly code must've been on drugs.
1993-08-02 23:37:56 +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
7952160c4c Make return type of pcfs_print be void. 1993-08-02 23:15:12 +00:00
mycroft
781aeda1e7 Make return type of nfs_print be a void, not an int. 1993-08-02 23:12:31 +00:00
mycroft
6518b0ac4a Make bpos arg to nfsm_reqh a caddr_t*, not a caddr_t**, as that's what it
is actually passed.
1993-08-02 23:11:14 +00:00
mycroft
6821c04ecc Make isofs_print have a return type of void. 1993-08-02 23:04:36 +00:00
mycroft
daa27b3c30 Make fdesc_print have a return type of void. 1993-08-02 23:01:49 +00:00
mycroft
b4d9151681 Make kernfs_print have a return type of void. 1993-08-02 23:00:57 +00:00
mycroft
3837ce5a19 Make isofs_print have a return type of void. 1993-08-02 23:00:04 +00:00
mycroft
ee8bf17c71 Add RCS identifiers. 1993-08-02 18:25:48 +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
2bdbcf903e Clean up deleted files. 1993-08-02 16:07:21 +00:00
glass
f46a554b76 toasted a whole load more undefined symbols 1993-08-02 10:22:35 +00:00
glass
2ba88bc252 cleanup, one time compile with -Wall, include systm.h
conversion to new asm.h, removal of ALTENTRY(), ENTRY() pairs replaced by
TWOENTRY().
moved idprom fetching stuff to sun3_startup
bug fixes to pmap
added to sun3_startup.c support for initializing the vm layout, and for
verifying the hardware vs the -Ds from config(8)
still doesn't link. but list is much shorter, and much stupider
1993-08-02 02:08:25 +00:00
glass
58e4b64f4d stupid cleanup; fixes to mon.h; rewrote asm.h based on old asm.h
and the i386 one from jolitz
cleaned up ending of virtaul addr space.
1993-08-02 02:04:30 +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
glass
3f3c6b44f5 snapshot. working on vm bootstrapping problems, and resolution of undefined
symbols.
1993-07-30 17:05:57 +00:00
glass
42255b6429 whatever was necessary to make the rest of it work. 1993-07-30 17:02:44 +00:00
glass
a669406b6f add todo list for dev directory 1993-07-30 17:01:46 +00:00
glass
23ee68e447 bogus placeholder obio addr 1993-07-30 16:59:24 +00:00
glass
48ffb148d4 make idprom compile, and a bogus OBIO addr 1993-07-30 16:58:51 +00:00
glass
babf5ee73f added more files. marked idprom as a device-driver 1993-07-30 16:57:31 +00:00
glass
87f867eb9f Fri Jul 30 16:52:00 PDT 1993:
snapshot.  things compile but don't link.  pmap stuff compiles but
just starting work on interfacing it to the vm system.  current projects
appear to be both physical memory and virtual memory maps.
1993-07-30 16:54:39 +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
mycroft
4ff2032a1d Clean up deleted files. 1993-07-29 12:40:19 +00:00
cgd
2680a043c7 general cleanup (get close to KNF), and remove a few fuzzies
in preparation for The Grand Re-rewriting.
1993-07-28 04:08:27 +00:00
cgd
7b2afa7fe6 incorporate changes from 0-9-base to 0-9-ALPHA 1993-07-28 02:20:34 +00:00
pk
36a6e635b3 Committing in src/sys/vm
Modified Files:
	vm_object.c

call vm_object_remove() to remove an object from the hashtable when
vm_object_collapse() starts fiddling with pagers.
1993-07-28 00:00:01 +00:00
glass
d3b416231f new pmap module 1993-07-27 12:04:41 +00:00
ws
96ec00e106 Use all of freebufspace 1993-07-24 22:09:50 +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
brezak
9d7e246a03 Cleanup pretty printers for maps and objects. 1993-07-22 13:03:36 +00:00
brezak
cf65527c36 Allow adding more than one symbol table at runtime. For LKM. 1993-07-22 13:03:00 +00:00
brezak
18e5b218df Remove read from file. Merge changes from mach DDB. 1993-07-22 13:02:15 +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
c4f534e298 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:39:23 +00:00
mycroft
6a12d4b9b2 Clean up deleted files. 1993-07-19 16:39:09 +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
cgd
fd98432185 from Bruce Evans <bde@kralizec.zeta.org.au>:
pcfs was freeing an unitialized pointer.
1993-07-19 16:33:05 +00:00
cgd
b26f7e1d0f kernvers="NetBSD 0.9" 1993-07-19 16:02:09 +00:00
cgd
e898be06da add isofs/isofs_rrip.c if using "options ISOFS" 1993-07-19 15:48:36 +00:00
cgd
24e3cbad44 according to andrew, the bit with the comment:
>       /* protect from the user area from user accesses. :-)
>          addr -> addr + UPAGES*NBPG don't seem to be protected without
>          this; the rest seems to be OK, and doesn't like being protected
>          - andrew@werple.apana.org.au */
*is* necessary, so put it back in...  it's in an #ifdef i386 part anyway.
1993-07-19 13:47:09 +00:00
cgd
f1abcd53a4 Rockridge support added a la mods by Atsushi Murai. (amurai@spec.co.jp) 1993-07-19 13:40:00 +00:00
cgd
f8dbcca8f9 add ISOFSMNT_NORRIP, arguably in the wrong place, but
no clear convention is specified for declaring local-filesystem
flags...
1993-07-19 11:52:03 +00:00
cgd
30c2a20262 patches from allen briggs to fix a minor bug in *attach() 1993-07-19 11:30:49 +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
57ee917973 allocate out of kmem_map, not buffer_map. buffer_map is for
*buffers*...  hopefully this won't fragment kmem_map too much.
it should probably be put into its own map, but doesn't need to be
right now.
1993-07-19 09:57:22 +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
7aecc812a5 Move flushq() macro into tty.h. 1993-07-19 05:52:27 +00:00
mycroft
69fdebd9fa Make sure there are character in the ring before flushing. 1993-07-19 05:49:13 +00:00
mycroft
ec99160f49 Use flushq() macro instead. 1993-07-19 05:48:01 +00:00
mycroft
b8756ae04c Use ndflush(), not while(getc()). 1993-07-19 05:10:30 +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
andrew
aa381d0e73 vm_protect() of the user area is no longer required for i386 machines; the
protection is implemented by adjusting the bounds of the user segment
descriptors.
1993-07-18 08:19:34 +00:00
andrew
5dbe2d9d5b * don't used copyout() to relocate icode - use bcopy() instead 1993-07-18 08:17:36 +00:00
mycroft
23b68e4c79 Clean up deleted files. 1993-07-18 07:21:13 +00:00
mycroft
a2587ffb83 Nuke a kluge from Net/2. The argument list ocreat() creates for open() can
now be a struct open_args; no need to redefine the structure.
1993-07-18 06:28:01 +00:00
mycroft
41b40c6792 Only declare these variables extern in buf.h; define them only once in
vfs__bio.c.
1993-07-18 05:15:25 +00:00
mycroft
c558337807 Add some kitchen sinks. 1993-07-17 16:54:16 +00:00
mycroft
f18d296b3c Stylistic change to attach message to match others. 1993-07-17 16:41:27 +00:00
mycroft
331148c31a Make these files GCC 2 happy. 1993-07-17 16:20:24 +00:00
mycroft
ad087b06a0 Finish moving struct definitions outside of function declarations. 1993-07-17 15:56:59 +00:00
mycroft
97cae397ee Finish moving struct definitions outside of function declarations. 1993-07-17 15:24:33 +00:00
cgd
3aed8ce5e5 Fixed two occarances of ldos which should have been lods.
(From Christoph Robitschko)
1993-07-17 12:28:47 +00:00
cgd
97c38bc76a gcc-2.4.5's ffs() has been rendered safe for kernel compiling... 1993-07-17 12:22:00 +00:00
deraadt
2ee2073a53 scsi_switch had wrong entries for these controllers... 1993-07-17 11:00:09 +00:00