Commit Graph

9957 Commits

Author SHA1 Message Date
mycroft
9c2fbdc245 Deal with large file systems, and clean up a bit. 1994-09-16 20:59:27 +00:00
mycroft
f41d9ebe51 Use an explicit references to UIO_MAXIOV, rather than a number. ref: PR 433 1994-09-16 03:08:46 +00:00
mycroft
c7003d37d3 Only reset FIFO if changing baud rate. From John Kohl (slightly edited). 1994-09-16 02:50:39 +00:00
jtc
23ece5babc asm -> __asm (PR #463). 1994-09-16 02:39:36 +00:00
jtc
e43e9b828a Protect against multiple inclusion (PR #473). 1994-09-16 02:16:42 +00:00
mycroft
ab9caa0e9a Fix the munmapfd() prototype, too. 1994-09-16 02:01:49 +00:00
mycroft
d5fdf729f2 All of the users of munmapfd() expect to pass it
two args.  Make it work correctly.
1994-09-16 01:57:57 +00:00
deraadt
2b10ae150f compile -O3 1994-09-16 01:27:58 +00:00
pk
9c216a1fb2 Cache pagesize. 1994-09-15 10:49:53 +00:00
pk
07dce62879 Use getpagesize() in stead of CLBYTES. 1994-09-15 10:48:51 +00:00
mycroft
76e0a7d0f4 Fix typo. 1994-09-15 03:47:19 +00:00
mycroft
cab4d25c24 stat the file system at mount time, for `df -n', et al. 1994-09-15 03:42:37 +00:00
deraadt
2736881bfb Kill the YP code. 1994-09-15 02:11:17 +00:00
deraadt
b175f116e1 handle `from user' without croaking 1994-09-15 02:02:00 +00:00
deraadt
5e6898c083 NBPG -> getpagesize() 1994-09-15 02:00:34 +00:00
deraadt
9d977e669b gcc automatically calls memset in certain situations. 1994-09-15 01:46:37 +00:00
cgd
b690c315ff ugly (#ifdef) hack to fix m68k alignment differences, etc. Eventually,
should be done with a 'natual alignment' macro, or some such.
1994-09-14 16:40:29 +00:00
cgd
575d44884b from Kirk McKusick: release old ctty if acquiring a new one.
also: prettiness police!
1994-09-14 00:35:29 +00:00
deraadt
db9d3d3d7e add MID_MIPS (big endian MIPS) 1994-09-13 15:47:03 +00:00
jtc
b4f978017e Remove CYGNUS_LOCAL comment: I maintain this code for NetBSD, not Cygnus 1994-09-13 00:40:33 +00:00
briggs
24de5a9668 Nuke a CVS Log entry. Attribute introspection to Brad. 1994-09-12 21:56:36 +00:00
mycroft
8dd2c63b08 Turn off the delay debugging messages again. 1994-09-12 20:29:08 +00:00
jtc
0f67980cb1 Don't define sys_siglist, <signal.h> does that already 1994-09-12 18:43:12 +00:00
briggs
400d187c01 Remove need for "bounds.h." Brad can still use it if he wants ;-) 1994-09-12 03:54:05 +00:00
briggs
9e4e942a2f Give vnd a major number. Didn't work on my last attempt with it, but
this will be needed, anyway.
1994-09-12 03:53:03 +00:00
briggs
5432aef717 Fix a scrolling bug when we have more than 64k to scroll. 1994-09-12 03:38:30 +00:00
briggs
9dc2628062 Snarf chopps changes for bus/addrerr handling. 1994-09-12 03:37:33 +00:00
mycroft
71564b8859 Turn off a few things. 1994-09-11 08:39:36 +00:00
mycroft
1435172b90 Nuke the silly `--' hack when there are no flags. 1994-09-10 04:44:23 +00:00
jtc
47b84c16db asm -> __asm (PR #463). 1994-09-10 01:19:45 +00:00
jtc
bdd26b125c asm -> __asm (PR #463). 1994-09-10 01:07:08 +00:00
mycroft
0d3651018e Make kernel_pmap a macro that points directly to kernel_pmap_store. 1994-09-09 23:58:48 +00:00
mycroft
c7d5bf7b64 Nuke struct ste, struct ste40, struct pte, and HP_PAGE_SIZE. Use my
pv_entry allocator.  Change pa_index() to pmap_page_index() for consistency
with other ports.
1994-09-09 23:52:49 +00:00
mycroft
c7b57907f0 Do a hack similar to the AST optimization for SIRs on syscall exit. 1994-09-09 23:40:15 +00:00
mycroft
f66f685ad2 Very simple change to avoid a complete register save/restore pair when handling
ASTs after a syscall.
1994-09-09 03:58:38 +00:00
mycroft
cf04bbff56 Small optimization for the !DIAGNOSTIC case. 1994-09-09 03:16:03 +00:00
mycroft
675c4aae2b Remove some functions which are in libkern. 1994-09-09 03:11:31 +00:00
mycroft
6ba85483c3 Use bfffo rather than a slow loop. 1994-09-09 03:07:23 +00:00
mycroft
e0fa548a12 Optimize the run queue frobnication, and add some more DIAGNOSTIC checks. 1994-09-09 02:56:54 +00:00
mycroft
289bc175c6 Another tiny optimization. 1994-09-08 21:56:14 +00:00
mycroft
a90cca9558 Add a simple pv_page garbage collector (currently disabled). 1994-09-08 21:03:43 +00:00
jtc
410ff804f7 Add __BEGIN_DECLS, __END_DECLS around public functions so curses library
can be used by C++ programs (PR #401).
1994-09-07 21:28:05 +00:00
mycroft
4116a4243e Various changes:
* Inline some functions.
* Eliminate redundant calls to pmap_page_index().
* Reduce the number of TLB flushes in accordance with the i386 SSWG.
* Inline pmap_remove() in pmap_remove_all().  (Most if it is unnecessary.)
* Allocate pv_entry's in pages, and keep a list of free entries in each page,
and a list of pages with free entries.  (Trying to reduce malloc() overhead,
and improve locality of reference.)
* Remove a couple of macros that aren't really useful.
* Remove pmap_kernel() completely.
1994-09-07 20:48:52 +00:00
mycroft
d884d26b32 Trivial change of no significance. 1994-09-07 20:32:45 +00:00
mycroft
9d4125d1ec A few small optimizations. 1994-09-07 20:32:00 +00:00
mycroft
6dd2f9eed2 vm_object_page_clean() expects to be able to use vm_page_deactivate() on a
locked page.  Make that work.  This also obviates the need for vm_fault() to
bogusly activate a page before deactivating it.  Finally, make sure the
semantics of vm_object_deactive_pages() don't change.
1994-09-07 20:25:07 +00:00
mycroft
e4bc47c9fc Remove bogus attempt to map the interrupt pins here. The BIOS is supposed to
do it anyway.
1994-09-06 01:25:22 +00:00
pk
6b619f18ed Use tcflush(). 1994-09-05 09:09:43 +00:00
pk
437ee32a52 Set control flags properly while in read mode.
Supply process ID when syslogging.
1994-09-05 08:52:49 +00:00
pk
09301847a4 Compile pamap.c' and cache.c' with normal compiler rules.
Let's pretend this was a bug in some previous version of gcc...
1994-09-05 06:31:34 +00:00