|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [PATCH 1/3] tools/libacpi: Use 64-byte alignment for FACS
The spec requires 64-byte alignment, not 16.
Signed-off-by: Kevin Stefanov <kevin.stefanov@xxxxxxxxxx>
---
CC: Jan Beulich <jbeulich@xxxxxxxx>
CC: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
Note: This does not fix the FACS alignment inside guests yet. See next
patch.
---
tools/libacpi/build.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/libacpi/build.c b/tools/libacpi/build.c
index a61dd5583a..fe2db66a62 100644
--- a/tools/libacpi/build.c
+++ b/tools/libacpi/build.c
@@ -532,7 +532,7 @@ int acpi_build_tables(struct acpi_ctxt *ctxt, struct
acpi_config *config)
* Fill in high-memory data structures, starting at @buf.
*/
- facs = ctxt->mem_ops.alloc(ctxt, sizeof(struct acpi_20_facs), 16);
+ facs = ctxt->mem_ops.alloc(ctxt, sizeof(struct acpi_20_facs), 64);
if (!facs) goto oom;
memcpy(facs, &Facs, sizeof(struct acpi_20_facs));
--
2.25.1
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |