Skip to content

Add Support for Multiple IRQs in IrqDescriptor - #251

Open
newcomb-luke wants to merge 1 commit into
rust-osdev:mainfrom
newcomb-luke:feat/multiple-irqs-in-descriptor
Open

Add Support for Multiple IRQs in IrqDescriptor#251
newcomb-luke wants to merge 1 commit into
rust-osdev:mainfrom
newcomb-luke:feat/multiple-irqs-in-descriptor

Conversation

@newcomb-luke

Copy link
Copy Markdown

Simply makes IRQs an enum which can contain a single interrupt or multiple. This helps with keeping most of previous compatibility with minimal changes. This would still be a breaking API change though.

Related to and closes #250

@martin-hughes

Copy link
Copy Markdown
Contributor

Belated thanks for this! To my eye this looks like a good update to have - albeit Isaac has changed the crate layout a bit since you opened this PR.

@IsaacWoods do you remember why this PR was left on the pile - was it just that you were too busy with v6.0.0?

@IsaacWoods

Copy link
Copy Markdown
Member

@IsaacWoods do you remember why this PR was left on the pile - was it just that you were too busy with v6.0.0?

Quite possibly! Apologies if so.

Now that I'm looking at it, one improvement could be for Irq to implement Iterator - either yielding a single item or all of them from the Vec?

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.

AML: Does not support multiple IRQ numbers in IrqDescriptor

3 participants