freebsd-dev/sys/amd64
Bruce Evans af2f22807f Fixed write enabling of the kernel text section. The overlap
checking was mostly wrong at the boundaries.  For the lower limit,
VM_MIN_KERNEL_ADDRESS was used instead of btext and there was an
off-by-(`size' - 1) error.  For the upper limit, &etext was used
instead of etext and there was an off-by-1 error.  The bugs were
harmless because `size' is not too large and some memory is mapped
just beyond the ends.  We still depend on the former to avoid
having to handle the case where the memory range covers the whole
text section, and on the latter to prevent problems when we map
just beyond an end to allow writing an address range that overlaps
the end.

Fixed placement of a nearby comment.
1997-11-20 18:09:36 +00:00
..
amd64 Fixed write enabling of the kernel text section. The overlap 1997-11-20 18:09:36 +00:00
conf Change comments about ijppp to iijppp. 1997-10-31 22:10:09 +00:00
include Use UPAGES when setting up private pages for SMP (which includes idle stack). 1997-11-07 19:58:34 +00:00
isa Removed an unused #included. 1997-11-18 11:32:31 +00:00
pci Removed unused #includes. 1997-07-20 14:10:18 +00:00
Makefile Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00