[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH 00/14] Xen ARM DomU ACPI support
On 01/06/16 15:56, Shannon Zhao wrote: On 2016年06月01日 22:36, Boris Ostrovsky wrote:On 06/01/2016 09:53 AM, Shannon Zhao wrote:Actually I think there are two tables can be reused: RSDP and XSDT(while which are smaller codes, I don't think it needs to be mixed with others). The other tables are arch specific because the contents are totally different. So if we want to add some generic generating table funtions, we might pass a lot of arch specific information to these functions which looks like inconvenient and ugly. And this situation for x86 and ARM is similar with QEMU. You can have a look at hw/arm/virt-acpi-build.c and hw/i386/acpi-build.c in QEMU source code. The two only reuse the build_rsdt() function.Are these differences due to architecture or ACPI version? I can see that ARM uses 5.1 at least but not sure about i386. I think i386 is using ACPI v1.0. They are using AcpiFadtDescriptorRev1 whilst ARM is using ACPIFadtDescriptorRes5_1. The difference between the version can be found in hw/acpi/acpi-defs.h 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 |