summaryrefslogtreecommitdiff
path: root/libmachdev/mig-mutate.h
AgeCommit message (Collapse)Author
2014-12-07sync dde stuffJustus Winter
2014-04-11libmachdev: fix receiver lookupsJustus Winter
Previously, the device definitions were filtered using sed to replace the device_t type with mach_port_send_t to make the device argument of device_open polymorphic. Rather than doing that, which makes it impossible to use translation functions, the definition of device_open has been amended. * libmachdev/Makefile: Remove ourdevice hack that changes device_t to mach_port_send_t. * libmachdev/device.defs (device_open): Make the device parameter polymorphic like it was done in gnumach. * libmachdev/ds_routines.c (port_bucket): Drop static qualifier so that it can be used in the intrans function. (dev_class): Likewise. (ds_*): Fix all device_t receiver lookups. * libmachdev/mig-decls.h: New file. * libmachdev/mig-mutate.h: Add mutators.
2014-04-07libports: fix notify_port_t receiver lookupsJustus Winter
This is a patch that in conjunction with e9687ec4ff525ae4a88314ba4ae97da770bd012f fixes the receiver lookups for the notify_port_t type. * devnode/Makefile (MIGSFLAGS): Use mig-mutate.h. * eth-filter/Makefile: Likewise. * eth-multiplexer/Makefile: Likewise. * libmachdev/Makefile: Likewise. * devnode/mig-mutate.h: New file. * eth-filter/mig-mutate.h: Likewise. * eth-multiplexer/mig-mutate.h: Likewise. * libmachdev/mig-mutate.h: Likewise. * devnode/devnode.c: Adjust accordingly. * eth-filter/filter.c: Likewise. * eth-multiplexer/notify_impl.c: Likewise. * libmachdev/trivfs_server.c: Likewise.