issues
search
skni-kod
/
MicrOS
32-bit operating system with kernel written in C. Created by SKNI "KOD".
GNU General Public License v3.0
56
stars
9
forks
source link
Fixed PCI device listing.
#132
Closed
MinusPL
closed
1 year ago
MinusPL
commented
1 year ago
Fixes #129 Changes:
Devices now have bus, device and function IDs
Redesigned functions to read and write to PCI device configuration space
Made sure devices return proper values from PCI config space.
Added missing 192 bytes of device config space as union made of bytes, words and dwords. This region is device dependant.
Limited reading of PCI config space to 64 bytes for PCI Bridges.
Removed pci_in_data structure and replace it by pci_cmd_address_reg, which follows PCI specification naming.
Added documentation for all PCI related functions.
Fixes #129 Changes: