You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the recommended alternative to acpi::AcpiTables::from_tables_direct, which has been removed? My ideal would be to pass in the tables without a handler to map the table data, but I'm not sure how much you need to access tables using physical addresses.
I'm happy to implement whatever you think the best solution is.
The text was updated successfully, but these errors were encountered:
So from_tables_direct was removed when we moved away from pre-processing all of the tables into a container, and isn't easily re-added unfortunately. However, we should still be able to use all the types (only the new functions tend to be parameterized over the Handler, so we could provide a new way to construct tables without a handler fairly easily I think, depending on what exactly you want on your end
Just to be clear, the proposed solution is to change parameterized types for the various tables to not be parameterized, but to leave a parameterized new function that takes a Handler, and a different non-parameterized version that is created from contiguous table data possibly in virtual memory. This will be a breaking change due to the removal of the type parameter.
What is the recommended alternative to acpi::AcpiTables::from_tables_direct, which has been removed? My ideal would be to pass in the tables without a handler to map the table data, but I'm not sure how much you need to access tables using physical addresses.
I'm happy to implement whatever you think the best solution is.
The text was updated successfully, but these errors were encountered: