|author||Samuel Thibault <firstname.lastname@example.org>||2012-09-16 17:57:59 +0200|
|committer||Samuel Thibault <email@example.com>||2012-09-16 17:57:59 +0200|
explain that mig uses .defs to generate stubs
Diffstat (limited to 'rpc.mdwn')
1 files changed, 4 insertions, 4 deletions
@@ -30,10 +30,10 @@ Open is a bit complex because it finds its way to the eventual translator, but
for a mere file on the root filesystem, what happens boils down to calling
the dir_lookup function against the root filesystem. This is an RPC from the fs
interface (see fs.defs). The implementation of the function is thus actually
-generated using mig during the glibc build in RPC_dir_lookup.c. This generated
-function essentially encodes the parameters into a data buffer, and makes a
-mach_msg system call to send the buffer to the root filesystem port, with the
-dir_lookup RPC id.
+generated from the fs.defs file using mig during the glibc build in RPC_dir_lookup.c.
+This generated function essentially encodes the parameters into
+a data buffer, and makes a mach_msg system call to send the buffer to the root
+filesystem port, with the dir_lookup RPC id.
The root filesystem, for instance ext2fs, was sitting in its main
loop (libdiskfs/init-first.c, master_thread_function()), which calls