[haiku] Ang: Re: GSoC 2009 -- some more TODO, requesting help.

  • From: "holmqvist.fredrik@xxxxxxxxxxxx" <holmqvist.fredrik@xxxxxxxxxxxx>
  • To: <haiku@xxxxxxxxxxxxx>
  • Date: Tue, 10 Mar 2009 16:14:32 +0100 (CET)

>One of the problems is that both modules have the same module name and the 
>files consequently need to have the same path. This could probably be solved 
>by using a symlink and setting it in the boot loader, but the boot loader 
>doesn't have FS write support. Since the bus manager is required for booting, 
>it is already loaded by the boot loader itself -- there's a directory with 
>symlinks to the modules required for booting, which are all loaded by the 
>boot loader -- so one would have to change the symlink even before, or at 
>least load the right module and leave the symlink change to the kernel. Not 
>particularly beautiful in either case.
>
>As an alternative a reparse point could be used. That would require adding 
>support for those in the kernel and the boot loader first, though.
>
>CU, Ingo
>

Why not just create a unified driver interface, with a kernel config option to 
select code path?
Or will it force the driver to have if's or a wrapper for every call to the 
driver?
If one of them will be removed eventually it's just temporary.
 
/Fredrik Holmqvist, TQH

Other related posts:

  • » [haiku] Ang: Re: GSoC 2009 -- some more TODO, requesting help. - holmqvist.fredrik@xxxxxxxxxxxx