5 Commits

Author SHA1 Message Date
SFG545 26e2527492 build: support selecting enabled utils in Meson
Add a new Meson array option, utils, to allow building only selected applets while keeping the default as all.

Gate source inclusion, dependencies, symlink/manpage/script install steps, and test registration by enabled util set, and make applet dispatch in src/main.c compile-time conditional via generated config defines.

Document selective build usage in README.
2026-04-18 06:34:18 -05:00
SFG545 e1b8aa1594 Bump version to 0.2.0 in meson.build 2026-03-22 19:04:59 -05:00
SFG545 0db2ec12c5 Add PCI device enumeration and configuration utilities
This commit introduces a new PCI library and associated tools for inspecting and modifying PCI configuration space via Linux sysfs. The following changes were made:

- Implemented `pci.c` and `pci.h` for PCI device management, including enumeration, attribute reading, and configuration space access.
- Added `setpci` command-line utility for reading and writing PCI configuration registers, with support for filtering devices by vendor, device, and slot.
- Created manual pages for `setpci` to document its usage and options.
- Developed test scripts for both `lspci` and `setpci` to ensure functionality and correctness of the new features.

These additions enhance the ability to interact with PCI devices, providing a robust framework for device management and configuration.
2026-03-22 19:04:16 -05:00
SFG545 e2451c3952 Fix symlink installation paths for applets and script aliases in meson.build 2026-03-16 23:47:59 -05:00
SFG545 696cb27313 Import VX multicall utility and applets 2026-03-16 22:06:27 -05:00