On Mon, Oct 18, 2010 at 11:55:08AM +0200, Michael S. Tsirkin wrote:
> > +static u32 pci_region_alloc_align(struct pci_region *r, u32 size, u32 
> > align)
> > +{
> > +    if (r->cur_end == PCI_REGION_DISABLED) {
> > +        return 0;
> > +    }
> 
> So is special value PCI_REGION_DISABLED or cur_end?

cur_end is in special state, and PCI_REGION_DISABLED was chosen
such that cur_end can't be PCI_REGION_DISABLED in normal case.
-- 
yamahata

Reply via email to