Skip to content

Use enum-class for PCI configuration registers #2333

@MagnusS

Description

@MagnusS

They are currently defines in https://github.com/includeos/IncludeOS/blob/main/api/hw/pci_device.hpp#L25, but it would be better to move them into an enum class for type safety.

See discussion in https://github.com/includeos/IncludeOS/pull/2328/files#r2448877338

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions