cvs commit: src/sys/ia64/ia64 mem.c

Marcel Moolenaar marcel at FreeBSD.org
Wed Jun 4 14:56:12 PDT 2003


marcel      2003/06/04 14:56:10 PDT

  FreeBSD src repository

  Modified files:
    sys/ia64/ia64        mem.c 
  Log:
  Fix the dreaded double counting that was present on alpha as well and
  got fixed two weeks after the ia64 version was copied from the alpha
  version (see rev 1.32 of sys/alpha/alpha/mem.c). As such, we were
  missing the same continue as on alpha.
  
  While here, add a default case for the device minor switch and do
  some general style(9) cleanups.
  
  WARNING: this file still has bugs. When reading from region 6 or
  region 7, we don't validate the physical address. One can trivially
  cause a machine check by trying to read from address 0xFFFFFFFFFFFFFFF0
  or something that uses the unimplemented physical address bits.
  
  Reported by: Alan Robinson <alan.robinson at fujitsu-siemens.com>
  
  Revision  Changes    Path
  1.14      +21 -17    src/sys/ia64/ia64/mem.c


More information about the cvs-src mailing list