Opened 18 years ago
Closed 13 years ago
#1109 closed enhancement (invalid)
Kernel module to enable Linux drivers in Haiku
Reported by: | jonas.kirilla | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | Unscheduled |
Component: | System/Kernel | Version: | |
Keywords: | Cc: | kaoutsis | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
Source-level wrappers to make Linux drivers build and run.
Building Linux Device Drivers on FreeBSD: http://info.iet.unipi.it/~luigi/FreeBSD/linux_bsd_kld.html
Attachments (1)
Change History (8)
comment:1 by , 18 years ago
Milestone: | R1 → Unscheduled |
---|
comment:2 by , 18 years ago
Cc: | added |
---|
by , 17 years ago
Attachment: | libuks_and_jfs.diff.zip added |
---|
comment:3 by , 17 years ago
follow-up: 5 comment:4 by , 17 years ago
Of course it's possible, it's just not at all feasible. First of all, a better source of drivers would be FreeBSD - the license is just more appealing. Also, in my experience, the code is often cleaner and better written (although often packed with less features).
The best reason, however, is what say in your comments: Linux doesn't have a stable kernel API at all. Such an effort would just be a waste of time IMO.
comment:5 by , 17 years ago
Replying to axeld:
...Such an effort would just be a waste of time IMO.
Ok, thanks for looking into this; i agree. I am relieved now :-)
comment:6 by , 15 years ago
Owner: | changed from | to
---|---|
Version: | R1/pre-alpha1 |
comment:7 by , 13 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Some comments and questions about libuks_and_jfs.diff.zip
the questions: a) Is it possible this kind of implementation? (making a wrapper kernel library in order to keep the driver sources untouched) And if so what rules should someone follow? b) Does it really worth the effort?
the comments: a) There are a huge number of defines, macros, and inline assembly that make the whole effort a bit difficult :-D b) there are several changes from one version of the linux kernel to another, making the effort, a moving target.