|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH RESEND 05/14] libxl/arm: Construct ACPI GTDT table
Hello Shannon, On 31/05/16 06:02, Shannon Zhao wrote: Should not we compute the checksum here? There is no secure EL1 for guest, so this should be 0. + gtdt->non_secure_el1_interrupt = GUEST_TIMER_PHYS_NS_PPI; + gtdt->non_secure_el1_flags = + (ACPI_LEVEL_SENSITIVE << ACPI_GTDT_INTERRUPT_MODE) + |(ACPI_ACTIVE_LOW << ACPI_GTDT_INTERRUPT_POLARITY); + gtdt->virtual_timer_interrupt = GUEST_TIMER_VIRT_PPI; + gtdt->virtual_timer_flags = + (ACPI_LEVEL_SENSITIVE << ACPI_GTDT_INTERRUPT_MODE) + |(ACPI_ACTIVE_LOW << ACPI_GTDT_INTERRUPT_POLARITY); + + make_acpi_header(>dt->header, "GTDT", sizeof(*gtdt), 2); + + dom->acpitable_blob->gtdt.table = (void *)gtdt; + /* Align to 64bit. */ I am not sure what the comment is for. + dom->acpitable_blob->gtdt.size = sizeof(*gtdt); + dom->acpitable_size += dom->acpitable_blob->gtdt.size; +} 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 |