[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Minios-devel] [UNIKRAFT PATCHv3 1/6] plat/common: Introduce fdt_getprop_u32_by_offset helper
Hi Julien On 2019/3/21 17:40, Julien Grall wrote: Hi, On 3/21/19 8:05 AM, Jia He wrote:From: Jianyong Wu <jianyong.wu@xxxxxxx> This helper will be used very frequently to u32 from properties. So we provide this helper here to avoid using fdt_getprop and fdt32_to_cpu everywhere. Signed-off-by: Wei Chen <wei.chen@xxxxxxx> Signed-off-by: Jianyong Wu <jianyong.wu@xxxxxxx> Signed-off-by: Jia He <justin.he@xxxxxxx> --- plat/common/arm/irq_fdt.c | 57 +++++++++++++++++++++++++++++++Why did you prefix with irq? What actually prevents those helpers in other drivers that may not have interrupt? How about plat/common/arm/fdt.c and plat/common/include/arm/fdt.h? --- Cheers, Justin (Jia He) _______________________________________________ Minios-devel mailing list Minios-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/minios-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |