[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] Re: [SeaBIOS] [PATCH 1/2] pci: introduce pci_region to mana
From: |
Isaku Yamahata |
Subject: |
[Qemu-devel] Re: [SeaBIOS] [PATCH 1/2] pci: introduce pci_region to manage pci io/memory/prefmemory regions. |
Date: |
Tue, 19 Oct 2010 10:43:17 +0900 |
User-agent: |
Mutt/1.5.19 (2009-01-05) |
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