diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-09-16 17:57:59 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2012-09-16 17:57:59 +0200 |
commit | 6db3a4601533dcdc97a77bf2aaa3c964b026070c (patch) | |
tree | 603cb081ba876fd3a8101ac31bf74281608532fa /rpc.mdwn | |
parent | bc59282d66189f60a1c6ee41e6243bd42eb51569 (diff) | |
download | web-6db3a4601533dcdc97a77bf2aaa3c964b026070c.tar.gz web-6db3a4601533dcdc97a77bf2aaa3c964b026070c.tar.bz2 web-6db3a4601533dcdc97a77bf2aaa3c964b026070c.zip |
explain that mig uses .defs to generate stubs
Diffstat (limited to 'rpc.mdwn')
-rw-r--r-- | rpc.mdwn | 8 |
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 |