[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH v4 09/16] xen/arm: move vgic rank data to gic header file
Hi Vijay, On 05/26/2014 11:26 AM, vijay.kilari@xxxxxxxxx wrote: > diff --git a/xen/include/asm-arm/vgic.h b/xen/include/asm-arm/vgic.h > new file mode 100644 > index 0000000..104a87d > --- /dev/null > +++ b/xen/include/asm-arm/vgic.h > @@ -0,0 +1,40 @@ > +/* > + * ARM Virtual Generic Interrupt Controller support > + * > + * Ian Campbell <ian.campbell@xxxxxxxxxx> > + * Copyright (c) 2011 Citrix Systems. > + * > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License as published by > + * the Free Software Foundation; either version 2 of the License, or > + * (at your option) any later version. > + * > + * This program is distributed in the hope that it will be useful, > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > + * GNU General Public License for more details. > + */ > + > +#ifndef __ASM_ARM_VGIC_H__ > +#define __ASM_ARM_VGIC_H__ > + > +/* Represents state corresponding to a block of 32 interrupts */ > +struct vgic_irq_rank { > + spinlock_t lock; /* Covers access to all other members of this struct */ > + uint32_t ienable, iactive, ipend, pendsgi; > + uint32_t icfg[2]; > + uint32_t ipriority[8]; > + uint32_t itargets[8]; > +}; > + > +extern int vcpu_vgic_free(struct vcpu *v); > +#endif NIT: this should be #endif /* __ASM_ARM_VGIC_H__ */ Acked-by: Julien Grall <julien.grall@xxxxxxxxxx> Regards, -- Julien Grall _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |