summaryrefslogtreecommitdiff
path: root/libmachdev
AgeCommit message (Collapse)Author
2020-07-25libmachdev: simplify source codeSamuel Thibault
* libmachdev/trivfs_server.c (machdev_is_master_device): Simplify source code.
2020-07-25libmachdev: Implement S_i386_io_perm_createDamien Zammit
Now that machdev redirects the device master port, it has to implement the i386 permission RPCs on it. Message-Id: <20200725011847.186969-2-damien@zamaudio.com> Message-Id: <20200725011847.186969-3-damien@zamaudio.com>
2020-07-25libmachdev: Add resume for bootstrap serverDamien Zammit
machdev users can now pass along a port to the next translator in the bootstrap chain (bootstrap_resume_task), that they'll get from their command line set by the bootloader. machdev will then call task_resume on it as appropriate. It will also have the opportunity to get fsys_getpriv calls, and thus redirect the device master port, thus having the opportunity to expose its devices on the device master port, as if they were handled by the kernel. Message-Id: <20200725011847.186969-1-damien@zamaudio.com>
2020-07-24libmachdev: Remove deviceUser, this lib is a deviceServerDamien Zammit
libmachuser provides what we need Message-Id: <20200724132039.110421-1-damien@zamaudio.com>
2020-07-18libmachdev: Add new RPC server stubs for ds_device_intr_*Damien Zammit
2020-03-30machdev: Expose machdev_emul_device structureSamuel Thibault
* libmachdev/machdev-dev_hdr.h (DEVICE_NULL): Remove macro. (emul_device): Rename structure to machdev_emul_device. (emul_device_t): Rename type to machdev_emul_device_t. (mach_device, mach_device_t, MACH_DEVICE_NULL): Move to... * libmachdev/mach_device.h: ... new file. * libmachdev/ds_routines.c: Include "mach_device.h". * libmachdev/machdev-device_emul.h: Include <mach/notify.h>, <device/device_types.h>, <device/net_status.h>, <errno.h> * libmachdev/machdev.h: Include "machdev_hdr.h". * libmachdev/mig-decls.h: Include "mach_device.h". * libmachdev/Makefile (LCLHDRS): Add mach_device.h. (installhdrs): Add machdev-dev_hdr.h.
2020-03-29libmachdev: Add common machdevZheng Da
* libmachdev: New directory.