Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Nov 2004 06:55:43 +0000 (UTC)
From:      Nate Lawson <njl@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/dev/acpica acpi_pci_link.c
Message-ID:  <200411300655.iAU6th5L066950@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
njl         2004-11-30 06:55:43 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/acpica       acpi_pci_link.c 
  Log:
  Make sure the link array is big enough to hold both _CRS and _PRS
  resource lists.  It used to be sized based only on _CRS, hence _PRS could
  perform an out-of-bounds access if it was larger (i.e., when there are
  dependent functions).  Add asserts to detect this case.  Note, this is
  only a temporary fix and I believe _PRS and _CRS should have separate
  arrays.
  
  Also, fix a typo where the wrong irq was being check for the APIC case.
  
  Submitted by:   tegge
  
  Revision  Changes    Path
  1.36      +30 -8     src/sys/dev/acpica/acpi_pci_link.c



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