Skip to content

pci: add pci config space read/write helpers - #188

Merged
bjoernd merged 3 commits into
KernelTestFramework:mainlinefrom
wipawel:pci_cfg
Aug 6, 2021
Merged

pci: add pci config space read/write helpers#188
bjoernd merged 3 commits into
KernelTestFramework:mainlinefrom
wipawel:pci_cfg

Conversation

@wipawel

@wipawel wipawel commented Aug 6, 2021

Copy link
Copy Markdown
Contributor

Add legacy (IO ports based) access mechanism to PCI configuration space.
The helpers allow to read/write 8-bit, 16-bit and 32-bit values.
Separate helper pci_cfg_set_addr() is used for address selection.

Signed-off-by: Pawel Wieczorkiewicz wipawel@amazon.de

Part of: #87, #179

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Add legacy (IO ports based) access mechanism to PCI configuration space.
The helpers allow to read/write 8-bit, 16-bit and 32-bit values.
Separate helper pci_cfg_set_addr() is used for address selection.

Signed-off-by: Pawel Wieczorkiewicz <wipawel@amazon.de>
@wipawel wipawel added feature New feature or request devel Development effort Priority: 2 Very important feature labels Aug 6, 2021
@wipawel wipawel added this to the v0.4.0 milestone Aug 6, 2021
@bjoernd
bjoernd merged commit 1302e45 into KernelTestFramework:mainline Aug 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devel Development effort feature New feature or request Priority: 2 Very important feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants