Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Nov 1997 10:09:37 -0800 (PST)
From:      Bruce Evans <bde@FreeBSD.ORG>
To:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG
Subject:   cvs commit: src/sys/i386/i386 db_interface.c
Message-ID:  <199711201809.KAA13434@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
bde         1997/11/20 10:09:37 PST

  Modified files:
    sys/i386/i386        db_interface.c 
  Log:
  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.
  
  Revision  Changes    Path
  1.38      +5 -7      src/sys/i386/i386/db_interface.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711201809.KAA13434>