[SeaBIOS] [PATCH 1/2] pci: introduce pci_region to manage pci io/memory/prefmemory regions.
Isaku Yamahata
yamahata at valinux.co.jp
Tue Oct 19 03:43:17 CEST 2010
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
More information about the SeaBIOS
mailing list