Skip to content
Commit 29b35112 authored by Simon Glass's avatar Simon Glass Committed by Bin Meng
Browse files

acpi: Move acpi_add_table() to generic code



Move this code to a generic location so that we can test it with sandbox.
This requires adding a few new fields to acpi_ctx, so drop the local
variables used in the original code.

Also use mapmem to avoid pointer-to-address casts which don't work on
sandbox.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Reviewed-by: default avatarWolfgang Wallner <wolfgang.wallner@br-automation.com>
parent 288edc78
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment