Commit Graph

18 Commits

Author SHA1 Message Date
chs 2116915a30 eliminate TRUNC_PAGE() and ROUND_PAGE() in favor of their
lowercase counterparts.  also, a little misc cleanup.
2000-11-21 05:49:07 +00:00
ragge 7ac8ee6f59 By accident, a previously unused bit in the PTE got used as wired bit.
Because of this kvtophys() of wired pages did set the leftmost bit, causing
the pager to hang while swapping. This is now fixed by using another
free bit in the PTE as wired bit instead.
This fixes PR#11121.

Many thanks to Chuck Silvers that found what the problem was!
2000-10-15 11:00:38 +00:00
matt 8e9ff5814e More ELF changes (a.out still works). 2000-07-19 18:15:01 +00:00
matt c9e87920af GCC 2.96 wants the = constraint first. Older gcc(s) don't care. 2000-07-01 06:43:42 +00:00
ragge 8293b12111 Write kvtopte() and kvtophys() as inline assembler. GCC create quite bad
code for them, and they are only 2-3 instructions each if written by hand.
2000-05-27 21:17:06 +00:00
ragge 43bbc0f5c7 Protect against multiple includes. 1999-08-03 19:53:23 +00:00
ragge 373e7cc828 Rewrite the "emulate page reference bits" code to avoid a bunch of
pv_lists traversal and unneccessary page faults.
1999-05-23 23:03:44 +00:00
ragge d0e7a99a8a Giant change: NBPG now set to 4k and CLSIZE == 1 for vax. This change
made a whole bunch of annoying bugs disappear; mostly depending on
bad use of NBPG in non-MD code. The VAX port was the only port that
used this historical "feature".

The CL* macros should probably go away totally, there is no reason
at all to keep them.
1999-01-01 21:43:17 +00:00
ragge 2294cbd022 Fixed bug causing DMA to user stack from Massbus disks to give segfaults. 1996-02-23 17:54:33 +00:00
mycroft 5d668ff961 ASSEMBLER -> _LOCORE 1996-02-02 19:08:33 +00:00
mycroft 9d9a70a5a2 Fix #includes. 1996-02-02 18:05:36 +00:00
ragge 1bc66055fb Add uvtopte() macro, to get user pte address easy. 1996-01-28 12:31:24 +00:00
ragge d96cac4b8e pt_entry_t now struct pte. cleanup. 1995-11-12 14:40:26 +00:00
ragge e7749341ad Added PG_URKW: World readable, kernel writable. 1995-08-21 03:28:50 +00:00
ragge 4fb1817e07 Lots of fixes... 1995-02-13 00:43:20 +00:00
ragge ca49094181 Lots of updates & fixes. 1994-11-25 19:08:50 +00:00
cgd d62187c043 new RCS ID format. 1994-10-26 08:01:33 +00:00
ragge 8026fb53f2 Initial VAX port merging. 1994-08-02 20:18:46 +00:00