| ▲ | Surac 6 hours ago | ||||||||||||||||||||||||||||||||||
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 | |||||||||||||||||||||||||||||||||||
| ▲ | asimovDev 3 hours ago | parent | next [-] | ||||||||||||||||||||||||||||||||||
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. | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
| ▲ | cakehonolulu 3 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||
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. | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||