Re: [Xen-devel] [PATCH v3 07/17] libxl/arm: Construct ACPI RSDP table

2016-07-07 Thread Shannon Zhao
On 2016/7/8 6:43, Boris Ostrovsky wrote: >> +calculate_checksum(rsdp, offsetof(struct acpi_table_rsdp, checksum), >> > + acpitables[RSDP].size); > Should this be extended_checksum? checksum is for ACPI v1 (and thus for > smaller size structure, with only RSDT pointer). A

Re: [Xen-devel] [PATCH v3 07/17] libxl/arm: Construct ACPI RSDP table

2016-07-07 Thread Boris Ostrovsky
On 07/04/2016 11:12 PM, Shannon Zhao wrote: > From: Shannon Zhao > > Construct ACPI RSDP table and add a helper to calculate the ACPI table > checksum. > > Signed-off-by: Shannon Zhao > --- > tools/libxl/libxl_arm_acpi.c | 35 +++ > 1 file changed, 35 insertions(+

[Xen-devel] [PATCH v3 07/17] libxl/arm: Construct ACPI RSDP table

2016-07-04 Thread Shannon Zhao
From: Shannon Zhao Construct ACPI RSDP table and add a helper to calculate the ACPI table checksum. Signed-off-by: Shannon Zhao --- tools/libxl/libxl_arm_acpi.c | 35 +++ 1 file changed, 35 insertions(+) diff --git a/tools/libxl/libxl_arm_acpi.c b/tools/libxl/l