Commit Graph

4931 Commits

Author SHA1 Message Date
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
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
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
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
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
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
584de55692 Missed an iobase that should be u_short. 1994-09-05 00:21:40 +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
mycroft
b1f0fa317e Decrease shm_nused when a segment is deleted. 1994-08-31 21:47:36 +00:00
chopps
bf10f9424c cleanup diagnostic messages 1994-08-31 02:13:01 +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
deraadt
5aa2f1e6bb remove an un-aligned access 1994-08-30 17:01:57 +00:00
briggs
e696d464eb Use vn.h instead of forcing NVN to 0. 1994-08-30 11:04:17 +00:00
mycroft
c996edc7e1 Display emulation type. 1994-08-30 06:22:10 +00:00
mycroft
9ea30b3bf3 Check for bad p_emul. 1994-08-30 06:19:44 +00:00
mycroft
227e4cb85c Make sure p_emul is copied on fork. 1994-08-30 06:16:25 +00:00
mycroft
016425e503 Clean up some debugging code. 1994-08-30 05:37:14 +00:00
chopps
c7401f5866 catch mis-aligned access errors on the 040. 1994-08-30 05:35:31 +00:00
mycroft
2f710a54ee Convert process, file, and namei lists and hash tables to use queue.h. 1994-08-30 03:04:28 +00:00
mycroft
bd61aa9ae3 Add {LIST,TAILQ}_INSERT_BEFORE(). 1994-08-30 03:01:30 +00:00
mycroft
f5faab89e9 Use VCALL(), not VOCALL(), and simplify union_advlock(). 1994-08-30 03:01:01 +00:00