martinpitt / umockdev

Mock hardware devices for creating unit tests and bug reporting

Home Page:https://launchpad.net/umockdev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

(Question) Redox OS support

hardBSDk opened this issue · comments

Your project is amazing!!

Do you know if it's technically possible to implement something similar on Redox OS ?

Probably your project is Linux-specific, but can you give me the steps to replicate this on Redox OS?

I'm afraid I have absolutely no idea about RedoxOS -- /proc and /dev are still somewhat covered by POSIX, but /sys is Linux specific I'm afraid. I can't give you detailled steps, other than: learn how Redox OS manages hardware devices (the moral equivalents of /sys, udev, and kernel uevents), how applications use them (API for enumeration and changes), and how to write a preload library to simulate all of that.

Perhaps RedoxOS uses the same APIs as Linux, then there's a chance that umockdev will actually work. But otherwise this is an entirely new project.

@martinpitt Thanks a lot for your answer!