Skip to content

PR #306 split: publish AML global-lock mutex fix #2

Description

@SnowCheetos

Context

This tracks the second small replacement PR split out from rust-osdev#306, addressing rust-osdev#305.

The global-lock bugfix is useful independently and should not be bundled with allocator API work.

Scope

Publish the existing local branch:

  • codex/pr306-global-lock
  • commit da1e0ec (aml: balance global lock mutex handling)

Included changes:

  • Return early from acquire_global_lock and release_global_lock when no FACS is present.
  • Re-acquire the AML-side global-lock mutex before retrying after firmware contention.
  • Release the AML-side global-lock mutex in release_global_lock.
  • Add tests/global_lock.rs to assert handler acquire/release calls balance.

Out of scope

  • Allocator API work.
  • Platform allocator fixes.
  • Version bumps.
  • Formatting-only churn.

Acceptance criteria

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions