Skip to content

Conversation

bjorn3
Copy link
Contributor

@bjorn3 bjorn3 commented Jun 9, 2024

It isn't used anywhere and pci_types can implement it itself if it needs to by checking if the vendor and device id fields are both 0xFFFF.

Fixes #14

It isn't used anywhere and pci_types can implement it itself if it needs
to by checking if the vendor and device id fields are both 0xFFFF.

Fixes rust-osdev#14
@bjorn3
Copy link
Contributor Author

bjorn3 commented Jun 9, 2024

This is a breaking change, so it will have to merged as part of pci_types 0.10 or later.

@IsaacWoods
Copy link
Member

Yeah, when I extracted this library from my kernel I think this existed because I was worried about a rogue PCI enumeration routine causing an out-of-bounds access in the MCFG or something, but this seems like a sensible change now.

I'm planning to collect all the breaking changes together and release a new version with them all.

@IsaacWoods IsaacWoods merged commit f02cac2 into rust-osdev:main Jun 15, 2024
@bjorn3 bjorn3 deleted the remove_function_exists branch June 15, 2024 04:46
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.

function_exists method on ConfigRegionAccess is unused
2 participants