From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Sun, 8 May 2016 16:18:20 +0800 Subject: [U-Boot] [PATCH v2 12/28] x86: acpi: Various changes to acpi_table.h In-Reply-To: References: <1462632397-11224-1-git-send-email-bmeng.cn@gmail.com> <1462632397-11224-13-git-send-email-bmeng.cn@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, May 8, 2016 at 2:46 AM, Simon Glass wrote: > On 7 May 2016 at 08:46, Bin Meng wrote: >> - Use "U-BOOT" and "U-BOOTBL" for the OEM ID and OEM table ID. >> - Do not typedef acpi_header_t, instead use struct acpi_table_hader. >> - Use a shorter name aslc_id and aslc-revision. >> - Change MCFG base address to use 32-bit value pairs (_l and _h). >> - Apply ACPI_APIC_ prefix to MADT APIC type macros and make >> their names to be more readable. >> - Apply __packed to struct acpi_madt_irqoverride and struct >> acpi_madt_lapic_nmi tables, as they are not naturally aligned >> by the compiler which leads to wrong sizeof(struct). >> - Rename model to res1 as it is reserved after ACPI spec 1.0. >> - Apply ACPI_ prefix to the PM profile macros and change them >> to enum. >> - Add ospm_flags to FACS structure which is defined since ACPI 4.0. >> >> Signed-off-by: Bin Meng >> Reviewed-by: Stefan Roese >> Tested-by: Stefan Roese >> >> --- >> >> Changes in v2: >> - Update commit message to mention the reason of adding __packed >> >> arch/x86/include/asm/acpi_table.h | 72 +++++++++++++++++++++------------------ >> arch/x86/lib/acpi_table.c | 71 ++++++++++++++++++++------------------ >> 2 files changed, 75 insertions(+), 68 deletions(-) > > Reviewed-by: Simon Glass applied to u-boot-x86/next, thanks!