cvs commit: src/sys/dev/ofw ofw_disk.c

Peter Grehan grehan at FreeBSD.org
Sun Oct 30 19:09:39 PST 2005


grehan      2005-10-31 03:09:38 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/ofw          ofw_disk.c 
  Log:
  The mediasize shouldn't be multipled by the sector size when it was
  in bytes to start off with. This caused the GPT geom sniffer to attempt
  a seek just back from the end of the 'disk', which resulted in a > 4G
  seek, causing gdb psim to exit since it only supports 32-bit seeks.
  
  The size of the disk should really be specified in the psim device tree,
  but for now do the minimal amount of work to get psim to run again.
  
  Revision  Changes    Path
  1.18      +2 -1      src/sys/dev/ofw/ofw_disk.c


More information about the cvs-src mailing list