logoalt Hacker News

Suracyesterday at 10:13 AM2 repliesview on HN

that is a huge win if you are developing drivers or even real hardware. it allows to iterate on protokols just with the press of a button


Replies

cakehonoluluyesterday at 12:32 PM

Indeed, the project has gone through a few iterations already (It was first a monolithic kernel module that required a secondary module to call into the API and whatnot). I've went towards a more userspace-friendly usage mainly so that you can iterate your changes much, much faster. Creating the synthetic PCI device is as easy as opening the userspace shim you program, it'll then appear on your bus. When you want to test new changes, you close the shim normally (Effectively removing it from the bus) and you can do this process as many times as needed.

show 1 reply
asimovDevyesterday at 12:48 PM

Could you explain in layman terms how it would help with developing PCIE hardware / drivers? I can immediately imagine something like writing more robust unit tests and maybe developing barebones drivers before you get access to actual hardware, but that's where my imagination runs out of fuel.

show 1 reply