hc
2024-10-09 05e59e5fb0064c97a1c10921ecd549f2d4a58565
kernel/include/acpi/actbl.h
....@@ -3,7 +3,7 @@
33 *
44 * Name: actbl.h - Basic ACPI Table Definitions
55 *
6
- * Copyright (C) 2000 - 2018, Intel Corp.
6
+ * Copyright (C) 2000 - 2020, Intel Corp.
77 *
88 *****************************************************************************/
99
....@@ -38,6 +38,7 @@
3838 #define ACPI_SIG_XSDT "XSDT" /* Extended System Description Table */
3939 #define ACPI_SIG_SSDT "SSDT" /* Secondary System Description Table */
4040 #define ACPI_RSDP_NAME "RSDP" /* Short name for RSDP, not signature */
41
+#define ACPI_OEM_NAME "OEM" /* Short name for OEM, not signature */
4142
4243 /*
4344 * All tables and structures must be byte-packed to match the ACPI
....@@ -65,14 +66,14 @@
6566 ******************************************************************************/
6667
6768 struct acpi_table_header {
68
- char signature[ACPI_NAME_SIZE]; /* ASCII table signature */
69
+ char signature[ACPI_NAMESEG_SIZE]; /* ASCII table signature */
6970 u32 length; /* Length of table in bytes, including this header */
7071 u8 revision; /* ACPI Specification minor version number */
7172 u8 checksum; /* To make sum of entire table == 0 */
7273 char oem_id[ACPI_OEM_ID_SIZE]; /* ASCII OEM identification */
7374 char oem_table_id[ACPI_OEM_TABLE_ID_SIZE]; /* ASCII OEM table identification */
7475 u32 oem_revision; /* OEM revision number */
75
- char asl_compiler_id[ACPI_NAME_SIZE]; /* ASCII ASL compiler vendor ID */
76
+ char asl_compiler_id[ACPI_NAMESEG_SIZE]; /* ASCII ASL compiler vendor ID */
7677 u32 asl_compiler_revision; /* ASL compiler version */
7778 };
7879