[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NetBSD drivers on HURD?
From: |
Jan Kratochvil |
Subject: |
Re: NetBSD drivers on HURD? |
Date: |
Fri, 29 Jul 2005 10:47:02 +0900 |
User-agent: |
Mutt/1.4.2.1i |
Hi,
On Tue, 19 Jul 2005 01:58:43 +0900, Lee Braiden wrote:
...
> It's a fairly obvious idea, and I'm sure it would have already been done if
> it
> was easy, but what /is/ the thinking on NetBSD drivers in (L4-)HURD?
I would consider more some (HURD-friendly) generic drivers layer and several
adapting layers on top of it for specific OS drivers.
[HURD]
| generic drivers API
/---------------------+------------------------\
| | |
[Linux-kernel-iface] [NetBSD-kernel-iface] [MS-Windows-kernel-iface]
| Linux API | NetBSD API | MS-Windows ABI
[sata_via.c] [???.c] [ntfs.sys]
I wrote such Linux-kernel-filesystem-API <-> MS-Windows-kernel-filesystem-ABI
before
http://www.jankratochvil.net/project/captive/
and the borken monolithic Linux kernel just avoid any reasonable drivers
adaptation, compatibility and security safety layers there.
Sure there should be some proper IDL separation there, maybe like
modules: [HURD modules]
| | | IDL
module: [Linux-kernel-iface layer] ; maybe not needed
| IDL
module: [sata_via.c + iface-stub]
Sorry for design flaws I am not much aware of L4/HURD details.
Regards,
Lace
Re: Importing LibC Functionality, Matthieu Lemerre, 2005/07/18