Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Aug 2004 17:36:29 +0200
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        Nate Lawson <njl@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/dev/acpica acpi_resource.c
Message-ID:  <xzpy8k8sdtu.fsf@dwp.des.no>
In-Reply-To: <200408201652.i7KGqiRb030057@repoman.freebsd.org> (Nate Lawson's message of "Fri, 20 Aug 2004 16:52:44 %2B0000 (UTC)")
References:  <200408201652.i7KGqiRb030057@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Nate Lawson <njl@FreeBSD.org> writes:
>   "Loop through all current resources to see if the new one overlaps
>   any existing ones.  If so, the old one always takes precedence and
>   the new one is adjusted (or rejected).  We check for three cases:
>=20=20=20
>   1. Tail of new resource overlaps head of old resource:  truncate the
>      new resource so it is contiguous with the start of the old.
>   2. New resource wholly contained within the old resource:  error.
>   3. Head of new resource overlaps tail of old resource:  truncate the
>      new resource so it is contiguous, following the old."

What about the fourth case: new resource wholly contains old resource?

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



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