Commit Graph

9824 Commits

Author SHA1 Message Date
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
mycroft 1d38d39d26 Fix incorrect error messages. 1994-09-05 02:21:06 +00:00
mycroft 3e334ba9a6 New iBCS2 code from Scott. 1994-09-05 01:28:57 +00:00
mycroft faa18f6ce6 New iBCS2 code from Scott. 1994-09-05 01:08:43 +00:00
mycroft 959ab396d2 Fix typos, pointed out by Arne Juul. 1994-09-05 00:28:59 +00:00
mycroft bc4780b3bf Document usage of additional arguments after login name, as suggested by
Peter da Silva (slightly edited).
1994-09-05 00:27:10 +00:00
mycroft 584de55692 Missed an iobase that should be u_short. 1994-09-05 00:21:40 +00:00
jtc 0d6ff3aeed Increased the size of char buffer used by perror(); the error strings may
be much longer in some locales.
1994-09-03 05:20:00 +00:00
jtc 6d3bf399eb __strerror() and __strsignal() have been broken out into their own files
and use message catalogs if NLS is defined.
Increased the size of char buffers used by strerror() and strsignal();
the error and signal strings may be much longer in some locales.
1994-09-03 05:07:49 +00:00
jtc 5281a6457b Document the fact that NLS (message catalog) support is enabled by adding
-DNLS to CFLAGS.
1994-09-03 04:53:16 +00:00
pk cdca6c22c4 Don't clobber our input arguments. 1994-09-02 08:13:20 +00:00
mycroft 6c66af544c Fix some ugly code. 1994-09-02 05:12:12 +00:00
jtc b3b55d02f1 Misc changes to make this file more like the asm.h headers used by other
architectures:
	Renamed _C_FUNC() to _C_LABEL()
	Renamed _ASM_FUNC() to _ASM_LABEL()
	Merged _BEGIN_ENTRY with _ENTRY
	Renamed _END_ENTRY to _PROF_PROLOGUE

When assembling with profiling enabled, set up stack frame before calling
mcount() in _PROF_PROLOGUE.  Also omit emitting .long 0's, as they are no
longer used by the profiling code.
1994-09-02 05:02:47 +00:00
cgd 464589d6ae oops! 1994-09-01 03:31:37 +00:00
mycroft b1f0fa317e Decrease shm_nused when a segment is deleted. 1994-08-31 21:47:36 +00:00
mycroft 46d22e0d6a Fix option parsing bug reported by Uwe Arndt, and another related bogon. 1994-08-31 21:32:33 +00:00
jtc 85613afae4 Change HAVE_SAVED_SUIDS to HAVE_SAVED_UIDS to match macro of the same
name which is defined in compat.h if compiling on a modern BSD system.
1994-08-31 19:28:50 +00:00
chopps 0fceec8cff some cleanup 1994-08-31 18:44:50 +00:00
chopps 16f1b5ab4c remove use of awk, add floppy arg for making install floppies 1994-08-31 17:31:52 +00:00
chopps e905d504dd add our architechures to .Dt 1994-08-31 05:55:57 +00:00
mycroft ad02d27da0 Update to match include files. 1994-08-31 03:48:18 +00:00
chopps bf10f9424c cleanup diagnostic messages 1994-08-31 02:13:01 +00:00
cgd 33e0df2ca3 to hell with it, add an n. 1994-08-31 00:10:42 +00:00
deraadt 215b5c5487 improper handling of recvfrom error return value 1994-08-30 23:59:43 +00:00
cgd e6a0c0661a fixes for typos. from Havard Eidnes <Havard.Eidnes@runit.sintef.no> 1994-08-30 23:48:23 +00:00
chopps 41a2d35564 fix uninitialized use of mask. 1994-08-30 23:06:48 +00:00
pk cdf3d1ed89 mknod() must release its new vnode. 1994-08-30 19:42:22 +00:00
mycroft 0e2293a33e Update to match include files. 1994-08-30 17:39:11 +00:00
cgd 5e5f29254c update for the current state of the world. 1994-08-30 17:17:34 +00:00
cgd ae32286b2a don't forget manual page links. 1994-08-30 17:12:59 +00:00
deraadt 5aa2f1e6bb remove an un-aligned access 1994-08-30 17:01:57 +00:00
cgd b7cc0db103 fix for pr 420, from Christos. 1994-08-30 15:16:44 +00:00
cgd 403d5021a4 oops, do shlibs right. 1994-08-30 15:16:05 +00:00
briggs e696d464eb Use vn.h instead of forcing NVN to 0. 1994-08-30 11:04:17 +00:00