cvs commit: src/sys/dev/acpica acpi_resource.c

Dag-Erling Smørgrav des at des.no
Sat Aug 21 08:36:31 PDT 2004


Nate Lawson <njl at 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:
>   
>   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
-- 
Dag-Erling Smørgrav - des at des.no


More information about the cvs-src mailing list