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

VX

VX is a BSD-oriented multicall utility for Linux.

It bundles a growing set of FreeBSD-derived userland tools into a single vx binary, with applets selected by argv[0] or by subcommand.

Included applets

  • patch
  • diff, cmp, diff3, sdiff
  • which
  • gzip, gunzip, zcat, gzcat, uncompress
  • grep, egrep, fgrep, rgrep
  • find
  • xargs

Build

VX uses Meson.

meson setup builddir
meson compile -C builddir
meson test -C builddir

Run

You can invoke applets either through the multicall binary:

./builddir/vx grep pattern file
./builddir/vx find . -name '*.c'

or via installed symlinks such as grep, find, or patch.

Notes

  • The project force-includes src/compat-headers/compat.h to provide Linux compatibility shims for BSD userland code.
  • Some behavior is intentionally BSD-flavored, even where GNU tools differ.
S
Description
No description provided
Readme MIT 357 KiB
Languages
C 72%
Roff 14.9%
Shell 9.4%
Yacc 2.6%
Meson 1%
Other 0.1%