On Sat, Dec 21, 2013 at 11:29:34PM +0100, Marin Ramesa wrote: > On 21.12.2013 23:20:43, Richard Braun wrote: > > How about adding everything necessary to actually test it from > > userspace ? > > Sure, what needs to be added? I don't have the conditions to test this. > I earlier wrote some proof-of-concept stuff that might be used as a > test, but I don't know how.
Learn about MiG and how to write RPCs. There is a lot you can find on the wiki and through search engines. If possible, don't create an ioctl-style of call, with many possible behaviours through the same entry point, but make several distinct RPCs instead, then add them to include/mach/gnumach.defs. Look at how it's done for existing RPCs, but make sure you read and understand the documentation about MiG and Mach IPC if you want to work on such low-level stuff. -- Richard Braun