DragonFly BSD
DragonFly kernel List (threaded) for 2004-07
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: syscall-msg emulation layer help


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sat, 17 Jul 2004 16:28:17 -0700 (PDT)

:>     The general idea is to have a kernel-managed 'emulation layer' space
:>     that is up in kernel memory and managed by the kernel but is also
:>     read/exec from userland.
:yeah, but how can userspace access to kernelmemory without calling 
:interrupts? messaging interface is kernel related only, isn't it?
:>     'Newer' programs would be aware of this space and be able to call into
:>     it directly.  So in the sense of DFly-native programs, the emulation
:>     layer would act more like a shared library (though in reality it would
:>     not be).
:> 
:i got it, but can you tell me some more about not-native programs? 
:should the emulation layer provide for translate int0x80 requests into 
:syscall-msgs style? it's a real fogged point in my head :(
:>     Since the emulation space would be using the messaging interface, it
:>     would be thread-safe.
:that's great
:
:Thanks in advance!

    There is a separate syscall messaging entry into the kernel.  The idea
    is that the intermediate layer will convert the call to a message
    and dispatch via the syscall messaging entry point to the kernel.
    Right now the kernel is processing normal syscalls and doing
    the conversion itself.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]