Posted: Thu Oct 14, 2004 11:01 pm Post subject: [Asterisk-bsd] Zaptel on BSD -- ready for Darwin?
Benjamin on Asterisk Mailing Lists wrote:
Quote:
Are those BSD Zaptel drivers at a stage where they could be moved to
MacOSX/Darwin yet?
How similar is the BSD kernel architecture the OS/X, since it is not
Posted: Fri Oct 15, 2004 8:12 am Post subject: [Asterisk-bsd] Zaptel on BSD -- ready for Darwin?
On Fri, 15 Oct 2004 09:01:55 +0200, Olle E. Johansson <oej@edvina.net> wrote:
Quote:
How similar is the BSD kernel architecture the OS/X, since it is not
using a FreeBSD kernel as far as I know?
Correct. Darwin is largely based on FreeBSD, but the kernel is Mach 3.0.
Anyway, I am not sure that the Zaptel drivers belong into the kernel.
This may sound outlandish to developers used to monolithic kernels,
but on micro kernel based systems the general aim is to keep things
out of the kernel, even device drivers.
On Darwin/OSX this is achieved through a framework called the IO Kit.
In a nutshell, most device drivers are applications which link to the
IO Kit. They are not part of the kernel in the sense of how the term
kernel is used in OSX.
Instead OSX terminology uses the term Kernel Environment to refer to
what you would think of as the kernel in monolithic kernel based
systems. Part of the Kernel Environment is the FreeBSD Kernel API.
see this diagram for a block diagram of the Kernel Environment:
I would think that the FreeBSD Kernel API is there to allow the
porting of FreeBSD kernel modules to OSX with minimal effort. Then
again, I don't know much about kernel programming, so I might be
wrong.
In any event, the general information on OSX kernel architecture is here ...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum