New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow PCI Config space parsing to handle types #28

Merged
merged 1 commit into from Mar 1, 2018

Conversation

Projects
None yet
2 participants
@dlrobertson
Copy link
Member

dlrobertson commented Feb 26, 2018

  • Update the PCI config space parsing to be able to handle multiple
    header types.
  • Use a trait to abstract out reading from the config space in order to
    allow testing/fuzzing of the parser.

I'd like to get some feedback on the general idea/approach in the
meantime. Originally this started when I started working on a driver
for virtio, when I realized we didn't parse out the capability structures.

@dlrobertson dlrobertson changed the title [WIP] Allow PCI Config space parsing to handle types Allow PCI Config space parsing to handle types Feb 27, 2018

@dlrobertson dlrobertson force-pushed the dlrobertson:update_pci_parsing branch from f710c3d to 77a5535 Feb 27, 2018

Allow PCI Config space parsing to handle types
 - Update the PCI config space parsing to be able to handle multiple
   types.
 - Use a trait to abstract out reading from the config space in order to
   allow testing/fuzzing of the parser.

@dlrobertson dlrobertson force-pushed the dlrobertson:update_pci_parsing branch from 77a5535 to 4d34919 Feb 27, 2018

@jackpot51 jackpot51 merged commit 452c586 into redox-os:master Mar 1, 2018

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