Re: [Xen-devel] [RFC Patch v4 3/8] xl/acpi: unify the computation of lapic_id

2018-02-22 Thread Wei Liu
On Wed, Dec 06, 2017 at 03:50:09PM +0800, Chao Gao wrote: > There were two places where the lapic_id is computed, one in hvmloader and one > in libacpi. Unify them by defining LAPIC_ID in a header file and incluing it > in both places. > > To address compilation issue and make libacpi.h self-conta

[Xen-devel] [RFC Patch v4 3/8] xl/acpi: unify the computation of lapic_id

2017-12-05 Thread Chao Gao
There were two places where the lapic_id is computed, one in hvmloader and one in libacpi. Unify them by defining LAPIC_ID in a header file and incluing it in both places. To address compilation issue and make libacpi.h self-contained, include stdint.h in libacpi.h. Signed-off-by: Chao Gao --- v