Subject: Re: CVS commit: src/sys/compat/darwin
To: Christos Zoulas <christos@NetBSD.org>
From: Andrew Brown <atatat@atatdot.net>
List: current-users
Date: 12/05/2003 12:40:14
>Log Message:
>Make this compile.

thanks.

>- does darwin_sysctl() need to be gc'ed?

no.  darwin emulation needs its own syscall entry point.

>- does the darwin root node need to be in struct emul?

no, because it's not being overlaid onto anything.  the struct emul
pointer is for overlaid sysctl trees, such as for netbsd32 emulation,
where the main tree suffices for just about everything except those
things that need 64<->32 bit conversion.

>- does struct emul need a root sysctl node?

yes, because those are the only nodes that are actually declared.  all
other nodes are dynamically added to trees.

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
werdna@squooshy.com       * "information is power -- share the wealth."