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
This is the main replacement for the allocator API portion of rust-osdev#306. It should be rebuilt from clean upstream/main after the smaller platform/global-lock PRs are separated.
Maintainers are open to allocator support, but rust-osdev#306 is not reviewable as a single branch.
Scope
Rebuild allocator support for AML interpreter storage with a clean, reviewable history.
Likely implementation areas:
Make AML-owned objects and namespace storage allocator-aware.
Add explicit *_in constructors where an allocator is needed.
Preserve Global as the default allocator.
Preserve existing new constructors where possible, with new_in for custom allocators.
Update AML tests and helper tools only where required by the allocator-aware API.
Context
This is the main replacement for the allocator API portion of rust-osdev#306. It should be rebuilt from clean
upstream/mainafter the smaller platform/global-lock PRs are separated.Maintainers are open to allocator support, but rust-osdev#306 is not reviewable as a single branch.
Scope
Rebuild allocator support for AML interpreter storage with a clean, reviewable history.
Likely implementation areas:
*_inconstructors where an allocator is needed.Globalas the default allocator.newconstructors where possible, withnew_infor custom allocators.Constraints
upstream/main, not from PR Make AML interpreter storage allocator-api compatible rust-osdev/acpi#306 history.rustfmt.toml.Suggested commit structure
aml: add allocator parameter to owned object storageaml: thread allocator through namespace storageaml: add Global-default constructorsaml: update test tools for allocator-aware interpreterAdjust as needed, but each commit should be reviewable on its own and explain the rationale.
Acceptance criteria
Interpreter::newremains available forGlobal.Interpreter::new_inor equivalent exists for custom allocators.