freebsd-dev/sys/i386/i386
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
..
apic_vector.s Fix a serious bug I introduced while adding in support for CAM interrupts. 1997-09-28 19:30:01 +00:00
autoconf.c Don't allow setting the dump device to any partition except the 1997-11-20 17:07:21 +00:00
bios.c Remove a bunch of variables which were unused both in GENERIC and LINT. 1997-11-07 08:53:44 +00:00
bioscall.s Support functions for working with x86 PC-architecture BIOS. 1997-08-01 06:07:13 +00:00
cons.c Update select -> poll in drivers. 1997-09-14 03:19:42 +00:00
cons.h Some staticized variables were still declared to be extern. 1997-07-01 00:54:37 +00:00
db_disasm.c Removed a wrong comment of mine. 1997-04-01 16:22:31 +00:00
db_interface.c Fixed write enabling of the kernel text section. The overlap 1997-11-20 18:09:36 +00:00
db_trace.c Moved declaration of etext from <machine/md_var.h> to <machine/cpu.h> 1997-10-27 17:23:18 +00:00
exception.s Oops, <machine/psl.h> is used unconditionally in -current. 1997-10-27 17:19:20 +00:00
genassym.c GPROC0_SEL isn't used in any *.s files it seems.. 1997-10-10 12:38:27 +00:00
gensetdefs.c This commit affects ELF kernels only. 1997-05-21 23:21:30 +00:00
i386-gdbstub.c Document a non-standard gdbremote protocol extension (kludge, really) 1997-06-04 16:44:29 +00:00
identcpu.c Remove a bunch of variables which were unused both in GENERIC and LINT. 1997-11-07 08:53:44 +00:00
in_cksum.c Removed unused #includes. 1997-09-02 20:06:59 +00:00
initcpu.c Removed unused #includes. 1997-10-28 15:59:26 +00:00
locore.s Use UPAGES when setting up private pages for SMP (which includes idle stack). 1997-11-07 19:58:34 +00:00
machdep.c Rename some local variables to avoid shadowing other local variables. 1997-11-07 09:21:01 +00:00
math_emu.h Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not 1997-02-22 09:48:43 +00:00
math_emulate.c Oops, I removed one too many #include. <machine/frame.h> was previously 1997-07-20 11:00:32 +00:00
mem.c Update select -> poll in drivers. 1997-09-14 03:19:42 +00:00
microtime.s Removed unused #includes. 1997-10-28 15:59:26 +00:00
mp_apicdefs.s Remove the stuff we do not use from global scope. Export them again as 1997-10-24 14:27:23 +00:00
mp_machdep.c Use UPAGES when setting up private pages for SMP (which includes idle stack). 1997-11-07 19:58:34 +00:00
mpapic.c Made PEND_INTS default. 1997-08-21 05:08:25 +00:00
mpboot.s Convert the VM86 option from a global option to an option only depended 1997-10-10 09:44:12 +00:00
mplock.s Another round of lock pushdown. 1997-08-30 08:08:10 +00:00
mptable.c Use UPAGES when setting up private pages for SMP (which includes idle stack). 1997-11-07 19:58:34 +00:00
perfmon.c Removed unused #includes. 1997-10-28 15:59:26 +00:00
pmap.c Use UPAGES when setting up private pages for SMP (which includes idle stack). 1997-11-07 19:58:34 +00:00
procfs_machdep.c Removed unused #includes. 1997-07-20 08:37:24 +00:00
setdef0.c This commit affects ELF kernels only. 1997-05-21 23:21:30 +00:00
setdef1.c This commit affects ELF kernels only. 1997-05-21 23:21:30 +00:00
simplelock.s Debug version of simple_lock. This will store the CPU id of the 1997-08-31 03:17:48 +00:00
support.s Removed unused #includes. 1997-09-02 20:06:59 +00:00
swapgeneric.c Removed more vestiges of config-time swap configuration. 1997-09-07 12:56:46 +00:00
swtch.s Convert the VM86 option from a global option to an option only depended 1997-10-10 09:44:12 +00:00
symbols.raw Man the liferafts! Here comes the long awaited SMP -> -current merge! 1997-04-26 11:46:25 +00:00
sys_machdep.c Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
trap.c Move the "retval" (3rd) parameter from all syscall functions and put 1997-11-06 19:29:57 +00:00
tsc.c Removed #unused includes. 1997-11-18 11:16:56 +00:00
userconfig.c Add ide_pci device. 1997-11-02 20:35:07 +00:00
vm86.c Compensate for pcb.h tweaks. 1997-10-10 12:42:54 +00:00
vm_machdep.c Don't #include <machine/smp.h> even in the SMP case. Fixed the one 1997-11-18 09:27:23 +00:00