Skip to content

Skip unsupported _CRS resource descriptors#316

Open
ArthurHeymans wants to merge 2 commits into
rust-osdev:mainfrom
ArthurHeymans:UnsupportedCsr
Open

Skip unsupported _CRS resource descriptors#316
ArthurHeymans wants to merge 2 commits into
rust-osdev:mainfrom
ArthurHeymans:UnsupportedCsr

Conversation

@ArthurHeymans

Copy link
Copy Markdown

Skip unsupported _CRS resource descriptors instead of panicking. Callers can still consume the MMIO/IRQ descriptors they understand from mixed resource buffers containing GPIO or GenericSerialBus descriptors.

Allow DerefOf to read directly from BufferField objects. This matches AML
patterns emitted by firmware that creates named fields over buffers and then
uses DerefOf(field).
Skip unsupported _CRS resource descriptors instead of panicking. Callers can
still consume the MMIO/IRQ descriptors they understand from mixed resource
buffers containing GPIO or GenericSerialBus descriptors.
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