Skip to content

Add configurable 64-bit register access - #178

Open
ArthurHeymans wants to merge 1 commit into
rust-osdev:mainfrom
ArthurHeymans:configurable-64-bit-mmio
Open

Add configurable 64-bit register access#178
ArthurHeymans wants to merge 1 commit into
rust-osdev:mainfrom
ArthurHeymans:configurable-64-bit-mmio

Conversation

@ArthurHeymans

Copy link
Copy Markdown

This adds an access policy for 64-bit xHCI registers. Callers can keep native 64-bit MMIO or choose low-high or high-low 32-bit accesses for platforms and controllers that require split operations.

The existing constructors still use native access, so current callers do not need to change. The new accessor is wired into the operational and interrupter registers, with coverage for all three access modes.

  • Changelog updated

Allow callers to select native, low-high, or high-low access for xHCI
64-bit MMIO registers. Keep native access as the default for existing
users while making split access available for platforms and controllers
that cannot accept native 64-bit MMIO operations.
@ArthurHeymans

ArthurHeymans commented Aug 5, 2026

Copy link
Copy Markdown
Author

This PR is part of a stack of 5 bookmarks:

  1. main
  2. configurable-64-bit-mmio ← this PR
  3. fix-usb-legacy-offset
  4. fix-doorbell-count
  5. w1s-zero-setters
  6. per-register-port-access

Created with jj-stack

@ArthurHeymans

Copy link
Copy Markdown
Author

uh... I tried to make a stacked PR, which github supports as of late with some additional stuff but failed... Sorry for the noise.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant