aboutsummaryrefslogtreecommitdiff
path: root/libmachdev/machdev.h
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2020-11-14 12:19:10 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-11-14 12:19:10 +0100
commitf366c5540592871ac05ea5b078e40dc581a7b2ec (patch)
tree523225a86d70b8539f7320bfaa3f56e58bb62cc0 /libmachdev/machdev.h
parentd0b4ebca3ac6aab7b5aff7d9cd604984169a796b (diff)
downloadhurd-f366c5540592871ac05ea5b078e40dc581a7b2ec.tar.gz
hurd-f366c5540592871ac05ea5b078e40dc581a7b2ec.tar.bz2
hurd-f366c5540592871ac05ea5b078e40dc581a7b2ec.zip
libmachdev: Support installing translator in the FS
*/libmachdev/trivfs_server.c (machdev_ctl): Rename to control_port. (trivfs_S_fsys_init): Fix accordingly. (control): New variable. (bootstrapped, underlying, devnode): New variables. (install_as_translator): New function. (trivfs_S_fsys_init): When bootstrapping, call install_as_translator. (machdev_trivfs_init): Create one port of the control class. (trivfs_S_fsys_getpriv): Use ports_get_send_right on the control port instead of creating another one. (resume_bootstrap_server): Use ports_get_send_right on the control port instead of creating another one. (machdev_trivfs_init): When bootstrapping, Use our control port as fsys.
Diffstat (limited to 'libmachdev/machdev.h')
0 files changed, 0 insertions, 0 deletions