[LinuxBIOS] Re: dead loop in compute_allocate_resource

yhlu yinghailu at gmail.com
Wed Jul 6 03:54:08 CEST 2005


solution will be add
if (resource->flags & IORESOURCE_FIXED)  return 
in pick_largest_resource.

YH


--- device.c.orig       2005-06-22 12:54:44.000000000 -0700
+++ device.c    2005-07-05 19:32:20.000000000 -0700
@@ -180,6 +180,7 @@
                state->seen_last = 1;
                return;
        }
+       if (resource->flags & IORESOURCE_FIXED ) return; //skip it 
        if (last && (
                    (last->align < resource->align) ||
                    ((last->align == resource->align) &&




More information about the coreboot mailing list