diff options
author | Joan Lledó <jlledom@member.fsf.org> | 2021-12-19 12:26:47 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2021-12-25 21:32:04 +0100 |
commit | 0fb7bdd65cb934e7d854aa333fec8f0e0cdf8b20 (patch) | |
tree | abedd788f25680e2688563713c6709e3ec002a99 /pci-arbiter/Makefile | |
parent | 6f68c39ee5f08410936ba7e8cc3a15f120cec05c (diff) | |
download | hurd-0fb7bdd65cb934e7d854aa333fec8f0e0cdf8b20.tar.gz hurd-0fb7bdd65cb934e7d854aa333fec8f0e0cdf8b20.tar.bz2 hurd-0fb7bdd65cb934e7d854aa333fec8f0e0cdf8b20.zip |
pci-arbiter: Implement memory mapping over region files
* pci-arbiter/Makefile:
* Add device_map.c to sources
* pci-arbiter/device_map.c:
* pci-arbiter/device_map.h:
* New module for device mapping
* Relies on libpciaccess mapping methods
* pci-arbiter/func_files.c:
* io_region_file(): Use the new device mapping module
* pci-arbiter/netfs_impl.c:
* Implements netfs_get_filemap():
* Uses the device mapping module to map the region to the
arbiter space
* Calls the kernel RPC vm_region_create_proxy() to obtain the
memory object proxy
* Only region files are mapped for now
Message-Id: <20211219112647.11512-4-jlledom@mailfence.com>
Diffstat (limited to 'pci-arbiter/Makefile')
-rw-r--r-- | pci-arbiter/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pci-arbiter/Makefile b/pci-arbiter/Makefile index d3d205ec..821c3ca9 100644 --- a/pci-arbiter/Makefile +++ b/pci-arbiter/Makefile @@ -22,7 +22,7 @@ PORTDIR = $(srcdir)/port SRCS = main.c pci-ops.c netfs_impl.c \ pcifs.c ncache.c options.c func_files.c \ - pciServer.c startup_notifyServer.c + device_map.c pciServer.c startup_notifyServer.c OBJS = $(SRCS:.c=.o) $(MIGSTUBS) HURDLIBS= fshelp ports shouldbeinlibc netfs iohelp ihash trivfs machdev |